time="2024-10-16T09:53:42Z" level=warning msg="/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/integration-test/docker-compose.yaml: `version` is obsolete" Container integration-test-authorization-1 Creating Container integration-test-federation-1 Creating Container integration-test-gateway-1 Creating Container integration-test-forwarding-1 Creating Container integration-test-authentication-1 Creating Container integration-test-device-1 Creating Container integration-test-experiment-1 Creating Container integration-test-federation-1 Created Container integration-test-experiment-1 Created Container integration-test-gateway-1 Created Container integration-test-forwarding-1 Created Container integration-test-device-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"} federation-1 | {"level":"info","log_level":"info","message":"Logging initialized","transports":"stdout"} authorization-1 | {"level":"info","log_level":"info","message":"Logging initialized","transports":"stdout"} federation-1 | {"level":"info","message":"Federation Service started successfully"} authentication-1 | {"level":"info","log_level":"info","message":"Logging initialized","transports":"stdout"} experiment-1 | {"level":"info","log_level":"info","message":"Logging initialized","transports":"stdout"} device-1 | {"level":"info","log_level":"info","message":"Logging initialized","transports":"stdout"} authorization-1 | {"addrs":["localhost:3011"],"diagnostic-addrs":[],"level":"info","msg":"Initializing server.","subsystem":"opa","time":"2024-10-16T09:54:21Z"} authorization-1 | {"client_addr":"127.0.0.1:43932","level":"info","msg":"Received request.","req_id":1,"req_method":"GET","req_path":"/","subsystem":"opa","time":"2024-10-16T09:54:21Z"} authorization-1 | {"client_addr":"127.0.0.1:43932","level":"info","msg":"Sent response.","req_id":1,"req_method":"GET","req_path":"/","resp_bytes":1424,"resp_duration":0.255691,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:21Z"} experiment-1 | {"level":"info","message":"Experiment Service started successfully"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"info","message":"๐Ÿงช experimental features enabled: []","subsystem":"openfga","timestamp":1729072461.919066} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"info","message":"using 'memory' storage engine","subsystem":"openfga","timestamp":1729072461.9191537} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"warn","message":"authentication is disabled","subsystem":"openfga","timestamp":1729072461.9191828} 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":1729072461.9192152} 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":1729072461.91924} 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":1729072461.9192934,"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":1729072461.9196928} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"info","message":"HTTP server listening on 'localhost:3013'...","subsystem":"openfga","timestamp":1729072461.9205725} 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:55646","raw_request":{"name":"crosslab"},"raw_response":{"created_at":"2024-10-16T09:54:21.947838848Z","id":"01JAABZY3VBAPRVYTR755XC266","name":"crosslab","updated_at":"2024-10-16T09:54:21.947838848Z"},"request_id":"67a33ec3-3337-46e4-9a8f-d79920d625d6","subsystem":"openfga","timestamp":1729072461.9479313} device-1 | {"level":"info","message":"Device Service started successfully"} 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:55646","raw_request":{"schema_version":"1.1","store_id":"01JAABZY3VBAPRVYTR755XC266","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_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":"01JAABZY566G349X2C87N79RK4"},"request_id":"7db03906-3511-463d-b7b3-d3194dbb0b6b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072461.9905226} authorization-1 | {"client_addr":"127.0.0.1:43932","level":"info","msg":"Received request.","req_id":2,"req_method":"PUT","req_path":"/v1/data/jwt_secret","subsystem":"opa","time":"2024-10-16T09:54:22Z"} authorization-1 | {"client_addr":"127.0.0.1:43932","level":"info","msg":"Sent response.","req_id":2,"req_method":"PUT","req_path":"/v1/data/jwt_secret","resp_bytes":0,"resp_duration":0.257183,"resp_status":204,"subsystem":"opa","time":"2024-10-16T09:54:22Z"} authorization-1 | {"level":"info","message":"Authorization Service started successfully"} authentication-1 | {"level":"info","message":"Authentication Service started successfully"} authorization-1 | {"current_version":"0.54.0","download_opa":"https://openpolicyagent.org/downloads/v0.69.0/opa_linux_amd64","latest_version":"0.69.0","level":"info","msg":"OPA is out of date.","release_notes":"https://github.com/open-policy-agent/opa/releases/tag/v0.69.0","subsystem":"opa","time":"2024-10-16T09:54:22Z"} gateway-1 | {"time_local":"16/Oct/2024:09:54:31 +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":"0c014a4f10d23601a20ef17aded7c20e"} authentication-1 | {"level":"info","message":"HEAD /auth/status 200 18ms","method":"HEAD","requestID":"0c014a4f10d23601a20ef17aded7c20e","responseTime":18,"status":200,"url":"/auth/status"} gateway-1 | {"time_local":"16/Oct/2024:09:54:31 +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":"0f1a45fbf9e0eb81255f304fab32455b"} device-1 | {"level":"info","message":"HEAD /device/status 200 18ms","method":"HEAD","requestID":"a3e13ec0-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/device/status"} gateway-1 | {"time_local":"16/Oct/2024:09:54:31 +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.016","http_referrer":"","http_user_agent":"curl/7.81.0","requestID":"c0cc752703ca1ad417b93b9c159b907a"} authorization-1 | {"level":"info","message":"HEAD /authorization/status 200 10ms","method":"HEAD","requestID":"c0cc752703ca1ad417b93b9c159b907a","responseTime":10,"status":200,"url":"/authorization/status"} gateway-1 | {"time_local":"16/Oct/2024:09:54:31 +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.011","http_referrer":"","http_user_agent":"curl/7.81.0","requestID":"d34f0bba882b19bd529bda4e9d4858f2"} federation-1 | {"level":"info","message":"HEAD /federation/status 200 7ms","method":"HEAD","requestID":"a3e8dfe0-8ba4-11ef-99ba-bb3f333c279f","responseTime":7,"status":200,"url":"/federation/status"} gateway-1 | {"time_local":"16/Oct/2024:09:54:31 +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.019","http_referrer":"","http_user_agent":"curl/7.81.0","requestID":"b09bbac9b718cce2964e19c7508def03"} experiment-1 | {"level":"info","message":"HEAD /experiment/status 200 11ms","method":"HEAD","requestID":"a3ec1430-8ba4-11ef-a43c-c5a76dd5d47d","responseTime":11,"status":200,"url":"/experiment/status"} gateway-1 | {"time_local":"16/Oct/2024:09:54:31 +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":"8750d4c7b84bed3d68fe1ee508cb9259"} forwarding-1 | {"level":"info","message":"HEAD /forwarding/status 200 9ms","method":"HEAD","requestID":"a3ef6f90-8ba4-11ef-a042-213954f0282b","responseTime":9,"status":200,"url":"/forwarding/status"} gateway-1 | {"time_local":"16/Oct/2024:09:54:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /login HTTP/1.1","status": "201","body_bytes_sent":"88","request_time":"0.161","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9c45e8a23e3e2dd2d863344160bcd82f"} authentication-1 | {"level":"info","message":"POST /login 201 150ms","method":"POST","requestID":"9c45e8a23e3e2dd2d863344160bcd82f","responseTime":150,"status":201,"url":"/login"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3NH0.dYICvkoZMSf73IPn2r_895nGTL2CQjbn6lGLzyHOD78","level":"info","message":"auth send jwt","requestID":"e71c365412fe38e03a30946244475c96"} authentication-1 | {"level":"info","message":"GET /auth 200 23ms","method":"GET","requestID":"e71c365412fe38e03a30946244475c96","responseTime":23,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"e71c365412fe38e03a30946244475c96"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":3,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:34Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":3,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":2.969984,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:34Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e71c365412fe38e03a30946244475c96","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072474,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3NH0.dYICvkoZMSf73IPn2r_895nGTL2CQjbn6lGLzyHOD78"} authorization-1 | {"level":"info","message":"POST /authorize 200 29ms","method":"POST","requestID":"e71c365412fe38e03a30946244475c96","responseTime":29,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F652541f0-5a9e-48f7-8aa2-9247dbd454fe","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"bb92558b-a4b8-4a43-b50b-1392e95d03b4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072474.3363853} authorization-1 | {"level":"info","message":"POST /relations/query 200 9ms","method":"POST","requestID":"e71c365412fe38e03a30946244475c96","responseTime":9,"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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b3f5f158-2621-4316-a7a0-44b570bbbf17","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072474.3531966} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"e71c365412fe38e03a30946244475c96","responseTime":12,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F652541f0-5a9e-48f7-8aa2-9247dbd454fe","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"4a51ecb9-2ba0-4bdc-85f2-4bc042b22ab6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072474.372347} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"39262c9f-8ce8-440d-8de1-ca0c8f32746e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072474.3731146} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"e71c365412fe38e03a30946244475c96","responseTime":23,"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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F652541f0-5a9e-48f7-8aa2-9247dbd454fe","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F652541f0-5a9e-48f7-8aa2-9247dbd454fe","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:34.372316332Z"}]},"request_id":"8f7916b3-da77-4319-8dd9-05999207aff2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072474.3815598} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"e71c365412fe38e03a30946244475c96","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"e71c365412fe38e03a30946244475c96"} gateway-1 | {"time_local":"16/Oct/2024:09:54: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.284","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e71c365412fe38e03a30946244475c96"} device-1 | {"level":"info","message":"POST /devices? 201 237ms","method":"POST","requestID":"e71c365412fe38e03a30946244475c96","responseTime":237,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3NH0.dYICvkoZMSf73IPn2r_895nGTL2CQjbn6lGLzyHOD78","level":"info","message":"auth send jwt","requestID":"955a44fb5743f0ab23b0ba6749e802e6"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"955a44fb5743f0ab23b0ba6749e802e6","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"955a44fb5743f0ab23b0ba6749e802e6"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":4,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:34Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":4,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.865691,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:34Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"955a44fb5743f0ab23b0ba6749e802e6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072474,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3NH0.dYICvkoZMSf73IPn2r_895nGTL2CQjbn6lGLzyHOD78"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"955a44fb5743f0ab23b0ba6749e802e6","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"e9dc46cd-06fd-473d-a132-b937a69ea8b5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072474.4409323} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"955a44fb5743f0ab23b0ba6749e802e6","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"92cc4eee-0efb-4c8b-b772-02c9889b33e2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072474.4574292} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"955a44fb5743f0ab23b0ba6749e802e6","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"740cd706-b6f0-43d0-b3ce-4b7d7d49aabd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072474.47664} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b6369439-fb6f-4c5a-a4f9-ace306bae1e8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072474.4771316} authorization-1 | {"level":"info","message":"POST /relations/update 200 25ms","method":"POST","requestID":"955a44fb5743f0ab23b0ba6749e802e6","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:34.476622673Z"}]},"request_id":"390c9ab0-1a19-4a04-b9b8-5b24f1c69236","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072474.4907248} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"955a44fb5743f0ab23b0ba6749e802e6","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"955a44fb5743f0ab23b0ba6749e802e6"} gateway-1 | {"time_local":"16/Oct/2024:09:54: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.089","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"955a44fb5743f0ab23b0ba6749e802e6"} device-1 | {"level":"info","message":"POST /devices? 201 84ms","method":"POST","requestID":"955a44fb5743f0ab23b0ba6749e802e6","responseTime":84,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"98d094845235f3177fd45f1e5a715ee0","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"98d094845235f3177fd45f1e5a715ee0","responseTime":3,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"107436cf736ba332849a4c3cf3ea4440","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"107436cf736ba332849a4c3cf3ea4440","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:54:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe/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":"98d094845235f3177fd45f1e5a715ee0"} device-1 | {"level":"info","message":"OPTIONS /devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe/websocket 200 3ms","method":"OPTIONS","requestID":"98d094845235f3177fd45f1e5a715ee0","responseTime":3,"status":200,"url":"/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:54:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.013","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"107436cf736ba332849a4c3cf3ea4440"} device-1 | {"level":"info","message":"OPTIONS /devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73/websocket 200 1ms","method":"OPTIONS","requestID":"107436cf736ba332849a4c3cf3ea4440","responseTime":1,"status":200,"url":"/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3N30.5s8rR5Qhlq4AKu1KvyvEGn35VXcCH9SYkw36uyFv_UY","level":"info","message":"auth send jwt","requestID":"75db00313f0cb7c130308c56360fb909"} authentication-1 | {"level":"info","message":"GET /auth 200 14ms","method":"GET","requestID":"75db00313f0cb7c130308c56360fb909","responseTime":14,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3N30.5s8rR5Qhlq4AKu1KvyvEGn35VXcCH9SYkw36uyFv_UY","level":"info","message":"auth send jwt","requestID":"a6a0f4a1fe4588c9a0c92a0ba572495c"} authentication-1 | {"level":"info","message":"GET /auth 200 12ms","method":"GET","requestID":"a6a0f4a1fe4588c9a0c92a0ba572495c","responseTime":12,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"75db00313f0cb7c130308c56360fb909"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"a6a0f4a1fe4588c9a0c92a0ba572495c"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":5,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":5,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.901349,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"75db00313f0cb7c130308c56360fb909","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072477,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3N30.5s8rR5Qhlq4AKu1KvyvEGn35VXcCH9SYkw36uyFv_UY"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"75db00313f0cb7c130308c56360fb909","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37350","level":"info","msg":"Received request.","req_id":6,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37350","level":"info","msg":"Sent response.","req_id":6,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.1735,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a6a0f4a1fe4588c9a0c92a0ba572495c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072477,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3N30.5s8rR5Qhlq4AKu1KvyvEGn35VXcCH9SYkw36uyFv_UY"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"a6a0f4a1fe4588c9a0c92a0ba572495c","responseTime":10,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"a6a0f4a1fe4588c9a0c92a0ba572495c"} gateway-1 | {"time_local":"16/Oct/2024:09:54:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.085","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"a6a0f4a1fe4588c9a0c92a0ba572495c"} device-1 | {"level":"info","message":"POST /devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73/websocket 200 61ms","method":"POST","requestID":"a6a0f4a1fe4588c9a0c92a0ba572495c","responseTime":61,"status":200,"url":"/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"75db00313f0cb7c130308c56360fb909"} gateway-1 | {"time_local":"16/Oct/2024:09:54:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.091","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"75db00313f0cb7c130308c56360fb909"} device-1 | {"level":"info","message":"POST /devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe/websocket 200 73ms","method":"POST","requestID":"75db00313f0cb7c130308c56360fb909","responseTime":73,"status":200,"url":"/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"8b45e99110d0f5a16a3efa8e45441d80","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"8b45e99110d0f5a16a3efa8e45441d80","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:54:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe? 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":"8b45e99110d0f5a16a3efa8e45441d80"} device-1 | {"level":"info","message":"OPTIONS /devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe? 200 1ms","method":"OPTIONS","requestID":"8b45e99110d0f5a16a3efa8e45441d80","responseTime":1,"status":200,"url":"/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"cbd2eecf7b720db3aaada765adbf34ea","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"cbd2eecf7b720db3aaada765adbf34ea","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:54:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73? 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":"cbd2eecf7b720db3aaada765adbf34ea"} device-1 | {"level":"info","message":"OPTIONS /devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73? 200 1ms","method":"OPTIONS","requestID":"cbd2eecf7b720db3aaada765adbf34ea","responseTime":1,"status":200,"url":"/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3N30.5s8rR5Qhlq4AKu1KvyvEGn35VXcCH9SYkw36uyFv_UY","level":"info","message":"auth send jwt","requestID":"1e503102253dd7c54d2f21df2505ec94"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"1e503102253dd7c54d2f21df2505ec94","responseTime":7,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3N30.5s8rR5Qhlq4AKu1KvyvEGn35VXcCH9SYkw36uyFv_UY","level":"info","message":"auth send jwt","requestID":"4bf94ddf156da8c706bbd08ea94ba640"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"4bf94ddf156da8c706bbd08ea94ba640","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"1e503102253dd7c54d2f21df2505ec94"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"4bf94ddf156da8c706bbd08ea94ba640"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":7,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":7,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.629438,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37350","level":"info","msg":"Received request.","req_id":8,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37350","level":"info","msg":"Sent response.","req_id":8,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.888754,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"1e503102253dd7c54d2f21df2505ec94","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072477,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3N30.5s8rR5Qhlq4AKu1KvyvEGn35VXcCH9SYkw36uyFv_UY"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"1e503102253dd7c54d2f21df2505ec94","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"4bf94ddf156da8c706bbd08ea94ba640","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072477,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3N30.5s8rR5Qhlq4AKu1KvyvEGn35VXcCH9SYkw36uyFv_UY"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"4bf94ddf156da8c706bbd08ea94ba640","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F652541f0-5a9e-48f7-8aa2-9247dbd454fe","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F652541f0-5a9e-48f7-8aa2-9247dbd454fe","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:34.372316332Z"}]},"request_id":"51c16584-5ae2-48fc-af95-23724fa72af8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072477.2530346} authorization-1 | {"level":"info","message":"POST /relations/query 200 10ms","method":"POST","requestID":"1e503102253dd7c54d2f21df2505ec94","responseTime":10,"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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:34.476622673Z"}]},"request_id":"f2fd355d-c261-4fc7-b574-89b7327a7786","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072477.257123} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"4bf94ddf156da8c706bbd08ea94ba640","responseTime":8,"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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"502cc347-faf9-4d81-b59d-c53b7cc3f881","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072477.2680962} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"1e503102253dd7c54d2f21df2505ec94","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5cb6fbb7-fa41-4e66-9686-c327f175a65c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072477.27274} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"4bf94ddf156da8c706bbd08ea94ba640","responseTime":9,"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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:34.476622673Z"}]},"request_id":"390d9ec3-91d7-4c8f-a4b0-6978c887fefd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072477.2805343} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"4bf94ddf156da8c706bbd08ea94ba640","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"4bf94ddf156da8c706bbd08ea94ba640"} gateway-1 | {"time_local":"16/Oct/2024:09:54:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.072","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"4bf94ddf156da8c706bbd08ea94ba640"} device-1 | {"level":"info","message":"PATCH /devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73? 200 61ms","method":"PATCH","requestID":"4bf94ddf156da8c706bbd08ea94ba640","responseTime":61,"status":200,"url":"/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F652541f0-5a9e-48f7-8aa2-9247dbd454fe","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F652541f0-5a9e-48f7-8aa2-9247dbd454fe","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:34.372316332Z"}]},"request_id":"cc085780-a661-4933-83e7-ea31c8b71ab1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072477.297276} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"1e503102253dd7c54d2f21df2505ec94","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"1e503102253dd7c54d2f21df2505ec94"} gateway-1 | {"time_local":"16/Oct/2024:09:54:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.089","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"1e503102253dd7c54d2f21df2505ec94"} device-1 | {"level":"info","message":"PATCH /devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe? 200 81ms","method":"PATCH","requestID":"1e503102253dd7c54d2f21df2505ec94","responseTime":81,"status":200,"url":"/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3N30.5s8rR5Qhlq4AKu1KvyvEGn35VXcCH9SYkw36uyFv_UY","level":"info","message":"auth send jwt","requestID":"9f1db25932ca3984b68d192509c1abbd"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"9f1db25932ca3984b68d192509c1abbd","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9f1db25932ca3984b68d192509c1abbd"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":9,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":9,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.826363,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"9f1db25932ca3984b68d192509c1abbd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072477,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3N30.5s8rR5Qhlq4AKu1KvyvEGn35VXcCH9SYkw36uyFv_UY"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"9f1db25932ca3984b68d192509c1abbd","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F652541f0-5a9e-48f7-8aa2-9247dbd454fe","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F652541f0-5a9e-48f7-8aa2-9247dbd454fe","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:34.372316332Z"}]},"request_id":"69f690f8-3be4-470d-a7a8-1c2d05430153","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072477.3349931} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"9f1db25932ca3984b68d192509c1abbd","responseTime":7,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9f1db25932ca3984b68d192509c1abbd"} gateway-1 | {"time_local":"16/Oct/2024:09:54:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.037","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9f1db25932ca3984b68d192509c1abbd"} device-1 | {"level":"info","message":"GET /devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe? 200 30ms","method":"GET","requestID":"9f1db25932ca3984b68d192509c1abbd","responseTime":30,"status":200,"url":"/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3N30.5s8rR5Qhlq4AKu1KvyvEGn35VXcCH9SYkw36uyFv_UY","level":"info","message":"auth send jwt","requestID":"e7392354aa64bbdf8c6bfad478c3f5ad"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"e7392354aa64bbdf8c6bfad478c3f5ad","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e7392354aa64bbdf8c6bfad478c3f5ad"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":10,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":10,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.262713,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e7392354aa64bbdf8c6bfad478c3f5ad","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072477,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3N30.5s8rR5Qhlq4AKu1KvyvEGn35VXcCH9SYkw36uyFv_UY"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"e7392354aa64bbdf8c6bfad478c3f5ad","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:34.476622673Z"}]},"request_id":"243c9abe-4e0b-43df-a1c4-64ed287f0290","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072477.3800519} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"e7392354aa64bbdf8c6bfad478c3f5ad","responseTime":7,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e7392354aa64bbdf8c6bfad478c3f5ad"} gateway-1 | {"time_local":"16/Oct/2024:09:54:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.034","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e7392354aa64bbdf8c6bfad478c3f5ad"} device-1 | {"level":"info","message":"GET /devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73? 200 25ms","method":"GET","requestID":"e7392354aa64bbdf8c6bfad478c3f5ad","responseTime":25,"status":200,"url":"/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3N30.5s8rR5Qhlq4AKu1KvyvEGn35VXcCH9SYkw36uyFv_UY","level":"info","message":"auth send jwt","requestID":"05aa5ae310b325cae99e6407c64e586b"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"05aa5ae310b325cae99e6407c64e586b","responseTime":6,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"05aa5ae310b325cae99e6407c64e586b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":11,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":11,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.802361,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"05aa5ae310b325cae99e6407c64e586b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072477,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3N30.5s8rR5Qhlq4AKu1KvyvEGn35VXcCH9SYkw36uyFv_UY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"05aa5ae310b325cae99e6407c64e586b","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231"},"level":"info","message":"Attempting to run experiment","requestID":"05aa5ae310b325cae99e6407c64e586b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231"},"level":"info","message":"Attempting to book experiment","requestID":"05aa5ae310b325cae99e6407c64e586b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231"},"level":"info","message":"Successfully booked experiment","requestID":"05aa5ae310b325cae99e6407c64e586b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a7b10b70-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a7b15990-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":12,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":12,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.65241,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37350","level":"info","msg":"Received request.","req_id":13,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a7b10b70-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072477,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3N30.5s8rR5Qhlq4AKu1KvyvEGn35VXcCH9SYkw36uyFv_UY"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"a7b10b70-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37350","level":"info","msg":"Sent response.","req_id":13,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.779146,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a7b15990-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072477,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3N30.5s8rR5Qhlq4AKu1KvyvEGn35VXcCH9SYkw36uyFv_UY"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"a7b15990-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F652541f0-5a9e-48f7-8aa2-9247dbd454fe","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F652541f0-5a9e-48f7-8aa2-9247dbd454fe","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:34.372316332Z"}]},"request_id":"b8d3530b-9f18-4c10-942a-7c0cfb60c8d0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072477.6213334} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"a7b10b70-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:34.476622673Z"}]},"request_id":"8c52954d-46d7-41e1-9d43-0db366138fec","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072477.6227822} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a7b15990-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a7b10b70-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe? 200 23ms","method":"GET","requestID":"a7b10b70-8ba4-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a7b15990-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73? 200 22ms","method":"GET","requestID":"a7b15990-8ba4-11ef-a62f-5f7f958aa687","responseTime":22,"status":200,"url":"/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231"},"level":"info","message":"Setting up experiment","requestID":"05aa5ae310b325cae99e6407c64e586b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"05aa5ae310b325cae99e6407c64e586b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231"},"level":"info","message":"Successfully locked booking for experiment","requestID":"05aa5ae310b325cae99e6407c64e586b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"05aa5ae310b325cae99e6407c64e586b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"05aa5ae310b325cae99e6407c64e586b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231"},"level":"info","message":"Attempting to update booking for experiment","requestID":"05aa5ae310b325cae99e6407c64e586b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231"},"level":"info","message":"Successfully updated booking for experiment","requestID":"05aa5ae310b325cae99e6407c64e586b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231"},"level":"info","message":"Successfully set up experiment","requestID":"05aa5ae310b325cae99e6407c64e586b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a7c09bd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a7c0c2e0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":14,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":14,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.027424,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37350","level":"info","msg":"Received request.","req_id":15,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:37Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231"},"level":"info","message":"Successfully running experiment","requestID":"05aa5ae310b325cae99e6407c64e586b"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a7c09bd0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072477,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3N30.5s8rR5Qhlq4AKu1KvyvEGn35VXcCH9SYkw36uyFv_UY"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"a7c09bd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37350","level":"info","msg":"Sent response.","req_id":15,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.799104,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:37Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a7c13810-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a7c0c2e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072477,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3N30.5s8rR5Qhlq4AKu1KvyvEGn35VXcCH9SYkw36uyFv_UY"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"a7c0c2e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":16,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F652541f0-5a9e-48f7-8aa2-9247dbd454fe","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"31bb9c5a-28b1-47d2-bfc1-790826dd3943","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072477.7305367} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F652541f0-5a9e-48f7-8aa2-9247dbd454fe","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F652541f0-5a9e-48f7-8aa2-9247dbd454fe","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:34.372316332Z"}]},"request_id":"14ddabbc-92db-4bf3-b6b2-98e9541ecffd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072477.7306929} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"a7c09bd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":16,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.936451,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a7c13810-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe","object_type":"device","rebac_allow":false,"scope_allow":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":"a7c13810-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:34.476622673Z"}]},"request_id":"3d3ba465-f961-4e3b-a99b-7f40d916890b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072477.7328835} authorization-1 | {"level":"info","message":"POST /relations/query 200 9ms","method":"POST","requestID":"a7c0c2e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a7c09bd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe? 200 34ms","method":"GET","requestID":"a7c09bd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":34,"status":200,"url":"/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff74631c0-73e2-4c91-b6d9-b28f158bf231#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff74631c0-73e2-4c91-b6d9-b28f158bf231","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"0378578b-632f-4316-9a2b-ae45e5067692","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072477.7439835} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fa2fd592-7033-47a3-a861-90005ca6d4f0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072477.7441704} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a7c13810-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe/signaling 200 36ms","method":"POST","requestID":"a7c13810-8ba4-11ef-a62f-5f7f958aa687","responseTime":36,"status":200,"url":"/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 32ms","method":"POST","requestID":"05aa5ae310b325cae99e6407c64e586b","responseTime":32,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a7c0c2e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73? 200 42ms","method":"GET","requestID":"a7c0c2e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":42,"status":200,"url":"/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a7c779a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":17,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:37Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a7c86400-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"937e269d-ff0f-48b8-89da-b7abac49ee5e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072477.7611654} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":17,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.81866,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37350","level":"info","msg":"Received request.","req_id":18,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:37Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"05aa5ae310b325cae99e6407c64e586b"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a7c779a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","object_type":"device","rebac_allow":false,"scope_allow":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":"a7c779a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F652541f0-5a9e-48f7-8aa2-9247dbd454fe","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a2f15561-ed7c-42bb-a1d9-c2e2885b7e89","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072477.7660315} authorization-1 | {"client_addr":"127.0.0.1:37350","level":"info","msg":"Sent response.","req_id":18,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.610769,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a7c86400-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe","object_type":"device","rebac_allow":false,"scope_allow":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":"a7c86400-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:54:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"808","request_time":"0.374","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"05aa5ae310b325cae99e6407c64e586b"} experiment-1 | {"level":"info","message":"POST /experiments? 201 343ms","method":"POST","requestID":"05aa5ae310b325cae99e6407c64e586b","responseTime":343,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a7c779a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73/signaling 200 17ms","method":"POST","requestID":"a7c779a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a7c86400-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe/signaling 200 14ms","method":"POST","requestID":"a7c86400-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a7cb2320-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3N30.5s8rR5Qhlq4AKu1KvyvEGn35VXcCH9SYkw36uyFv_UY","level":"info","message":"auth send jwt","requestID":"aec5a4fdf573be6f9f90320ff72440c9"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"aec5a4fdf573be6f9f90320ff72440c9","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"aec5a4fdf573be6f9f90320ff72440c9"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":19,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cafee607-83d0-41ac-9c66-d97c337d3b94","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072477.7836335} authorization-1 | {"client_addr":"127.0.0.1:37350","level":"info","msg":"Received request.","req_id":20,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":19,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.620449,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a7cb2320-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","object_type":"device","rebac_allow":false,"scope_allow":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":"a7cb2320-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37350","level":"info","msg":"Sent response.","req_id":20,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.952149,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"aec5a4fdf573be6f9f90320ff72440c9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072477,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3N30.5s8rR5Qhlq4AKu1KvyvEGn35VXcCH9SYkw36uyFv_UY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"aec5a4fdf573be6f9f90320ff72440c9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a7cb2320-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73/signaling 200 12ms","method":"POST","requestID":"a7cb2320-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73/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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F652541f0-5a9e-48f7-8aa2-9247dbd454fe","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F652541f0-5a9e-48f7-8aa2-9247dbd454fe","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:34.372316332Z"}]},"request_id":"f661cb63-6938-4292-b248-f8957d7b7305","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072477.7906766} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"aec5a4fdf573be6f9f90320ff72440c9","responseTime":4,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"05aa5ae310b325cae99e6407c64e586b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a7cdbb30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a7ce0950-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"aec5a4fdf573be6f9f90320ff72440c9"} gateway-1 | {"time_local":"16/Oct/2024:09:54:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe? 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":"aec5a4fdf573be6f9f90320ff72440c9"} device-1 | {"level":"info","message":"GET /devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe? 200 19ms","method":"GET","requestID":"aec5a4fdf573be6f9f90320ff72440c9","responseTime":19,"status":200,"url":"/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":21,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":21,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.701417,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37350","level":"info","msg":"Received request.","req_id":22,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a7cdbb30-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072477,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3N30.5s8rR5Qhlq4AKu1KvyvEGn35VXcCH9SYkw36uyFv_UY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a7cdbb30-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37350","level":"info","msg":"Sent response.","req_id":22,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.629456,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a7ce0950-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072477,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3N30.5s8rR5Qhlq4AKu1KvyvEGn35VXcCH9SYkw36uyFv_UY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"a7ce0950-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3N30.5s8rR5Qhlq4AKu1KvyvEGn35VXcCH9SYkw36uyFv_UY","level":"info","message":"auth send jwt","requestID":"7ab3e82043aee94af96af1c4281eb035"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"7ab3e82043aee94af96af1c4281eb035","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7ab3e82043aee94af96af1c4281eb035"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F652541f0-5a9e-48f7-8aa2-9247dbd454fe","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F652541f0-5a9e-48f7-8aa2-9247dbd454fe","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:34.372316332Z"}]},"request_id":"d788a085-b095-47a7-8f08-9fc99da9f877","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072477.8065088} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"a7cdbb30-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:34.476622673Z"}]},"request_id":"c0260726-d50a-4f26-94a8-93a505ca9b7c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072477.8078682} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a7cdbb30-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"a7ce0950-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":23,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":23,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.74047,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:37Z"} device-1 | {"level":"info","message":"GET /devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe? 200 16ms","method":"GET","requestID":"a7cdbb30-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"7ab3e82043aee94af96af1c4281eb035","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072477,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3N30.5s8rR5Qhlq4AKu1KvyvEGn35VXcCH9SYkw36uyFv_UY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7ab3e82043aee94af96af1c4281eb035","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a7ce0950-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73? 200 20ms","method":"GET","requestID":"a7ce0950-8ba4-11ef-a62f-5f7f958aa687","responseTime":20,"status":200,"url":"/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:34.476622673Z"}]},"request_id":"9b33e7fe-44c8-4257-aad4-d61568c61cf7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072477.8183508} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7ab3e82043aee94af96af1c4281eb035","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231"},"level":"info","message":"Building connection plan","requestID":"05aa5ae310b325cae99e6407c64e586b"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"9524b9ef-b459-4ab6-88b3-ecfd6f9645e3"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"c678d4e1-76f9-49ff-829a-f831e912ba6a"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"15befe3c-e7f2-4ce0-8cb7-8a9568fe5d9c"}]},"level":"info","message":"Built pairwise service configurations","requestID":"05aa5ae310b325cae99e6407c64e586b"} 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/652541f0-5a9e-48f7-8aa2-9247dbd454fe"},{"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/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"05aa5ae310b325cae99e6407c64e586b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7ab3e82043aee94af96af1c4281eb035"} gateway-1 | {"time_local":"16/Oct/2024:09:54:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73? 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":"7ab3e82043aee94af96af1c4281eb035"} device-1 | {"level":"info","message":"GET /devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73? 200 16ms","method":"GET","requestID":"7ab3e82043aee94af96af1c4281eb035","responseTime":16,"status":200,"url":"/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73?"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"a7d29d30-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":24,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":24,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.700581,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a7d29d30-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072477,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3N30.5s8rR5Qhlq4AKu1KvyvEGn35VXcCH9SYkw36uyFv_UY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a7d29d30-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"cc717fa4-782a-4c8c-aca6-e634483b2ecd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072477.8559852} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"14429cd8-bb87-4130-9021-ac1aab90939a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072477.8563302} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"a7d29d30-8ba4-11ef-a62f-5f7f958aa687","responseTime":19,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"a7d29d30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"a7d29d30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/227cead7-fc3b-458f-8aa5-9d60f047b783'","requestID":"a7d29d30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/227cead7-fc3b-458f-8aa5-9d60f047b783'","requestID":"a7d29d30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"a7d29d30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 49ms","method":"POST","requestID":"a7d29d30-8ba4-11ef-a62f-5f7f958aa687","responseTime":49,"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":"a7d29d30-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"05aa5ae310b325cae99e6407c64e586b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a7e0a6f0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":25,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F652541f0-5a9e-48f7-8aa2-9247dbd454fe","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"85d5c90b-d6d9-4dac-9157-c9d6de0aca8b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072477.9246018} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":25,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.030386,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:37Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a7e0a6f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe","object_type":"device","rebac_allow":false,"scope_allow":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":"a7e0a6f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a7e0a6f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe/signaling 200 11ms","method":"POST","requestID":"a7e0a6f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a7e2c9d0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":26,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:37Z"} device-1 | {"device":"652541f0-5a9e-48f7-8aa2-9247dbd454fe","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"652541f0-5a9e-48f7-8aa2-9247dbd454fe","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"30abbd70-24c9-47c2-a7a5-3e380ec52aef","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072477.9393537} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":26,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.847086,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:37Z"} device-1 | {"device":"4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a7e2c9d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","object_type":"device","rebac_allow":false,"scope_allow":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":"a7e2c9d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a7e2c9d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73/signaling 200 14ms","method":"POST","requestID":"a7e2c9d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 2675035108788562377 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:6Qn3\r\na=ice-pwd:GpWtYKJU0VlQXEEY5UqfpOis\r\na=ice-options:trickle\r\na=fingerprint:sha-256 28:F7:C4:A5:46:CE:63:C7:20:D8:FB:A6:F8:DF:83:78:B5:AC:43:6B:34:47:0E:46:1B:42:DA:3F:A3:61:EB: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":"4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 528298712510942786 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:ub7l\r\na=ice-pwd:L5KyFN3OiAkM2hbKSAwKXUpN\r\na=ice-options:trickle\r\na=fingerprint:sha-256 3E:03:F9:90:C5:63:6C:09:F9:95:96:63:59:4D:3F:24:E6:D7:80:36:7D:46:64:C7:C9:2D:FB:36:BA:1E:53:5C\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"652541f0-5a9e-48f7-8aa2-9247dbd454fe","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:337944246 1 udp 2113937151 75c912fa-903c-46ea-b73e-bd1d1cad432d.local 43127 typ host generation 0 ufrag ub7l network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"652541f0-5a9e-48f7-8aa2-9247dbd454fe","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/652541f0-5a9e-48f7-8aa2-9247dbd454fe'"} device-1 | {"content":{"candidate":"candidate:2265923493 1 udp 1677729535 141.24.211.56 43127 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag ub7l network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"652541f0-5a9e-48f7-8aa2-9247dbd454fe","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2387413984 1 udp 2113937151 1f029334-d926-406a-81b2-4a7186295eb3.local 37636 typ host generation 0 ufrag 6Qn3 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:174088607 1 udp 1677729535 141.24.211.56 37636 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag 6Qn3 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","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/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73'"} device-1 | {"device":"4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"652541f0-5a9e-48f7-8aa2-9247dbd454fe","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/227cead7-fc3b-458f-8aa5-9d60f047b783' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"227cead7-fc3b-458f-8aa5-9d60f047b783","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"652541f0-5a9e-48f7-8aa2-9247dbd454fe","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"652541f0-5a9e-48f7-8aa2-9247dbd454fe","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"652541f0-5a9e-48f7-8aa2-9247dbd454fe","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"8883ef5b7a3d5856ea722c535f1ca260","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"8883ef5b7a3d5856ea722c535f1ca260","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":"new","url":"http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe"},{"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/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/227cead7-fc3b-458f-8aa5-9d60f047b783"}}},"level":"info","message":"received a callback","requestID":"8883ef5b7a3d5856ea722c535f1ca260"} device-1 | {"data":{"peerconnection":"227cead7-fc3b-458f-8aa5-9d60f047b783","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 18ms","method":"POST","requestID":"8883ef5b7a3d5856ea722c535f1ca260","responseTime":18,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:54:38 +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":"8883ef5b7a3d5856ea722c535f1ca260"} device-1 | {"data":{"peerconnection":"227cead7-fc3b-458f-8aa5-9d60f047b783","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/227cead7-fc3b-458f-8aa5-9d60f047b783' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"227cead7-fc3b-458f-8aa5-9d60f047b783","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"21a83eb26674a9b1207677167458f0cd","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"21a83eb26674a9b1207677167458f0cd","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/652541f0-5a9e-48f7-8aa2-9247dbd454fe"},{"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/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/227cead7-fc3b-458f-8aa5-9d60f047b783"}}},"level":"info","message":"received a callback","requestID":"21a83eb26674a9b1207677167458f0cd"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"a7f678e0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":27,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:38Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F227cead7-fc3b-458f-8aa5-9d60f047b783","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"73b564d5-1b3b-4dd2-9d54-a6f5082f80a4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072478.0675392} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":27,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.380381,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/227cead7-fc3b-458f-8aa5-9d60f047b783","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a7f678e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/227cead7-fc3b-458f-8aa5-9d60f047b783","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":"a7f678e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"a7f678e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/227cead7-fc3b-458f-8aa5-9d60f047b783 200 10ms","method":"GET","requestID":"a7f678e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/peerconnections/227cead7-fc3b-458f-8aa5-9d60f047b783"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 34ms","method":"POST","requestID":"21a83eb26674a9b1207677167458f0cd","responseTime":34,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:54:38 +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":"21a83eb26674a9b1207677167458f0cd"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a7fb0cc0-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3OH0.-ulfGwZmsBHirfFPYxkpKd5YAcP5qonmxgWnKe2m1rk","level":"info","message":"auth send jwt","requestID":"4a5103f1834c6391832a1f067c26e397"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"4a5103f1834c6391832a1f067c26e397","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":28,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:38Z"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231","requestID":"4a5103f1834c6391832a1f067c26e397"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F652541f0-5a9e-48f7-8aa2-9247dbd454fe","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f2a4cb46-2f1d-4665-9e45-747a28aabe9a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072478.0964997} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":28,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.165259,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:38Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a7fb0cc0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe","object_type":"device","rebac_allow":false,"scope_allow":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":"a7fb0cc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":29,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:38Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":29,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.685941,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:38Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a7fb0cc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe/signaling 200 9ms","method":"POST","requestID":"a7fb0cc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe/signaling"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"4a5103f1834c6391832a1f067c26e397","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072478,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3OH0.-ulfGwZmsBHirfFPYxkpKd5YAcP5qonmxgWnKe2m1rk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4a5103f1834c6391832a1f067c26e397","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a7fce180-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":30,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:38Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ea8785c7-4d23-4025-b9c6-78901bf2c3d8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072478.1098657} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":30,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.255579,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:38Z"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231","requestID":"4a5103f1834c6391832a1f067c26e397"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a7fce180-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","object_type":"device","rebac_allow":false,"scope_allow":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":"a7fce180-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a7fce180-8ba4-11ef-a62f-5f7f958aa687"} gateway-1 | {"time_local":"16/Oct/2024:09:54:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231 HTTP/1.1","status": "200","body_bytes_sent":"881","request_time":"0.026","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4a5103f1834c6391832a1f067c26e397"} device-1 | {"level":"info","message":"POST /devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73/signaling 200 11ms","method":"POST","requestID":"a7fce180-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73/signaling"} experiment-1 | {"level":"info","message":"GET /experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231 200 21ms","method":"GET","requestID":"4a5103f1834c6391832a1f067c26e397","responseTime":21,"status":200,"url":"/experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3OH0.-ulfGwZmsBHirfFPYxkpKd5YAcP5qonmxgWnKe2m1rk","level":"info","message":"auth send jwt","requestID":"541e5048bb6ba549fe75b70c016ff9c3"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"541e5048bb6ba549fe75b70c016ff9c3","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231","requestID":"541e5048bb6ba549fe75b70c016ff9c3"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":31,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:38Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":31,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.991281,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:38Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"541e5048bb6ba549fe75b70c016ff9c3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072478,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3OH0.-ulfGwZmsBHirfFPYxkpKd5YAcP5qonmxgWnKe2m1rk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"541e5048bb6ba549fe75b70c016ff9c3","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231"},"level":"info","message":"Attempting to finish experiment","requestID":"541e5048bb6ba549fe75b70c016ff9c3"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"a801c380-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":32,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:38Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":32,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.819849,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:38Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/227cead7-fc3b-458f-8aa5-9d60f047b783","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a801c380-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/227cead7-fc3b-458f-8aa5-9d60f047b783","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072478,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3OH0.-ulfGwZmsBHirfFPYxkpKd5YAcP5qonmxgWnKe2m1rk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"a801c380-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/227cead7-fc3b-458f-8aa5-9d60f047b783","device":"652541f0-5a9e-48f7-8aa2-9247dbd454fe","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/227cead7-fc3b-458f-8aa5-9d60f047b783","device":"4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","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/227cead7-fc3b-458f-8aa5-9d60f047b783' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/227cead7-fc3b-458f-8aa5-9d60f047b783' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"227cead7-fc3b-458f-8aa5-9d60f047b783","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ee8fba8206412942c481d3c37b6b6978","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"ee8fba8206412942c481d3c37b6b6978","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"69bb7f380b888f017c685f6ce17f713b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/652541f0-5a9e-48f7-8aa2-9247dbd454fe"},{"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/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/227cead7-fc3b-458f-8aa5-9d60f047b783"}}},"level":"info","message":"received a callback","requestID":"ee8fba8206412942c481d3c37b6b6978"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"69bb7f380b888f017c685f6ce17f713b","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":"connected","url":"http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe"},{"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/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/227cead7-fc3b-458f-8aa5-9d60f047b783"}}},"level":"info","message":"received a callback","requestID":"69bb7f380b888f017c685f6ce17f713b"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F227cead7-fc3b-458f-8aa5-9d60f047b783': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F227cead7-fc3b-458f-8aa5-9d60f047b783","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"d4a6b6b2-1d22-412e-b976-1994584c44c8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072478.1650496} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ac14d05c-f3d1-4ec4-b854-a25e43b63fd4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072478.1653988} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"a801c380-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"227cead7-fc3b-458f-8aa5-9d60f047b783","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"a801c380-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/227cead7-fc3b-458f-8aa5-9d60f047b783 204 45ms","method":"DELETE","requestID":"a801c380-8ba4-11ef-a62f-5f7f958aa687","responseTime":45,"status":204,"url":"/peerconnections/227cead7-fc3b-458f-8aa5-9d60f047b783"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231"},"level":"info","message":"Successfully finished experiment","requestID":"541e5048bb6ba549fe75b70c016ff9c3"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a80c71e0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":33,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:38Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F652541f0-5a9e-48f7-8aa2-9247dbd454fe","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"71397f9c-f3f1-4781-89e6-8ee1c2ba589c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072478.2141309} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":33,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.428146,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:38Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a80c71e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe","object_type":"device","rebac_allow":false,"scope_allow":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":"a80c71e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a80c71e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe/signaling 200 13ms","method":"POST","requestID":"a80c71e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a80ebbd0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff74631c0-73e2-4c91-b6d9-b28f158bf231': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff74631c0-73e2-4c91-b6d9-b28f158bf231","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"64402445-0de6-4514-aa25-c3d8d665977a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072478.223401} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1c89b008-dafe-48dd-8222-1592b9ceafac","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072478.223572} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"541e5048bb6ba549fe75b70c016ff9c3","responseTime":21,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6483c63a-0764-410b-bbdf-3c091f7210d2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072478.225981} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":34,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:38Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":34,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.065293,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:38Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a80ebbd0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73","object_type":"device","rebac_allow":false,"scope_allow":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":"a80ebbd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a80ebbd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73/signaling 200 13ms","method":"POST","requestID":"a80ebbd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231","requestID":"541e5048bb6ba549fe75b70c016ff9c3"} gateway-1 | {"time_local":"16/Oct/2024:09:54:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.190","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"541e5048bb6ba549fe75b70c016ff9c3"} experiment-1 | {"level":"info","message":"DELETE /experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231 204 189ms","method":"DELETE","requestID":"541e5048bb6ba549fe75b70c016ff9c3","responseTime":189,"status":204,"url":"/experiments/f74631c0-73e2-4c91-b6d9-b28f158bf231"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 156ms","method":"POST","requestID":"ee8fba8206412942c481d3c37b6b6978","responseTime":156,"status":200,"url":"/callbacks/experiment"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 158ms","method":"POST","requestID":"69bb7f380b888f017c685f6ce17f713b","responseTime":158,"status":200,"url":"/callbacks/experiment"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3OH0.-ulfGwZmsBHirfFPYxkpKd5YAcP5qonmxgWnKe2m1rk","level":"info","message":"auth send jwt","requestID":"2c5f08cddb3ea0bbf979b891fa9c9678"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"2c5f08cddb3ea0bbf979b891fa9c9678","responseTime":7,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:54:38 +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":"ee8fba8206412942c481d3c37b6b6978"} gateway-1 | {"time_local":"16/Oct/2024:09:54:38 +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.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":"6138a93d2675c7a522c67a2bafe09207"} gateway-1 | {"time_local":"16/Oct/2024:09:54:38 +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":"69bb7f380b888f017c685f6ce17f713b"} device-1 | {"level":"info","message":"postDevices called","requestID":"2c5f08cddb3ea0bbf979b891fa9c9678"} gateway-1 | {"time_local":"16/Oct/2024:09:54:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3077","request_time":"1.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":"a84ada70cd53a02f54929e8895727837"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":35,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:38Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":35,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.774933,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:38Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"2c5f08cddb3ea0bbf979b891fa9c9678","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072478,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3OH0.-ulfGwZmsBHirfFPYxkpKd5YAcP5qonmxgWnKe2m1rk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2c5f08cddb3ea0bbf979b891fa9c9678","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/4c6bbd4a-0cdd-4418-8c2d-5f370a09ba73' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/652541f0-5a9e-48f7-8aa2-9247dbd454fe' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9b0cfa1-b708-42bc-a1b7-ff857da43be4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ba5e7902-b51b-443f-8b44-541179b8fe70","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072478.3485014} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"2c5f08cddb3ea0bbf979b891fa9c9678","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0af2cb13-fd57-489d-b5e1-f643e5dbdf4c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072478.355603} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"2c5f08cddb3ea0bbf979b891fa9c9678","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9b0cfa1-b708-42bc-a1b7-ff857da43be4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"d2dae870-ec80-4b2b-9fb2-4503b8af9eb9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072478.369011} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7327a6d5-c75e-4dfd-b9a4-b2a3b7c62f88","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072478.3692772} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"2c5f08cddb3ea0bbf979b891fa9c9678","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9b0cfa1-b708-42bc-a1b7-ff857da43be4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9b0cfa1-b708-42bc-a1b7-ff857da43be4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:38.368998006Z"}]},"request_id":"7045d8ee-02f4-46ea-bcbe-418ce9c4547d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072478.3737898} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"2c5f08cddb3ea0bbf979b891fa9c9678","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"2c5f08cddb3ea0bbf979b891fa9c9678"} gateway-1 | {"time_local":"16/Oct/2024:09:54:38 +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":"2c5f08cddb3ea0bbf979b891fa9c9678"} device-1 | {"level":"info","message":"POST /devices? 201 53ms","method":"POST","requestID":"2c5f08cddb3ea0bbf979b891fa9c9678","responseTime":53,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3OH0.-ulfGwZmsBHirfFPYxkpKd5YAcP5qonmxgWnKe2m1rk","level":"info","message":"auth send jwt","requestID":"42d5be1b9700480cbd4fd2c1fd655b0a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"42d5be1b9700480cbd4fd2c1fd655b0a","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"42d5be1b9700480cbd4fd2c1fd655b0a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":36,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:38Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":36,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.735335,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:38Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"42d5be1b9700480cbd4fd2c1fd655b0a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072478,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3OH0.-ulfGwZmsBHirfFPYxkpKd5YAcP5qonmxgWnKe2m1rk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"42d5be1b9700480cbd4fd2c1fd655b0a","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff938f7d0-ca96-42e4-b78e-7e5325d35789","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"564caa64-3058-467d-8691-a1ebd4236bf6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072478.4037032} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"42d5be1b9700480cbd4fd2c1fd655b0a","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"da251f73-bb68-436e-8d62-61c187841696","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072478.4085498} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"42d5be1b9700480cbd4fd2c1fd655b0a","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff938f7d0-ca96-42e4-b78e-7e5325d35789","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"9f478467-f05d-4316-917b-cf7126a01a9e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072478.4199672} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e2d9743e-ef14-495e-a3f9-6aeead79285f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072478.4201758} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"42d5be1b9700480cbd4fd2c1fd655b0a","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff938f7d0-ca96-42e4-b78e-7e5325d35789","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff938f7d0-ca96-42e4-b78e-7e5325d35789","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:38.419947797Z"}]},"request_id":"96653df4-df47-47ff-8f1a-e9104f51de8b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072478.4244235} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"42d5be1b9700480cbd4fd2c1fd655b0a","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"42d5be1b9700480cbd4fd2c1fd655b0a"} gateway-1 | {"time_local":"16/Oct/2024:09:54:38 +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":"42d5be1b9700480cbd4fd2c1fd655b0a"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"42d5be1b9700480cbd4fd2c1fd655b0a","responseTime":44,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3OH0.-ulfGwZmsBHirfFPYxkpKd5YAcP5qonmxgWnKe2m1rk","level":"info","message":"auth send jwt","requestID":"aaffdb74e3f2bb61aab0966b9d48b3e2"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"aaffdb74e3f2bb61aab0966b9d48b3e2","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"aaffdb74e3f2bb61aab0966b9d48b3e2"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":37,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:38Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":37,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.785631,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:38Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"aaffdb74e3f2bb61aab0966b9d48b3e2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072478,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3OH0.-ulfGwZmsBHirfFPYxkpKd5YAcP5qonmxgWnKe2m1rk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"aaffdb74e3f2bb61aab0966b9d48b3e2","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff938f7d0-ca96-42e4-b78e-7e5325d35789","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff938f7d0-ca96-42e4-b78e-7e5325d35789","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:38.419947797Z"}]},"request_id":"0039e828-2851-48be-a5c5-20b609eda451","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072478.984129} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"aaffdb74e3f2bb61aab0966b9d48b3e2","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fd0c710c-2302-43b7-959f-5c87f3c9ecea","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072478.9935362} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"aaffdb74e3f2bb61aab0966b9d48b3e2","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff938f7d0-ca96-42e4-b78e-7e5325d35789","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff938f7d0-ca96-42e4-b78e-7e5325d35789","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:38.419947797Z"}]},"request_id":"d53bd59b-d15d-4ae2-b104-43497226f7e7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072479.0166278} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"aaffdb74e3f2bb61aab0966b9d48b3e2","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"aaffdb74e3f2bb61aab0966b9d48b3e2"} gateway-1 | {"time_local":"16/Oct/2024:09:54:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/f938f7d0-ca96-42e4-b78e-7e5325d35789 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.061","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"aaffdb74e3f2bb61aab0966b9d48b3e2"} device-1 | {"level":"info","message":"PATCH /devices/f938f7d0-ca96-42e4-b78e-7e5325d35789 200 53ms","method":"PATCH","requestID":"aaffdb74e3f2bb61aab0966b9d48b3e2","responseTime":53,"status":200,"url":"/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3OX0.M6psAx37ZQtlFvaYshNIrUYPwDWiTkPoSb4np9sqB6E","level":"info","message":"auth send jwt","requestID":"8f081193b6c4a15e6ec4ba86dcfd274b"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"8f081193b6c4a15e6ec4ba86dcfd274b","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"8f081193b6c4a15e6ec4ba86dcfd274b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":38,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:39Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":38,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.152505,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:39Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"8f081193b6c4a15e6ec4ba86dcfd274b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072479,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ3OX0.M6psAx37ZQtlFvaYshNIrUYPwDWiTkPoSb4np9sqB6E"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"8f081193b6c4a15e6ec4ba86dcfd274b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"8f081193b6c4a15e6ec4ba86dcfd274b"} gateway-1 | {"time_local":"16/Oct/2024:09:54:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/f938f7d0-ca96-42e4-b78e-7e5325d35789/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.034","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"8f081193b6c4a15e6ec4ba86dcfd274b"} device-1 | {"level":"info","message":"POST /devices/f938f7d0-ca96-42e4-b78e-7e5325d35789/websocket 200 25ms","method":"POST","requestID":"8f081193b6c4a15e6ec4ba86dcfd274b","responseTime":25,"status":200,"url":"/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"82ff28a1dafc2d75d410c62a647dea44","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"82ff28a1dafc2d75d410c62a647dea44","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:54:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4/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":"82ff28a1dafc2d75d410c62a647dea44"} device-1 | {"level":"info","message":"OPTIONS /devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4/websocket 200 2ms","method":"OPTIONS","requestID":"82ff28a1dafc2d75d410c62a647dea44","responseTime":2,"status":200,"url":"/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4MH0.-gj18XdLw4PBBnkoZHTln6W4DfBTSbUWiN0nop09R30","level":"info","message":"auth send jwt","requestID":"33287fc85551c4ceb921995f0f34711f"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"33287fc85551c4ceb921995f0f34711f","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"33287fc85551c4ceb921995f0f34711f"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":39,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":39,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.268382,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"33287fc85551c4ceb921995f0f34711f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072480,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4MH0.-gj18XdLw4PBBnkoZHTln6W4DfBTSbUWiN0nop09R30"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"33287fc85551c4ceb921995f0f34711f","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"33287fc85551c4ceb921995f0f34711f"} gateway-1 | {"time_local":"16/Oct/2024:09:54:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4/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":"33287fc85551c4ceb921995f0f34711f"} device-1 | {"level":"info","message":"POST /devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4/websocket 200 26ms","method":"POST","requestID":"33287fc85551c4ceb921995f0f34711f","responseTime":26,"status":200,"url":"/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1175d37c4c9533bf01e3782e48d4adf9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"1175d37c4c9533bf01e3782e48d4adf9","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:54:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4? 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":"1175d37c4c9533bf01e3782e48d4adf9"} device-1 | {"level":"info","message":"OPTIONS /devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4? 200 2ms","method":"OPTIONS","requestID":"1175d37c4c9533bf01e3782e48d4adf9","responseTime":2,"status":200,"url":"/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4MH0.-gj18XdLw4PBBnkoZHTln6W4DfBTSbUWiN0nop09R30","level":"info","message":"auth send jwt","requestID":"05475076dec15e2e0bf433e2a3f8b193"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"05475076dec15e2e0bf433e2a3f8b193","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"05475076dec15e2e0bf433e2a3f8b193"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":40,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":40,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.206268,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"05475076dec15e2e0bf433e2a3f8b193","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072480,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4MH0.-gj18XdLw4PBBnkoZHTln6W4DfBTSbUWiN0nop09R30"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"05475076dec15e2e0bf433e2a3f8b193","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9b0cfa1-b708-42bc-a1b7-ff857da43be4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9b0cfa1-b708-42bc-a1b7-ff857da43be4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:38.368998006Z"}]},"request_id":"dc974a59-0874-4b01-abc7-1e59ddab7589","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072480.5497243} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"05475076dec15e2e0bf433e2a3f8b193","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6309d139-a544-431c-9a9d-8aa1c64cd3c7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072480.5609488} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"05475076dec15e2e0bf433e2a3f8b193","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9b0cfa1-b708-42bc-a1b7-ff857da43be4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9b0cfa1-b708-42bc-a1b7-ff857da43be4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:38.368998006Z"}]},"request_id":"9f49a854-482d-4e21-8e12-86f72cfdecb3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072480.575184} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"05475076dec15e2e0bf433e2a3f8b193","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"05475076dec15e2e0bf433e2a3f8b193"} gateway-1 | {"time_local":"16/Oct/2024:09:54:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.056","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"05475076dec15e2e0bf433e2a3f8b193"} device-1 | {"level":"info","message":"PATCH /devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4? 200 48ms","method":"PATCH","requestID":"05475076dec15e2e0bf433e2a3f8b193","responseTime":48,"status":200,"url":"/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4MH0.-gj18XdLw4PBBnkoZHTln6W4DfBTSbUWiN0nop09R30","level":"info","message":"auth send jwt","requestID":"a0d228fd3e2d4b2c6c241e8fe48e3d05"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"a0d228fd3e2d4b2c6c241e8fe48e3d05","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a0d228fd3e2d4b2c6c241e8fe48e3d05"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":41,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":41,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.821669,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a0d228fd3e2d4b2c6c241e8fe48e3d05","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072480,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4MH0.-gj18XdLw4PBBnkoZHTln6W4DfBTSbUWiN0nop09R30"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a0d228fd3e2d4b2c6c241e8fe48e3d05","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9b0cfa1-b708-42bc-a1b7-ff857da43be4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9b0cfa1-b708-42bc-a1b7-ff857da43be4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:38.368998006Z"}]},"request_id":"c46c70e1-416f-41e9-b706-03e14817c5d3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072480.610635} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"a0d228fd3e2d4b2c6c241e8fe48e3d05","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a0d228fd3e2d4b2c6c241e8fe48e3d05"} gateway-1 | {"time_local":"16/Oct/2024:09:54:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4? 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":"a0d228fd3e2d4b2c6c241e8fe48e3d05"} device-1 | {"level":"info","message":"GET /devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4? 200 19ms","method":"GET","requestID":"a0d228fd3e2d4b2c6c241e8fe48e3d05","responseTime":19,"status":200,"url":"/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4MH0.-gj18XdLw4PBBnkoZHTln6W4DfBTSbUWiN0nop09R30","level":"info","message":"auth send jwt","requestID":"74477c7121b7d7e861cc33623cdb2e75"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"74477c7121b7d7e861cc33623cdb2e75","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"74477c7121b7d7e861cc33623cdb2e75"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":42,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":42,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.332494,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"74477c7121b7d7e861cc33623cdb2e75","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072480,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4MH0.-gj18XdLw4PBBnkoZHTln6W4DfBTSbUWiN0nop09R30"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"74477c7121b7d7e861cc33623cdb2e75","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff938f7d0-ca96-42e4-b78e-7e5325d35789","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff938f7d0-ca96-42e4-b78e-7e5325d35789","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:38.419947797Z"}]},"request_id":"ce6caee1-246a-4898-a84e-159484589fae","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072480.641177} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"74477c7121b7d7e861cc33623cdb2e75","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"74477c7121b7d7e861cc33623cdb2e75"} gateway-1 | {"time_local":"16/Oct/2024:09:54:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f938f7d0-ca96-42e4-b78e-7e5325d35789? 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":"74477c7121b7d7e861cc33623cdb2e75"} device-1 | {"level":"info","message":"GET /devices/f938f7d0-ca96-42e4-b78e-7e5325d35789? 200 21ms","method":"GET","requestID":"74477c7121b7d7e861cc33623cdb2e75","responseTime":21,"status":200,"url":"/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4MH0.-gj18XdLw4PBBnkoZHTln6W4DfBTSbUWiN0nop09R30","level":"info","message":"auth send jwt","requestID":"4f845aacdd911e270694060895bc4104"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"4f845aacdd911e270694060895bc4104","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"4f845aacdd911e270694060895bc4104"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":43,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":43,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.774193,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"4f845aacdd911e270694060895bc4104","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072480,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4MH0.-gj18XdLw4PBBnkoZHTln6W4DfBTSbUWiN0nop09R30"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4f845aacdd911e270694060895bc4104","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa"},"level":"info","message":"Attempting to run experiment","requestID":"4f845aacdd911e270694060895bc4104"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa"},"level":"info","message":"Attempting to book experiment","requestID":"4f845aacdd911e270694060895bc4104"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa"},"level":"info","message":"Successfully booked experiment","requestID":"4f845aacdd911e270694060895bc4104"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a98ad480-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a98b22a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":44,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":44,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.118301,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a98ad480-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072480,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4MH0.-gj18XdLw4PBBnkoZHTln6W4DfBTSbUWiN0nop09R30"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"a98ad480-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37350","level":"info","msg":"Received request.","req_id":45,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37350","level":"info","msg":"Sent response.","req_id":45,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.156162,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a98b22a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072480,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4MH0.-gj18XdLw4PBBnkoZHTln6W4DfBTSbUWiN0nop09R30"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"a98b22a0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9b0cfa1-b708-42bc-a1b7-ff857da43be4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9b0cfa1-b708-42bc-a1b7-ff857da43be4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:38.368998006Z"}]},"request_id":"7cb89606-ec47-4625-be21-46fe5d2db358","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072480.7263138} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"a98ad480-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff938f7d0-ca96-42e4-b78e-7e5325d35789","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff938f7d0-ca96-42e4-b78e-7e5325d35789","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:38.419947797Z"}]},"request_id":"be75c00b-8ada-4b73-b782-c7ae34f96229","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072480.7273674} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"a98b22a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a98ad480-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4? 200 24ms","method":"GET","requestID":"a98ad480-8ba4-11ef-a62f-5f7f958aa687","responseTime":24,"status":200,"url":"/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a98b22a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/f938f7d0-ca96-42e4-b78e-7e5325d35789? 200 24ms","method":"GET","requestID":"a98b22a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":24,"status":200,"url":"/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa"},"level":"info","message":"Setting up experiment","requestID":"4f845aacdd911e270694060895bc4104"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"4f845aacdd911e270694060895bc4104"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa"},"level":"info","message":"Successfully locked booking for experiment","requestID":"4f845aacdd911e270694060895bc4104"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"4f845aacdd911e270694060895bc4104"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"4f845aacdd911e270694060895bc4104"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa"},"level":"info","message":"Attempting to update booking for experiment","requestID":"4f845aacdd911e270694060895bc4104"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa"},"level":"info","message":"Successfully updated booking for experiment","requestID":"4f845aacdd911e270694060895bc4104"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa"},"level":"info","message":"Successfully set up experiment","requestID":"4f845aacdd911e270694060895bc4104"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a9986910-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a998b730-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a9992c60-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa"},"level":"info","message":"Successfully running experiment","requestID":"4f845aacdd911e270694060895bc4104"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":46,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":46,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.78961,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a9986910-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072480,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4MH0.-gj18XdLw4PBBnkoZHTln6W4DfBTSbUWiN0nop09R30"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"a9986910-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37350","level":"info","msg":"Received request.","req_id":47,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37350","level":"info","msg":"Sent response.","req_id":47,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.313542,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a998b730-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072480,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4MH0.-gj18XdLw4PBBnkoZHTln6W4DfBTSbUWiN0nop09R30"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"a998b730-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":48,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9b0cfa1-b708-42bc-a1b7-ff857da43be4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"84099468-1f94-40e5-aeb5-ec6bc0feb938","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072480.8177783} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":48,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.161052,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a9992c60-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4","object_type":"device","rebac_allow":false,"scope_allow":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":"a9992c60-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff938f7d0-ca96-42e4-b78e-7e5325d35789","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff938f7d0-ca96-42e4-b78e-7e5325d35789","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:38.419947797Z"}]},"request_id":"75ffc585-445c-4c12-a403-4c9eebcd399e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072480.8251417} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a9992c60-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4/signaling 200 26ms","method":"POST","requestID":"a9992c60-8ba4-11ef-a62f-5f7f958aa687","responseTime":26,"status":200,"url":"/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 11ms","method":"POST","requestID":"a998b730-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9b0cfa1-b708-42bc-a1b7-ff857da43be4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9b0cfa1-b708-42bc-a1b7-ff857da43be4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:38.368998006Z"}]},"request_id":"46e784a1-e5d6-4067-93ed-9cf98f94405d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072480.8318462} authorization-1 | {"level":"info","message":"POST /relations/query 200 9ms","method":"POST","requestID":"a9986910-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Feb9682a8-b695-4513-aa27-0c1d334f19fa#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Feb9682a8-b695-4513-aa27-0c1d334f19fa","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"23e66102-4cfd-4726-9739-22d7504479cc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072480.8428981} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"33ac8da6-4f89-4dce-aaf9-5255fb83ce83","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072480.843231} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a99f1fd0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 27ms","method":"POST","requestID":"4f845aacdd911e270694060895bc4104","responseTime":27,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a998b730-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/f938f7d0-ca96-42e4-b78e-7e5325d35789? 200 46ms","method":"GET","requestID":"a998b730-8ba4-11ef-a62f-5f7f958aa687","responseTime":46,"status":200,"url":"/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":49,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:40Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a9986910-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4? 200 51ms","method":"GET","requestID":"a9986910-8ba4-11ef-a62f-5f7f958aa687","responseTime":51,"status":200,"url":"/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff938f7d0-ca96-42e4-b78e-7e5325d35789","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b94f546f-01c7-4368-acfa-598e901626ef","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072480.8529365} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":49,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.501198,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a99f1fd0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789","object_type":"device","rebac_allow":false,"scope_allow":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":"a99f1fd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a9a1b7e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a99f1fd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f938f7d0-ca96-42e4-b78e-7e5325d35789/signaling 200 22ms","method":"POST","requestID":"a99f1fd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":22,"status":200,"url":"/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789/signaling"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"4f845aacdd911e270694060895bc4104"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":50,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:40Z"} gateway-1 | {"time_local":"16/Oct/2024:09:54:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"812","request_time":"0.217","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4f845aacdd911e270694060895bc4104"} experiment-1 | {"level":"info","message":"POST /experiments? 201 209ms","method":"POST","requestID":"4f845aacdd911e270694060895bc4104","responseTime":209,"status":201,"url":"/experiments?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9b0cfa1-b708-42bc-a1b7-ff857da43be4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c30956d0-126b-4041-8374-100914b2c4b7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072480.8725061} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":50,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.714522,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a9a1b7e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4","object_type":"device","rebac_allow":false,"scope_allow":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":"a9a1b7e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4MH0.-gj18XdLw4PBBnkoZHTln6W4DfBTSbUWiN0nop09R30","level":"info","message":"auth send jwt","requestID":"ca3c7446019ad2dda26a77a6fa5c919b"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"ca3c7446019ad2dda26a77a6fa5c919b","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ca3c7446019ad2dda26a77a6fa5c919b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a9a1b7e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4/signaling 200 22ms","method":"POST","requestID":"a9a1b7e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":22,"status":200,"url":"/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4/signaling"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":51,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":51,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.547576,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ca3c7446019ad2dda26a77a6fa5c919b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072480,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4MH0.-gj18XdLw4PBBnkoZHTln6W4DfBTSbUWiN0nop09R30"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ca3c7446019ad2dda26a77a6fa5c919b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a9a5af80-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":52,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff938f7d0-ca96-42e4-b78e-7e5325d35789","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"27ceef3b-5a8f-467a-a312-302cefde935a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072480.8956628} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9b0cfa1-b708-42bc-a1b7-ff857da43be4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9b0cfa1-b708-42bc-a1b7-ff857da43be4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:38.368998006Z"}]},"request_id":"be1f478a-1fdd-4399-8166-236fb06dd027","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072480.8965986} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"ca3c7446019ad2dda26a77a6fa5c919b","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":52,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.800936,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a9a5af80-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789","object_type":"device","rebac_allow":false,"scope_allow":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":"a9a5af80-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ca3c7446019ad2dda26a77a6fa5c919b"} gateway-1 | {"time_local":"16/Oct/2024:09:54:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4? 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":"ca3c7446019ad2dda26a77a6fa5c919b"} device-1 | {"level":"info","message":"GET /devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4? 200 25ms","method":"GET","requestID":"ca3c7446019ad2dda26a77a6fa5c919b","responseTime":25,"status":200,"url":"/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a9a5af80-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f938f7d0-ca96-42e4-b78e-7e5325d35789/signaling 200 19ms","method":"POST","requestID":"a9a5af80-8ba4-11ef-a62f-5f7f958aa687","responseTime":19,"status":200,"url":"/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"4f845aacdd911e270694060895bc4104"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a9a90ae0-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4MH0.-gj18XdLw4PBBnkoZHTln6W4DfBTSbUWiN0nop09R30","level":"info","message":"auth send jwt","requestID":"9537c836ab99e691f5ead35435fad608"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"9537c836ab99e691f5ead35435fad608","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a9a98010-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9537c836ab99e691f5ead35435fad608"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":53,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":53,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.035036,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37350","level":"info","msg":"Received request.","req_id":54,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a9a90ae0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072480,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4MH0.-gj18XdLw4PBBnkoZHTln6W4DfBTSbUWiN0nop09R30"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"a9a90ae0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37350","level":"info","msg":"Sent response.","req_id":54,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.203021,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a9a98010-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072480,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4MH0.-gj18XdLw4PBBnkoZHTln6W4DfBTSbUWiN0nop09R30"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"a9a98010-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9b0cfa1-b708-42bc-a1b7-ff857da43be4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9b0cfa1-b708-42bc-a1b7-ff857da43be4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:38.368998006Z"}]},"request_id":"01b9532f-1f20-4ab8-8e7a-d21c75ba66aa","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072480.9278028} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"a9a90ae0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37362","level":"info","msg":"Received request.","req_id":55,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37362","level":"info","msg":"Sent response.","req_id":55,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.066065,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff938f7d0-ca96-42e4-b78e-7e5325d35789","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff938f7d0-ca96-42e4-b78e-7e5325d35789","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:38.419947797Z"}]},"request_id":"29c3ef4c-0fcc-47a8-9b3f-f2424be6e139","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072480.930793} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"9537c836ab99e691f5ead35435fad608","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072480,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4MH0.-gj18XdLw4PBBnkoZHTln6W4DfBTSbUWiN0nop09R30"} authorization-1 | {"level":"info","message":"POST /authorize 200 13ms","method":"POST","requestID":"9537c836ab99e691f5ead35435fad608","responseTime":13,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"a9a98010-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a9a90ae0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4? 200 27ms","method":"GET","requestID":"a9a90ae0-8ba4-11ef-a62f-5f7f958aa687","responseTime":27,"status":200,"url":"/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff938f7d0-ca96-42e4-b78e-7e5325d35789","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff938f7d0-ca96-42e4-b78e-7e5325d35789","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:38.419947797Z"}]},"request_id":"0ade392f-0679-42e0-b2bf-9f4d0a85462c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072480.9387062} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9537c836ab99e691f5ead35435fad608","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a9a98010-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/f938f7d0-ca96-42e4-b78e-7e5325d35789? 200 29ms","method":"GET","requestID":"a9a98010-8ba4-11ef-a62f-5f7f958aa687","responseTime":29,"status":200,"url":"/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa"},"level":"info","message":"Building connection plan","requestID":"4f845aacdd911e270694060895bc4104"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9537c836ab99e691f5ead35435fad608"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"366d98b6-8af9-4751-9274-ff6e172d83a6"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"404cdd36-b357-4d08-a5ae-2adc045e4dfa"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"b1379517-db8b-4482-bafe-7fa01d411de8"}]},"level":"info","message":"Built pairwise service configurations","requestID":"4f845aacdd911e270694060895bc4104"} 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/a9b0cfa1-b708-42bc-a1b7-ff857da43be4"},{"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/f938f7d0-ca96-42e4-b78e-7e5325d35789"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"4f845aacdd911e270694060895bc4104"} gateway-1 | {"time_local":"16/Oct/2024:09:54:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f938f7d0-ca96-42e4-b78e-7e5325d35789? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.038","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9537c836ab99e691f5ead35435fad608"} device-1 | {"level":"info","message":"GET /devices/f938f7d0-ca96-42e4-b78e-7e5325d35789? 200 29ms","method":"GET","requestID":"9537c836ab99e691f5ead35435fad608","responseTime":29,"status":200,"url":"/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789?"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"a9aed740-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":56,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":56,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.890596,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:40Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a9aed740-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072480,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4MH0.-gj18XdLw4PBBnkoZHTln6W4DfBTSbUWiN0nop09R30"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"a9aed740-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"f11e8a53-acd4-4fc7-8150-1b2bf7a09a91","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072480.9664843} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8392ec6f-84a7-45e1-8877-d695dee1d050","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072480.96668} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"a9aed740-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"a9aed740-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"a9aed740-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/d8a3450f-4965-49cd-b8b6-db04a4e59f45'","requestID":"a9aed740-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/d8a3450f-4965-49cd-b8b6-db04a4e59f45'","requestID":"a9aed740-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"a9aed740-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 36ms","method":"POST","requestID":"a9aed740-8ba4-11ef-a62f-5f7f958aa687","responseTime":36,"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":"a9aed740-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"4f845aacdd911e270694060895bc4104"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a9b9fad0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":57,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:41Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9b0cfa1-b708-42bc-a1b7-ff857da43be4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"96183019-3474-4df2-ad37-0ff96df8c7d4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072481.0265815} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":57,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.059944,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a9b9fad0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4","object_type":"device","rebac_allow":false,"scope_allow":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":"a9b9fad0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"device":"a9b0cfa1-b708-42bc-a1b7-ff857da43be4","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"a9b0cfa1-b708-42bc-a1b7-ff857da43be4","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a9b9fad0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4/signaling 200 15ms","method":"POST","requestID":"a9b9fad0-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a9bcb9f0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":58,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:41Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff938f7d0-ca96-42e4-b78e-7e5325d35789","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4ab56854-07d8-4f71-bf3d-63468f7af869","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072481.0436933} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":58,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.204593,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a9bcb9f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789","object_type":"device","rebac_allow":false,"scope_allow":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":"a9bcb9f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a9bcb9f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f938f7d0-ca96-42e4-b78e-7e5325d35789/signaling 200 9ms","method":"POST","requestID":"a9bcb9f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789/signaling"} device-1 | {"device":"f938f7d0-ca96-42e4-b78e-7e5325d35789","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":"d8a3450f-4965-49cd-b8b6-db04a4e59f45","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 5958678687918636735 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:uxK/\r\na=ice-pwd:xNQcYiKfC8B2AKVgAD6JHasJ\r\na=ice-options:trickle\r\na=fingerprint:sha-256 F3:30:B5:87:09:AD:CF:9C:21:06:0F:28:35:57:2C:16:85:B8:2C:19:72:45:FE:8D:B1:97:25:01:88:1E:1F:B4\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"a9b0cfa1-b708-42bc-a1b7-ff857da43be4","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:735678850 1 udp 2113937151 7025c965-853e-4f82-9630-5df72058a6c4.local 59165 typ host generation 0 ufrag uxK/ network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"a9b0cfa1-b708-42bc-a1b7-ff857da43be4","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"a9b0cfa1-b708-42bc-a1b7-ff857da43be4","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:2952068093 1 udp 1677729535 141.24.211.56 59165 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag uxK/ network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"a9b0cfa1-b708-42bc-a1b7-ff857da43be4","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"a9b0cfa1-b708-42bc-a1b7-ff857da43be4","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"f938f7d0-ca96-42e4-b78e-7e5325d35789","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":"f938f7d0-ca96-42e4-b78e-7e5325d35789","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":"f938f7d0-ca96-42e4-b78e-7e5325d35789","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":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4'"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/d8a3450f-4965-49cd-b8b6-db04a4e59f45' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d8a3450f-4965-49cd-b8b6-db04a4e59f45","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b6e732d320c0a6c9efef742a12822996","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"b6e732d320c0a6c9efef742a12822996","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/a9b0cfa1-b708-42bc-a1b7-ff857da43be4"},{"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/f938f7d0-ca96-42e4-b78e-7e5325d35789"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/d8a3450f-4965-49cd-b8b6-db04a4e59f45"}}},"level":"info","message":"received a callback","requestID":"b6e732d320c0a6c9efef742a12822996"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 10ms","method":"POST","requestID":"b6e732d320c0a6c9efef742a12822996","responseTime":10,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:54: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.013","http_referrer":"","http_user_agent":"node-fetch","requestID":"b6e732d320c0a6c9efef742a12822996"} device-1 | {"data":{"peerconnection":"d8a3450f-4965-49cd-b8b6-db04a4e59f45","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"f938f7d0-ca96-42e4-b78e-7e5325d35789","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":"a9b0cfa1-b708-42bc-a1b7-ff857da43be4","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"f938f7d0-ca96-42e4-b78e-7e5325d35789","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":"d8a3450f-4965-49cd-b8b6-db04a4e59f45","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"a9b0cfa1-b708-42bc-a1b7-ff857da43be4","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/d8a3450f-4965-49cd-b8b6-db04a4e59f45' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d8a3450f-4965-49cd-b8b6-db04a4e59f45","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"39bba5340bedebf65a3abd0ee52ac157","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"39bba5340bedebf65a3abd0ee52ac157","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/a9b0cfa1-b708-42bc-a1b7-ff857da43be4"},{"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/f938f7d0-ca96-42e4-b78e-7e5325d35789"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/d8a3450f-4965-49cd-b8b6-db04a4e59f45"}}},"level":"info","message":"received a callback","requestID":"39bba5340bedebf65a3abd0ee52ac157"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"ab00f9c0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":59,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:43Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd8a3450f-4965-49cd-b8b6-db04a4e59f45","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"65017e55-efa4-4ad0-ad64-56aa0132a2cc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072483.1714544} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":59,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.219564,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/d8a3450f-4965-49cd-b8b6-db04a4e59f45","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ab00f9c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/d8a3450f-4965-49cd-b8b6-db04a4e59f45","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":"ab00f9c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"ab00f9c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/d8a3450f-4965-49cd-b8b6-db04a4e59f45 200 12ms","method":"GET","requestID":"ab00f9c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/peerconnections/d8a3450f-4965-49cd-b8b6-db04a4e59f45"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 43ms","method":"POST","requestID":"39bba5340bedebf65a3abd0ee52ac157","responseTime":43,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:54: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.046","http_referrer":"","http_user_agent":"node-fetch","requestID":"39bba5340bedebf65a3abd0ee52ac157"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ab067800-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":60,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:43Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9b0cfa1-b708-42bc-a1b7-ff857da43be4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5987a3c1-a88a-4bce-8837-6dc3367c6ca2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072483.2067778} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":60,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.224557,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:43Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ab067800-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4","object_type":"device","rebac_allow":false,"scope_allow":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":"ab067800-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ab067800-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4/signaling 200 15ms","method":"POST","requestID":"ab067800-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ab095e30-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":61,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:43Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff938f7d0-ca96-42e4-b78e-7e5325d35789","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"64576134-9757-4ac3-bc5b-a2abc22ed726","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072483.2267046} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":61,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.483724,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:43Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ab095e30-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789","object_type":"device","rebac_allow":false,"scope_allow":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":"ab095e30-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ab095e30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f938f7d0-ca96-42e4-b78e-7e5325d35789/signaling 200 14ms","method":"POST","requestID":"ab095e30-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4M30.pgY5j_B07L5V_QdB4m7YPDX4_PVkCLVdGdLOcRZkwJw","level":"info","message":"auth send jwt","requestID":"491df07953dbdab8e22f8a754aca1473"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"491df07953dbdab8e22f8a754aca1473","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa","requestID":"491df07953dbdab8e22f8a754aca1473"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":62,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:43Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":62,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.500231,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"491df07953dbdab8e22f8a754aca1473","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072483,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4M30.pgY5j_B07L5V_QdB4m7YPDX4_PVkCLVdGdLOcRZkwJw"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"491df07953dbdab8e22f8a754aca1473","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa","requestID":"491df07953dbdab8e22f8a754aca1473"} gateway-1 | {"time_local":"16/Oct/2024:09:54:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa HTTP/1.1","status": "200","body_bytes_sent":"885","request_time":"0.027","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"491df07953dbdab8e22f8a754aca1473"} experiment-1 | {"level":"info","message":"GET /experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa 200 20ms","method":"GET","requestID":"491df07953dbdab8e22f8a754aca1473","responseTime":20,"status":200,"url":"/experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4M30.pgY5j_B07L5V_QdB4m7YPDX4_PVkCLVdGdLOcRZkwJw","level":"info","message":"auth send jwt","requestID":"40a2b291269de4f91f50f45408173f53"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"40a2b291269de4f91f50f45408173f53","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa","requestID":"40a2b291269de4f91f50f45408173f53"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":63,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:43Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":63,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":2.634079,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:43Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"40a2b291269de4f91f50f45408173f53","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072483,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4M30.pgY5j_B07L5V_QdB4m7YPDX4_PVkCLVdGdLOcRZkwJw"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"40a2b291269de4f91f50f45408173f53","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa"},"level":"info","message":"Attempting to finish experiment","requestID":"40a2b291269de4f91f50f45408173f53"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"ab15e150-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":64,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:43Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":64,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.226523,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:43Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/d8a3450f-4965-49cd-b8b6-db04a4e59f45","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ab15e150-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/d8a3450f-4965-49cd-b8b6-db04a4e59f45","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072483,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4M30.pgY5j_B07L5V_QdB4m7YPDX4_PVkCLVdGdLOcRZkwJw"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ab15e150-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/d8a3450f-4965-49cd-b8b6-db04a4e59f45","device":"a9b0cfa1-b708-42bc-a1b7-ff857da43be4","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"f938f7d0-ca96-42e4-b78e-7e5325d35789","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":"f938f7d0-ca96-42e4-b78e-7e5325d35789","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":"f938f7d0-ca96-42e4-b78e-7e5325d35789","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/d8a3450f-4965-49cd-b8b6-db04a4e59f45' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/d8a3450f-4965-49cd-b8b6-db04a4e59f45' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d8a3450f-4965-49cd-b8b6-db04a4e59f45","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd8a3450f-4965-49cd-b8b6-db04a4e59f45': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd8a3450f-4965-49cd-b8b6-db04a4e59f45","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"023809d7-49c3-402c-ac6d-a8f0981d9145","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072483.3400903} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9851afd8-8477-42f7-804b-9b182c1b904e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072483.3404434} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0f761c9e74c503a865dcacf1c0c046dd","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"0f761c9e74c503a865dcacf1c0c046dd","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"ab15e150-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"5803cc8ce3d1de926536f2e9599b2f59","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"5803cc8ce3d1de926536f2e9599b2f59","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/a9b0cfa1-b708-42bc-a1b7-ff857da43be4"},{"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/f938f7d0-ca96-42e4-b78e-7e5325d35789"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/d8a3450f-4965-49cd-b8b6-db04a4e59f45"}}},"level":"info","message":"received a callback","requestID":"0f761c9e74c503a865dcacf1c0c046dd"} 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/a9b0cfa1-b708-42bc-a1b7-ff857da43be4"},{"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/f938f7d0-ca96-42e4-b78e-7e5325d35789"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/d8a3450f-4965-49cd-b8b6-db04a4e59f45"}}},"level":"info","message":"received a callback","requestID":"5803cc8ce3d1de926536f2e9599b2f59"} device-1 | {"data":{"peerconnection":"d8a3450f-4965-49cd-b8b6-db04a4e59f45","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"ab15e150-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/d8a3450f-4965-49cd-b8b6-db04a4e59f45 204 65ms","method":"DELETE","requestID":"ab15e150-8ba4-11ef-a62f-5f7f958aa687","responseTime":65,"status":204,"url":"/peerconnections/d8a3450f-4965-49cd-b8b6-db04a4e59f45"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa"},"level":"info","message":"Successfully finished experiment","requestID":"40a2b291269de4f91f50f45408173f53"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ab243930-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":65,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:43Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9b0cfa1-b708-42bc-a1b7-ff857da43be4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a3d8212f-6511-4391-90dd-68fb66ebf0e9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072483.4031944} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":65,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.02051,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:43Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ab243930-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4","object_type":"device","rebac_allow":false,"scope_allow":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":"ab243930-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ab243930-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4/signaling 200 15ms","method":"POST","requestID":"ab243930-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/a9b0cfa1-b708-42bc-a1b7-ff857da43be4/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Feb9682a8-b695-4513-aa27-0c1d334f19fa': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Feb9682a8-b695-4513-aa27-0c1d334f19fa","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"bdd2e6c5-5e4e-4047-899d-455daeec76e8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072483.4131045} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"bf1386d4-9a6a-47d2-a251-43e488bed58b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072483.413388} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ab271f60-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"40a2b291269de4f91f50f45408173f53","responseTime":22,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":66,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:43Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff938f7d0-ca96-42e4-b78e-7e5325d35789","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"07595d1e-0f37-4f2a-99b7-9b8c1f4501e0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072483.419577} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":66,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.192963,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:43Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ab271f60-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789","object_type":"device","rebac_allow":false,"scope_allow":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":"ab271f60-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ab271f60-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f938f7d0-ca96-42e4-b78e-7e5325d35789/signaling 200 13ms","method":"POST","requestID":"ab271f60-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/f938f7d0-ca96-42e4-b78e-7e5325d35789/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa","requestID":"40a2b291269de4f91f50f45408173f53"} gateway-1 | {"time_local":"16/Oct/2024:09:54:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.210","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"40a2b291269de4f91f50f45408173f53"} gateway-1 | {"time_local":"16/Oct/2024:09:54:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3029","request_time":"4.427","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"3fc605948b5f82c8dc95202f1b9530d3"} experiment-1 | {"level":"info","message":"DELETE /experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa 204 206ms","method":"DELETE","requestID":"40a2b291269de4f91f50f45408173f53","responseTime":206,"status":204,"url":"/experiments/eb9682a8-b695-4513-aa27-0c1d334f19fa"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 142ms","method":"POST","requestID":"0f761c9e74c503a865dcacf1c0c046dd","responseTime":142,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:54: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.148","http_referrer":"","http_user_agent":"node-fetch","requestID":"0f761c9e74c503a865dcacf1c0c046dd"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 139ms","method":"POST","requestID":"5803cc8ce3d1de926536f2e9599b2f59","responseTime":139,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:54: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.148","http_referrer":"","http_user_agent":"node-fetch","requestID":"5803cc8ce3d1de926536f2e9599b2f59"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4M30.pgY5j_B07L5V_QdB4m7YPDX4_PVkCLVdGdLOcRZkwJw","level":"info","message":"auth send jwt","requestID":"a8cb13ff97546a9edd0a562bc41735e4"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a8cb13ff97546a9edd0a562bc41735e4","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"a8cb13ff97546a9edd0a562bc41735e4"} gateway-1 | {"time_local":"16/Oct/2024:09:54:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2891","request_time":"3.010","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"424cfa4fe4c0077f1e9b94695302f134"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":67,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:43Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":67,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.878952,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:43Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a8cb13ff97546a9edd0a562bc41735e4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072483,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4M30.pgY5j_B07L5V_QdB4m7YPDX4_PVkCLVdGdLOcRZkwJw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a8cb13ff97546a9edd0a562bc41735e4","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/f938f7d0-ca96-42e4-b78e-7e5325d35789' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9873670-fe7b-4296-b906-961a086e274c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"92a8cda4-bfeb-48a3-b2b3-96714638870f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072483.5150497} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"a8cb13ff97546a9edd0a562bc41735e4","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/a9b0cfa1-b708-42bc-a1b7-ff857da43be4' 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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fa0807bb-e50c-4c46-aab3-f8016afb4c5a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072483.522625} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"a8cb13ff97546a9edd0a562bc41735e4","responseTime":7,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9873670-fe7b-4296-b906-961a086e274c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"0ff174af-5f17-48c9-a0c6-09c4cc665b25","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072483.5341525} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"56084974-f40a-4e07-8db7-93db73035012","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072483.5343187} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"a8cb13ff97546a9edd0a562bc41735e4","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9873670-fe7b-4296-b906-961a086e274c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9873670-fe7b-4296-b906-961a086e274c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:43.534136403Z"}]},"request_id":"2565d052-264a-42f7-876c-27d4f7cfbeb9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072483.544095} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a8cb13ff97546a9edd0a562bc41735e4","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"a8cb13ff97546a9edd0a562bc41735e4"} gateway-1 | {"time_local":"16/Oct/2024:09:54: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.061","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a8cb13ff97546a9edd0a562bc41735e4"} device-1 | {"level":"info","message":"POST /devices? 201 54ms","method":"POST","requestID":"a8cb13ff97546a9edd0a562bc41735e4","responseTime":54,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4M30.pgY5j_B07L5V_QdB4m7YPDX4_PVkCLVdGdLOcRZkwJw","level":"info","message":"auth send jwt","requestID":"cc4841df67d1b33cbef2710bd6da4635"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"cc4841df67d1b33cbef2710bd6da4635","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"cc4841df67d1b33cbef2710bd6da4635"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":68,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:43Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":68,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.835733,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:43Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cc4841df67d1b33cbef2710bd6da4635","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072483,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4M30.pgY5j_B07L5V_QdB4m7YPDX4_PVkCLVdGdLOcRZkwJw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"cc4841df67d1b33cbef2710bd6da4635","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"e9803019-5513-4e84-bf49-e49e2c44b8b0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072483.5764246} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"cc4841df67d1b33cbef2710bd6da4635","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3cf9aa9b-fb29-4010-ad68-b546a3e56697","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072483.5815797} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"cc4841df67d1b33cbef2710bd6da4635","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"acff9099-91ae-40ba-b074-50d739e1391d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072483.5931382} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a314d857-8963-497f-838d-a042e23e41fc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072483.5933688} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"cc4841df67d1b33cbef2710bd6da4635","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:43.593123369Z"}]},"request_id":"af9fdcaf-6ef6-4d85-ae2d-e5a5b9b24d60","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072483.5992115} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"cc4841df67d1b33cbef2710bd6da4635","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"cc4841df67d1b33cbef2710bd6da4635"} gateway-1 | {"time_local":"16/Oct/2024:09:54: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.054","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"cc4841df67d1b33cbef2710bd6da4635"} device-1 | {"level":"info","message":"POST /devices? 201 50ms","method":"POST","requestID":"cc4841df67d1b33cbef2710bd6da4635","responseTime":50,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4NH0.KlPH3_B2TGbc4Zlgh8mTVHL0uy2TXlidPXlAVhwfwsU","level":"info","message":"auth send jwt","requestID":"31361b7005ff8151277c258e2bfe0ffb"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"31361b7005ff8151277c258e2bfe0ffb","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"31361b7005ff8151277c258e2bfe0ffb"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":69,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:44Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":69,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.729997,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:44Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a9873670-fe7b-4296-b906-961a086e274c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"31361b7005ff8151277c258e2bfe0ffb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a9873670-fe7b-4296-b906-961a086e274c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072484,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4NH0.KlPH3_B2TGbc4Zlgh8mTVHL0uy2TXlidPXlAVhwfwsU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"31361b7005ff8151277c258e2bfe0ffb","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9873670-fe7b-4296-b906-961a086e274c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9873670-fe7b-4296-b906-961a086e274c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:43.534136403Z"}]},"request_id":"cc933257-088b-4862-bbc8-46bbdb913ad4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072484.1068354} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"31361b7005ff8151277c258e2bfe0ffb","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1dbe5ca5-9716-4095-ba25-7d7d3ae5abf7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072484.117314} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"31361b7005ff8151277c258e2bfe0ffb","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9873670-fe7b-4296-b906-961a086e274c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9873670-fe7b-4296-b906-961a086e274c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:43.534136403Z"}]},"request_id":"b3d33b10-36d1-4776-9b72-21c131cefc91","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072484.1319554} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"31361b7005ff8151277c258e2bfe0ffb","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"31361b7005ff8151277c258e2bfe0ffb"} gateway-1 | {"time_local":"16/Oct/2024:09:54:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/a9873670-fe7b-4296-b906-961a086e274c HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.058","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"31361b7005ff8151277c258e2bfe0ffb"} device-1 | {"level":"info","message":"PATCH /devices/a9873670-fe7b-4296-b906-961a086e274c 200 48ms","method":"PATCH","requestID":"31361b7005ff8151277c258e2bfe0ffb","responseTime":48,"status":200,"url":"/devices/a9873670-fe7b-4296-b906-961a086e274c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4NH0.KlPH3_B2TGbc4Zlgh8mTVHL0uy2TXlidPXlAVhwfwsU","level":"info","message":"auth send jwt","requestID":"5e4116a88601425846762eaa8ec38bea"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"5e4116a88601425846762eaa8ec38bea","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"5e4116a88601425846762eaa8ec38bea"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":70,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:44Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":70,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.845229,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:44Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a9873670-fe7b-4296-b906-961a086e274c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"5e4116a88601425846762eaa8ec38bea","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a9873670-fe7b-4296-b906-961a086e274c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072484,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4NH0.KlPH3_B2TGbc4Zlgh8mTVHL0uy2TXlidPXlAVhwfwsU"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"5e4116a88601425846762eaa8ec38bea","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"5e4116a88601425846762eaa8ec38bea"} gateway-1 | {"time_local":"16/Oct/2024:09:54:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/a9873670-fe7b-4296-b906-961a086e274c/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.10","requestID":"5e4116a88601425846762eaa8ec38bea"} device-1 | {"level":"info","message":"POST /devices/a9873670-fe7b-4296-b906-961a086e274c/websocket 200 21ms","method":"POST","requestID":"5e4116a88601425846762eaa8ec38bea","responseTime":21,"status":200,"url":"/devices/a9873670-fe7b-4296-b906-961a086e274c/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/a9873670-fe7b-4296-b906-961a086e274c' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ea3625b41475303e272a6f1b7a4ffbae","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"ea3625b41475303e272a6f1b7a4ffbae","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:54:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a/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":"ea3625b41475303e272a6f1b7a4ffbae"} device-1 | {"level":"info","message":"OPTIONS /devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a/websocket 200 2ms","method":"OPTIONS","requestID":"ea3625b41475303e272a6f1b7a4ffbae","responseTime":2,"status":200,"url":"/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4NX0.gvDpGVn8EoFhovjpM4hyIwZ_Ti7EEurWXSzUlY2SY_4","level":"info","message":"auth send jwt","requestID":"8684c36d0dbc6122eab792855cb63d65"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"8684c36d0dbc6122eab792855cb63d65","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"8684c36d0dbc6122eab792855cb63d65"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":71,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:45Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":71,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.255815,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:45Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"8684c36d0dbc6122eab792855cb63d65","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072485,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4NX0.gvDpGVn8EoFhovjpM4hyIwZ_Ti7EEurWXSzUlY2SY_4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8684c36d0dbc6122eab792855cb63d65","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"8684c36d0dbc6122eab792855cb63d65"} gateway-1 | {"time_local":"16/Oct/2024:09:54:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a/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":"8684c36d0dbc6122eab792855cb63d65"} device-1 | {"level":"info","message":"POST /devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a/websocket 200 25ms","method":"POST","requestID":"8684c36d0dbc6122eab792855cb63d65","responseTime":25,"status":200,"url":"/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b650cac3567ae421b15a1fbac8f26ba9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"b650cac3567ae421b15a1fbac8f26ba9","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:54:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a? 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":"b650cac3567ae421b15a1fbac8f26ba9"} device-1 | {"level":"info","message":"OPTIONS /devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a? 200 1ms","method":"OPTIONS","requestID":"b650cac3567ae421b15a1fbac8f26ba9","responseTime":1,"status":200,"url":"/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4NX0.gvDpGVn8EoFhovjpM4hyIwZ_Ti7EEurWXSzUlY2SY_4","level":"info","message":"auth send jwt","requestID":"4051cc10f0ce0575f3e15611827a4a2d"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"4051cc10f0ce0575f3e15611827a4a2d","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"4051cc10f0ce0575f3e15611827a4a2d"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":72,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:45Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":72,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.406738,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:45Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"4051cc10f0ce0575f3e15611827a4a2d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072485,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4NX0.gvDpGVn8EoFhovjpM4hyIwZ_Ti7EEurWXSzUlY2SY_4"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"4051cc10f0ce0575f3e15611827a4a2d","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:43.593123369Z"}]},"request_id":"0970ccac-0786-4f82-b7a0-8da15981d576","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072485.7481554} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"4051cc10f0ce0575f3e15611827a4a2d","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"317a2806-4301-4fbf-9543-faa348d19a14","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072485.7575986} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"4051cc10f0ce0575f3e15611827a4a2d","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:43.593123369Z"}]},"request_id":"f9b20fd8-e704-4465-ac45-6b6442a623d3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072485.7712076} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"4051cc10f0ce0575f3e15611827a4a2d","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"4051cc10f0ce0575f3e15611827a4a2d"} gateway-1 | {"time_local":"16/Oct/2024:09:54:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a? HTTP/1.1","status": "200","body_bytes_sent":"998","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":"4051cc10f0ce0575f3e15611827a4a2d"} device-1 | {"level":"info","message":"PATCH /devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a? 200 44ms","method":"PATCH","requestID":"4051cc10f0ce0575f3e15611827a4a2d","responseTime":44,"status":200,"url":"/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4NX0.gvDpGVn8EoFhovjpM4hyIwZ_Ti7EEurWXSzUlY2SY_4","level":"info","message":"auth send jwt","requestID":"a6e4399d44848aa34998d329300010d6"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"a6e4399d44848aa34998d329300010d6","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a6e4399d44848aa34998d329300010d6"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":73,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:45Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":73,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.243562,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a9873670-fe7b-4296-b906-961a086e274c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a6e4399d44848aa34998d329300010d6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a9873670-fe7b-4296-b906-961a086e274c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072485,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4NX0.gvDpGVn8EoFhovjpM4hyIwZ_Ti7EEurWXSzUlY2SY_4"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"a6e4399d44848aa34998d329300010d6","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9873670-fe7b-4296-b906-961a086e274c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9873670-fe7b-4296-b906-961a086e274c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:43.534136403Z"}]},"request_id":"ef6d4565-79f8-4021-97c8-ab69cc67d388","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072485.803443} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"a6e4399d44848aa34998d329300010d6","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a6e4399d44848aa34998d329300010d6"} gateway-1 | {"time_local":"16/Oct/2024:09:54:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a9873670-fe7b-4296-b906-961a086e274c? 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":"a6e4399d44848aa34998d329300010d6"} device-1 | {"level":"info","message":"GET /devices/a9873670-fe7b-4296-b906-961a086e274c? 200 20ms","method":"GET","requestID":"a6e4399d44848aa34998d329300010d6","responseTime":20,"status":200,"url":"/devices/a9873670-fe7b-4296-b906-961a086e274c?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4NX0.gvDpGVn8EoFhovjpM4hyIwZ_Ti7EEurWXSzUlY2SY_4","level":"info","message":"auth send jwt","requestID":"b6e18a50ceb54109a0a9121e3dfb7762"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b6e18a50ceb54109a0a9121e3dfb7762","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b6e18a50ceb54109a0a9121e3dfb7762"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":74,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:45Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":74,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.333782,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b6e18a50ceb54109a0a9121e3dfb7762","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072485,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4NX0.gvDpGVn8EoFhovjpM4hyIwZ_Ti7EEurWXSzUlY2SY_4"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"b6e18a50ceb54109a0a9121e3dfb7762","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:43.593123369Z"}]},"request_id":"127c9f0f-a287-4c84-8cbe-5b8d4a550d35","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072485.8306458} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b6e18a50ceb54109a0a9121e3dfb7762","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b6e18a50ceb54109a0a9121e3dfb7762"} gateway-1 | {"time_local":"16/Oct/2024:09:54:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a? 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":"b6e18a50ceb54109a0a9121e3dfb7762"} device-1 | {"level":"info","message":"GET /devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a? 200 20ms","method":"GET","requestID":"b6e18a50ceb54109a0a9121e3dfb7762","responseTime":20,"status":200,"url":"/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4NX0.gvDpGVn8EoFhovjpM4hyIwZ_Ti7EEurWXSzUlY2SY_4","level":"info","message":"auth send jwt","requestID":"2611fdf8232f5fb5515f13dc14e6b05a"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"2611fdf8232f5fb5515f13dc14e6b05a","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"2611fdf8232f5fb5515f13dc14e6b05a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":75,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:45Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":75,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.473155,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:45Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"2611fdf8232f5fb5515f13dc14e6b05a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072485,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4NX0.gvDpGVn8EoFhovjpM4hyIwZ_Ti7EEurWXSzUlY2SY_4"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"2611fdf8232f5fb5515f13dc14e6b05a","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0"},"level":"info","message":"Attempting to run experiment","requestID":"2611fdf8232f5fb5515f13dc14e6b05a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0"},"level":"info","message":"Attempting to book experiment","requestID":"2611fdf8232f5fb5515f13dc14e6b05a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0"},"level":"info","message":"Successfully booked experiment","requestID":"2611fdf8232f5fb5515f13dc14e6b05a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"aca226a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"aca29bd0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":76,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:45Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":76,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.425232,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a9873670-fe7b-4296-b906-961a086e274c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"aca226a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a9873670-fe7b-4296-b906-961a086e274c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072485,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4NX0.gvDpGVn8EoFhovjpM4hyIwZ_Ti7EEurWXSzUlY2SY_4"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"aca226a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52498","level":"info","msg":"Received request.","req_id":77,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:45Z"} authorization-1 | {"client_addr":"127.0.0.1:52498","level":"info","msg":"Sent response.","req_id":77,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.071895,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"aca29bd0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072485,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4NX0.gvDpGVn8EoFhovjpM4hyIwZ_Ti7EEurWXSzUlY2SY_4"} authorization-1 | {"level":"info","message":"POST /authorize 200 14ms","method":"POST","requestID":"aca29bd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9873670-fe7b-4296-b906-961a086e274c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9873670-fe7b-4296-b906-961a086e274c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:43.534136403Z"}]},"request_id":"167e2fff-b2e5-4aee-8e2d-39be00f51eb8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072485.9158747} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"aca226a0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:43.593123369Z"}]},"request_id":"f18f5cad-ad9b-4742-b80f-a4817b24b13f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072485.9241247} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"aca226a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"aca29bd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/a9873670-fe7b-4296-b906-961a086e274c? 200 28ms","method":"GET","requestID":"aca226a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":28,"status":200,"url":"/devices/a9873670-fe7b-4296-b906-961a086e274c?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"aca29bd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a? 200 31ms","method":"GET","requestID":"aca29bd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":31,"status":200,"url":"/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0"},"level":"info","message":"Setting up experiment","requestID":"2611fdf8232f5fb5515f13dc14e6b05a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"2611fdf8232f5fb5515f13dc14e6b05a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0"},"level":"info","message":"Successfully locked booking for experiment","requestID":"2611fdf8232f5fb5515f13dc14e6b05a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"2611fdf8232f5fb5515f13dc14e6b05a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"2611fdf8232f5fb5515f13dc14e6b05a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0"},"level":"info","message":"Attempting to update booking for experiment","requestID":"2611fdf8232f5fb5515f13dc14e6b05a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0"},"level":"info","message":"Successfully updated booking for experiment","requestID":"2611fdf8232f5fb5515f13dc14e6b05a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0"},"level":"info","message":"Successfully set up experiment","requestID":"2611fdf8232f5fb5515f13dc14e6b05a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"acb25340-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"acb2c870-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"acb33da0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":78,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:46Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0"},"level":"info","message":"Successfully running experiment","requestID":"2611fdf8232f5fb5515f13dc14e6b05a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":78,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.826622,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:46Z"} authorization-1 | {"client_addr":"127.0.0.1:52498","level":"info","msg":"Received request.","req_id":79,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a9873670-fe7b-4296-b906-961a086e274c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"acb25340-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a9873670-fe7b-4296-b906-961a086e274c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072485,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4NX0.gvDpGVn8EoFhovjpM4hyIwZ_Ti7EEurWXSzUlY2SY_4"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"acb25340-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52498","level":"info","msg":"Sent response.","req_id":79,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.401745,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"acb2c870-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072485,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4NX0.gvDpGVn8EoFhovjpM4hyIwZ_Ti7EEurWXSzUlY2SY_4"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"acb2c870-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":80,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:46Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":80,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.200102,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:46Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9873670-fe7b-4296-b906-961a086e274c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ac8ff330-aa68-4b22-a7a0-13da94b14a72","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072486.0217822} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a9873670-fe7b-4296-b906-961a086e274c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"acb33da0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a9873670-fe7b-4296-b906-961a086e274c","object_type":"device","rebac_allow":false,"scope_allow":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":"acb33da0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:43.593123369Z"}]},"request_id":"635428e8-793f-4bee-b998-558260c396f5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072486.026923} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"acb2c870-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"acb33da0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9873670-fe7b-4296-b906-961a086e274c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9873670-fe7b-4296-b906-961a086e274c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:43.534136403Z"}]},"request_id":"93dceb5f-0c90-40e4-853e-7812015719c4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072486.0313897} device-1 | {"level":"info","message":"POST /devices/a9873670-fe7b-4296-b906-961a086e274c/signaling 200 23ms","method":"POST","requestID":"acb33da0-8ba4-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/a9873670-fe7b-4296-b906-961a086e274c/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"acb25340-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F8658112d-9f79-4dac-a157-2a15f96aeaf0#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F8658112d-9f79-4dac-a157-2a15f96aeaf0","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"0bf07ed4-5281-420a-a86c-33827876fca3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072486.0387795} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7dc98ed6-9633-42ff-acab-da2980080f45","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072486.0390732} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"acb7aa70-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"2611fdf8232f5fb5515f13dc14e6b05a","responseTime":22,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"acb2c870-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":81,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:46Z"} device-1 | {"level":"info","message":"GET /devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a? 200 38ms","method":"GET","requestID":"acb2c870-8ba4-11ef-a62f-5f7f958aa687","responseTime":38,"status":200,"url":"/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"acb25340-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0a76021f-17e8-4245-854e-de6e5d3b1a6a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072486.0471983} device-1 | {"level":"info","message":"GET /devices/a9873670-fe7b-4296-b906-961a086e274c? 200 43ms","method":"GET","requestID":"acb25340-8ba4-11ef-a62f-5f7f958aa687","responseTime":43,"status":200,"url":"/devices/a9873670-fe7b-4296-b906-961a086e274c?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":81,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.281228,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:46Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"acb7aa70-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","object_type":"device","rebac_allow":false,"scope_allow":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":"acb7aa70-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"acb9f460-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"acb7aa70-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a/signaling 200 19ms","method":"POST","requestID":"acb7aa70-8ba4-11ef-a62f-5f7f958aa687","responseTime":19,"status":200,"url":"/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a/signaling"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":82,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:46Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"2611fdf8232f5fb5515f13dc14e6b05a"} gateway-1 | {"time_local":"16/Oct/2024:09:54:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"812","request_time":"0.221","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2611fdf8232f5fb5515f13dc14e6b05a"} experiment-1 | {"level":"info","message":"POST /experiments? 201 215ms","method":"POST","requestID":"2611fdf8232f5fb5515f13dc14e6b05a","responseTime":215,"status":201,"url":"/experiments?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9873670-fe7b-4296-b906-961a086e274c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"deafedd3-367f-4648-a744-6167f93f1cff","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072486.0627913} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":82,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.297847,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:46Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a9873670-fe7b-4296-b906-961a086e274c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"acb9f460-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a9873670-fe7b-4296-b906-961a086e274c","object_type":"device","rebac_allow":false,"scope_allow":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":"acb9f460-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4Nn0.oqHtynsSH2H40wtBmHr8NdLat-nb6qdluTGECa9i7Ew","level":"info","message":"auth send jwt","requestID":"68005a656e9d8c9f9861cccad389eb9e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"acb9f460-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/a9873670-fe7b-4296-b906-961a086e274c/signaling 200 16ms","method":"POST","requestID":"acb9f460-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/a9873670-fe7b-4296-b906-961a086e274c/signaling"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"68005a656e9d8c9f9861cccad389eb9e","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"68005a656e9d8c9f9861cccad389eb9e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"acbd01a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":83,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:46Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":83,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.062655,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:46Z"} authorization-1 | {"client_addr":"127.0.0.1:52498","level":"info","msg":"Received request.","req_id":84,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a9873670-fe7b-4296-b906-961a086e274c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"68005a656e9d8c9f9861cccad389eb9e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a9873670-fe7b-4296-b906-961a086e274c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072486,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4Nn0.oqHtynsSH2H40wtBmHr8NdLat-nb6qdluTGECa9i7Ew"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"68005a656e9d8c9f9861cccad389eb9e","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a6fa602f-fc3d-4e13-84ae-b5611de60314","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072486.0802197} authorization-1 | {"client_addr":"127.0.0.1:52498","level":"info","msg":"Sent response.","req_id":84,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.759116,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:46Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"acbd01a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","object_type":"device","rebac_allow":false,"scope_allow":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":"acbd01a0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9873670-fe7b-4296-b906-961a086e274c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9873670-fe7b-4296-b906-961a086e274c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:43.534136403Z"}]},"request_id":"c2d1a61a-ddc0-4dec-8584-a3e9d496c8e0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072486.0854688} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"acbd01a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a/signaling 200 12ms","method":"POST","requestID":"acbd01a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"68005a656e9d8c9f9861cccad389eb9e","responseTime":4,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"2611fdf8232f5fb5515f13dc14e6b05a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"acbf72a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"acbfc0c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"68005a656e9d8c9f9861cccad389eb9e"} gateway-1 | {"time_local":"16/Oct/2024:09:54:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a9873670-fe7b-4296-b906-961a086e274c? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.030","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"68005a656e9d8c9f9861cccad389eb9e"} device-1 | {"level":"info","message":"GET /devices/a9873670-fe7b-4296-b906-961a086e274c? 200 23ms","method":"GET","requestID":"68005a656e9d8c9f9861cccad389eb9e","responseTime":23,"status":200,"url":"/devices/a9873670-fe7b-4296-b906-961a086e274c?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":85,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:46Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":85,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.349429,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:46Z"} authorization-1 | {"client_addr":"127.0.0.1:52498","level":"info","msg":"Received request.","req_id":86,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a9873670-fe7b-4296-b906-961a086e274c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"acbf72a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a9873670-fe7b-4296-b906-961a086e274c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072485,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4NX0.gvDpGVn8EoFhovjpM4hyIwZ_Ti7EEurWXSzUlY2SY_4"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"acbf72a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52498","level":"info","msg":"Sent response.","req_id":86,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.3172,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"acbfc0c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072485,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4NX0.gvDpGVn8EoFhovjpM4hyIwZ_Ti7EEurWXSzUlY2SY_4"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"acbfc0c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4Nn0.oqHtynsSH2H40wtBmHr8NdLat-nb6qdluTGECa9i7Ew","level":"info","message":"auth send jwt","requestID":"48c3219148c2a88301a4b38c1df107f1"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"48c3219148c2a88301a4b38c1df107f1","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"48c3219148c2a88301a4b38c1df107f1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9873670-fe7b-4296-b906-961a086e274c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9873670-fe7b-4296-b906-961a086e274c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:43.534136403Z"}]},"request_id":"3442af6c-5871-4fd7-93b7-63075c691d1d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072486.103078} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"acbf72a0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:43.593123369Z"}]},"request_id":"71902aad-f828-40c0-a7aa-72179818b5e0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072486.1051126} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"acbf72a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/a9873670-fe7b-4296-b906-961a086e274c? 200 20ms","method":"GET","requestID":"acbf72a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":20,"status":200,"url":"/devices/a9873670-fe7b-4296-b906-961a086e274c?"} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"acbfc0c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":87,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:46Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":87,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.936403,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"48c3219148c2a88301a4b38c1df107f1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072486,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4Nn0.oqHtynsSH2H40wtBmHr8NdLat-nb6qdluTGECa9i7Ew"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"48c3219148c2a88301a4b38c1df107f1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"acbfc0c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a? 200 24ms","method":"GET","requestID":"acbfc0c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":24,"status":200,"url":"/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:43.593123369Z"}]},"request_id":"3e355ae9-aecb-4811-ac79-d02b72fbcc2a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072486.1168945} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"48c3219148c2a88301a4b38c1df107f1","responseTime":4,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0"},"level":"info","message":"Building connection plan","requestID":"2611fdf8232f5fb5515f13dc14e6b05a"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"bc08aeca-f303-48e0-b65a-053adb060ce0"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"b23077d5-9ebc-43d0-95a9-5148c63f3f86"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"f38e61b4-b824-4dfe-8ab9-685c2138ba8f"}]},"level":"info","message":"Built pairwise service configurations","requestID":"2611fdf8232f5fb5515f13dc14e6b05a"} 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/a9873670-fe7b-4296-b906-961a086e274c"},{"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/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"2611fdf8232f5fb5515f13dc14e6b05a"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"48c3219148c2a88301a4b38c1df107f1"} gateway-1 | {"time_local":"16/Oct/2024:09:54:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a? 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":"48c3219148c2a88301a4b38c1df107f1"} device-1 | {"level":"info","message":"GET /devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a? 200 19ms","method":"GET","requestID":"48c3219148c2a88301a4b38c1df107f1","responseTime":19,"status":200,"url":"/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a?"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"acc47bb0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":88,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:46Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":88,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.966378,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:46Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"acc47bb0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072485,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4NX0.gvDpGVn8EoFhovjpM4hyIwZ_Ti7EEurWXSzUlY2SY_4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"acc47bb0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8ead4694-97d6-44f6-9959-6f36a51eaea7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072486.146144} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"53dcf953-0460-49ca-ae8a-4c506e834292","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072486.1469204} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"acc47bb0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"acc47bb0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"acc47bb0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/69e52a86-b1de-4238-9f93-fd1606e6b3b1'","requestID":"acc47bb0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/69e52a86-b1de-4238-9f93-fd1606e6b3b1'","requestID":"acc47bb0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"acc47bb0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 44ms","method":"POST","requestID":"acc47bb0-8ba4-11ef-a62f-5f7f958aa687","responseTime":44,"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":"acc47bb0-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"2611fdf8232f5fb5515f13dc14e6b05a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"acd089a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":89,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:46Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9873670-fe7b-4296-b906-961a086e274c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d5fd3742-40c5-4c77-bb81-484bb9176d27","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072486.208795} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":89,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.554436,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:46Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a9873670-fe7b-4296-b906-961a086e274c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"acd089a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a9873670-fe7b-4296-b906-961a086e274c","object_type":"device","rebac_allow":false,"scope_allow":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":"acd089a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"acd089a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/a9873670-fe7b-4296-b906-961a086e274c/signaling 200 12ms","method":"POST","requestID":"acd089a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/a9873670-fe7b-4296-b906-961a086e274c/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"acd2d390-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"device":"34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":90,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:46Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"87f0e91c-aa8b-482c-81f0-9eeffe121e7f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072486.2226322} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":90,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.080291,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:46Z"} device-1 | {"content":{"sdp":"v=0\r\no=- 8986031115009183812 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:rd9W\r\na=ice-pwd:QaNSngvtBIgkEby4xBXRjDLp\r\na=ice-options:trickle\r\na=fingerprint:sha-256 AA:6B:F8:0A:DA:68:5E:6D:35:79:ED:C9:79:E2:64:58:41:5E:76:D8:CC:29:2B:6C:F5:39:BF:37:DD:F8:01:8A\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"acd2d390-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","object_type":"device","rebac_allow":false,"scope_allow":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":"acd2d390-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"acd2d390-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a/signaling 200 13ms","method":"POST","requestID":"acd2d390-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a/signaling"} device-1 | {"device":"34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"a9873670-fe7b-4296-b906-961a086e274c","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":"69e52a86-b1de-4238-9f93-fd1606e6b3b1","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"a9873670-fe7b-4296-b906-961a086e274c","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":"a9873670-fe7b-4296-b906-961a086e274c","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":"a9873670-fe7b-4296-b906-961a086e274c","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":"a9873670-fe7b-4296-b906-961a086e274c","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/69e52a86-b1de-4238-9f93-fd1606e6b3b1' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"69e52a86-b1de-4238-9f93-fd1606e6b3b1","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"72a86875adedf424ab17b4f3f6015eed","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"72a86875adedf424ab17b4f3f6015eed","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/a9873670-fe7b-4296-b906-961a086e274c"},{"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/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/69e52a86-b1de-4238-9f93-fd1606e6b3b1"}}},"level":"info","message":"received a callback","requestID":"72a86875adedf424ab17b4f3f6015eed"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 10ms","method":"POST","requestID":"72a86875adedf424ab17b4f3f6015eed","responseTime":10,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:54: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.016","http_referrer":"","http_user_agent":"node-fetch","requestID":"72a86875adedf424ab17b4f3f6015eed"} device-1 | {"content":{"candidate":"candidate:1243179515 1 udp 2113937151 84277cfd-417b-462d-972d-0267e3e29783.local 54073 typ host generation 0 ufrag rd9W network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3643984104 1 udp 1677729535 141.24.211.56 54073 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag rd9W network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1730048794 1 udp 33562623 141.24.210.113 50719 typ relay raddr 141.24.211.56 rport 54073 generation 0 ufrag rd9W network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","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/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a'"} device-1 | {"data":{"peerconnection":"69e52a86-b1de-4238-9f93-fd1606e6b3b1","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"a9873670-fe7b-4296-b906-961a086e274c","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":"34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"a9873670-fe7b-4296-b906-961a086e274c","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":"69e52a86-b1de-4238-9f93-fd1606e6b3b1","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/69e52a86-b1de-4238-9f93-fd1606e6b3b1' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"69e52a86-b1de-4238-9f93-fd1606e6b3b1","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"dd66cbf2c54d4c5dc56d32b5bd0ddd75","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"dd66cbf2c54d4c5dc56d32b5bd0ddd75","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/a9873670-fe7b-4296-b906-961a086e274c"},{"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/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/69e52a86-b1de-4238-9f93-fd1606e6b3b1"}}},"level":"info","message":"received a callback","requestID":"dd66cbf2c54d4c5dc56d32b5bd0ddd75"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"ae1390f0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":91,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:48Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F69e52a86-b1de-4238-9f93-fd1606e6b3b1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0b709990-e6b4-4162-8a54-bc06ba761ec4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072488.3253856} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":91,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.178434,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/69e52a86-b1de-4238-9f93-fd1606e6b3b1","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ae1390f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/69e52a86-b1de-4238-9f93-fd1606e6b3b1","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":"ae1390f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"ae1390f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/69e52a86-b1de-4238-9f93-fd1606e6b3b1 200 11ms","method":"GET","requestID":"ae1390f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/peerconnections/69e52a86-b1de-4238-9f93-fd1606e6b3b1"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 43ms","method":"POST","requestID":"dd66cbf2c54d4c5dc56d32b5bd0ddd75","responseTime":43,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:54: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.047","http_referrer":"","http_user_agent":"node-fetch","requestID":"dd66cbf2c54d4c5dc56d32b5bd0ddd75"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ae18c110-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":92,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:48Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9873670-fe7b-4296-b906-961a086e274c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"628e52bb-6645-4248-bbcc-ddc62b55a189","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072488.3597448} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":92,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.276877,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:48Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a9873670-fe7b-4296-b906-961a086e274c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ae18c110-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a9873670-fe7b-4296-b906-961a086e274c","object_type":"device","rebac_allow":false,"scope_allow":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":"ae18c110-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ae18c110-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/a9873670-fe7b-4296-b906-961a086e274c/signaling 200 13ms","method":"POST","requestID":"ae18c110-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/a9873670-fe7b-4296-b906-961a086e274c/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ae1b5920-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":93,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:48Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0692fb0c-7172-47a5-8027-33815f889cb4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072488.3768067} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":93,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.811794,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:48Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ae1b5920-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","object_type":"device","rebac_allow":false,"scope_allow":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":"ae1b5920-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ae1b5920-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a/signaling 200 12ms","method":"POST","requestID":"ae1b5920-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OH0.OGrjAak8Kl06An0cxVYW2kP_crNd05s7ztwOEYvLXkA","level":"info","message":"auth send jwt","requestID":"ae6fc532a504af3d8bf4c9090e8f9828"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ae6fc532a504af3d8bf4c9090e8f9828","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0","requestID":"ae6fc532a504af3d8bf4c9090e8f9828"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":94,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:48Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":94,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.685671,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ae6fc532a504af3d8bf4c9090e8f9828","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072488,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OH0.OGrjAak8Kl06An0cxVYW2kP_crNd05s7ztwOEYvLXkA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ae6fc532a504af3d8bf4c9090e8f9828","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0","requestID":"ae6fc532a504af3d8bf4c9090e8f9828"} gateway-1 | {"time_local":"16/Oct/2024:09:54:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0 HTTP/1.1","status": "200","body_bytes_sent":"885","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ae6fc532a504af3d8bf4c9090e8f9828"} experiment-1 | {"level":"info","message":"GET /experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0 200 12ms","method":"GET","requestID":"ae6fc532a504af3d8bf4c9090e8f9828","responseTime":12,"status":200,"url":"/experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OH0.OGrjAak8Kl06An0cxVYW2kP_crNd05s7ztwOEYvLXkA","level":"info","message":"auth send jwt","requestID":"33befcf4ab314c311d773288b0fcc9e7"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"33befcf4ab314c311d773288b0fcc9e7","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0","requestID":"33befcf4ab314c311d773288b0fcc9e7"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":95,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:48Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":95,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.688576,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:48Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"33befcf4ab314c311d773288b0fcc9e7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072488,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OH0.OGrjAak8Kl06An0cxVYW2kP_crNd05s7ztwOEYvLXkA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"33befcf4ab314c311d773288b0fcc9e7","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0"},"level":"info","message":"Attempting to finish experiment","requestID":"33befcf4ab314c311d773288b0fcc9e7"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"ae23bd90-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":96,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:48Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":96,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.147592,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:48Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/69e52a86-b1de-4238-9f93-fd1606e6b3b1","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ae23bd90-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/69e52a86-b1de-4238-9f93-fd1606e6b3b1","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072488,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OH0.OGrjAak8Kl06An0cxVYW2kP_crNd05s7ztwOEYvLXkA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ae23bd90-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/69e52a86-b1de-4238-9f93-fd1606e6b3b1","device":"34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"a9873670-fe7b-4296-b906-961a086e274c","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":"a9873670-fe7b-4296-b906-961a086e274c","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":"a9873670-fe7b-4296-b906-961a086e274c","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/69e52a86-b1de-4238-9f93-fd1606e6b3b1' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/69e52a86-b1de-4238-9f93-fd1606e6b3b1' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"69e52a86-b1de-4238-9f93-fd1606e6b3b1","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F69e52a86-b1de-4238-9f93-fd1606e6b3b1': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F69e52a86-b1de-4238-9f93-fd1606e6b3b1","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"3180d953-4f73-4c23-9511-be5a972ec641","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072488.450381} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9b088e566d2fae5d59a92473baf71604","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"26f0fa6c-53aa-4e97-95fa-b727a23dc9b8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072488.45088} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"9b088e566d2fae5d59a92473baf71604","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"ae23bd90-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4f4cdfb7e8fa747a8cc153fa70226936","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"4f4cdfb7e8fa747a8cc153fa70226936","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":"closed","url":"http://localhost/devices/a9873670-fe7b-4296-b906-961a086e274c"},{"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/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/69e52a86-b1de-4238-9f93-fd1606e6b3b1"}}},"level":"info","message":"received a callback","requestID":"9b088e566d2fae5d59a92473baf71604"} 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/a9873670-fe7b-4296-b906-961a086e274c"},{"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/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/69e52a86-b1de-4238-9f93-fd1606e6b3b1"}}},"level":"info","message":"received a callback","requestID":"4f4cdfb7e8fa747a8cc153fa70226936"} device-1 | {"data":{"peerconnection":"69e52a86-b1de-4238-9f93-fd1606e6b3b1","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"ae23bd90-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/69e52a86-b1de-4238-9f93-fd1606e6b3b1 204 49ms","method":"DELETE","requestID":"ae23bd90-8ba4-11ef-a62f-5f7f958aa687","responseTime":49,"status":204,"url":"/peerconnections/69e52a86-b1de-4238-9f93-fd1606e6b3b1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0"},"level":"info","message":"Successfully finished experiment","requestID":"33befcf4ab314c311d773288b0fcc9e7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ae2ee120-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":97,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:48Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa9873670-fe7b-4296-b906-961a086e274c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"efcb8939-9012-4622-b132-3f6791a07ed9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072488.5063715} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":97,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.914923,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:48Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a9873670-fe7b-4296-b906-961a086e274c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ae2ee120-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a9873670-fe7b-4296-b906-961a086e274c","object_type":"device","rebac_allow":false,"scope_allow":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":"ae2ee120-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ae2ee120-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/a9873670-fe7b-4296-b906-961a086e274c/signaling 200 16ms","method":"POST","requestID":"ae2ee120-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/a9873670-fe7b-4296-b906-961a086e274c/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F8658112d-9f79-4dac-a157-2a15f96aeaf0': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F8658112d-9f79-4dac-a157-2a15f96aeaf0","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"f8bbfcdc-d733-4cb1-8748-3811a41ec76c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072488.513327} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b9c202d7-d34c-4b50-b09c-8c5bf55dd1ed","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072488.5139198} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ae31ee60-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 24ms","method":"POST","requestID":"33befcf4ab314c311d773288b0fcc9e7","responseTime":24,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":98,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:48Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3c2ff7e5-c31e-41dd-8457-a3645c56182a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072488.5261402} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":98,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.907224,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:48Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ae31ee60-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a","object_type":"device","rebac_allow":false,"scope_allow":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":"ae31ee60-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ae31ee60-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a/signaling 200 14ms","method":"POST","requestID":"ae31ee60-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0","requestID":"33befcf4ab314c311d773288b0fcc9e7"} gateway-1 | {"time_local":"16/Oct/2024:09:54:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.180","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"33befcf4ab314c311d773288b0fcc9e7"} experiment-1 | {"level":"info","message":"DELETE /experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0 204 177ms","method":"DELETE","requestID":"33befcf4ab314c311d773288b0fcc9e7","responseTime":177,"status":204,"url":"/experiments/8658112d-9f79-4dac-a157-2a15f96aeaf0"} gateway-1 | {"time_local":"16/Oct/2024:09:54:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3423","request_time":"4.421","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"37417a552d46375b43845765b902e7e3"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 136ms","method":"POST","requestID":"9b088e566d2fae5d59a92473baf71604","responseTime":136,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:54: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.141","http_referrer":"","http_user_agent":"node-fetch","requestID":"9b088e566d2fae5d59a92473baf71604"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 136ms","method":"POST","requestID":"4f4cdfb7e8fa747a8cc153fa70226936","responseTime":136,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:54: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.142","http_referrer":"","http_user_agent":"node-fetch","requestID":"4f4cdfb7e8fa747a8cc153fa70226936"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OH0.OGrjAak8Kl06An0cxVYW2kP_crNd05s7ztwOEYvLXkA","level":"info","message":"auth send jwt","requestID":"d4106fff1e412d3de7245e49a8fa5843"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d4106fff1e412d3de7245e49a8fa5843","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"d4106fff1e412d3de7245e49a8fa5843"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":99,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:48Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":99,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":3.73248,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:48Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d4106fff1e412d3de7245e49a8fa5843","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072488,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OH0.OGrjAak8Kl06An0cxVYW2kP_crNd05s7ztwOEYvLXkA"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"d4106fff1e412d3de7245e49a8fa5843","responseTime":8,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:54:48 +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.916","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"a2f44af3cd4b81444757d58771c3ff42"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/a9873670-fe7b-4296-b906-961a086e274c' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/34fd6b2f-f4a1-42c7-aacf-a35a77643d1a' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff74c8d95-e684-4b1d-b775-a86b706c9bba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"2d4a7bca-1712-4836-95a6-50a38f86d430","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072488.6319902} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d4106fff1e412d3de7245e49a8fa5843","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c628107f-16dd-49a7-8326-8c4429d58c11","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072488.6376963} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"d4106fff1e412d3de7245e49a8fa5843","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff74c8d95-e684-4b1d-b775-a86b706c9bba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"a91b1c3f-d0bc-4b69-be80-7352b16f48fc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072488.6484537} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"dd9a7304-5820-4549-9f79-b86a826b27a7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072488.6487265} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"d4106fff1e412d3de7245e49a8fa5843","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff74c8d95-e684-4b1d-b775-a86b706c9bba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff74c8d95-e684-4b1d-b775-a86b706c9bba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:48.648429675Z"}]},"request_id":"c93c5f36-0073-4c52-9045-fb4c0f81e4b9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072488.653628} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d4106fff1e412d3de7245e49a8fa5843","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"d4106fff1e412d3de7245e49a8fa5843"} device-1 | {"level":"info","message":"POST /devices? 201 61ms","method":"POST","requestID":"d4106fff1e412d3de7245e49a8fa5843","responseTime":61,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:54:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.067","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d4106fff1e412d3de7245e49a8fa5843"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OH0.OGrjAak8Kl06An0cxVYW2kP_crNd05s7ztwOEYvLXkA","level":"info","message":"auth send jwt","requestID":"f4a3eeaa47c2c644385f04725a347a9a"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"f4a3eeaa47c2c644385f04725a347a9a","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"f4a3eeaa47c2c644385f04725a347a9a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":100,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:48Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":100,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.753957,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:48Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f4a3eeaa47c2c644385f04725a347a9a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072488,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OH0.OGrjAak8Kl06An0cxVYW2kP_crNd05s7ztwOEYvLXkA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f4a3eeaa47c2c644385f04725a347a9a","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b278aed-6d04-4ca3-a6d8-047a5c234899","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"3735ff0b-c048-41c8-a32b-34c654e7cbf6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072488.67788} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f4a3eeaa47c2c644385f04725a347a9a","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5d7b41f8-66c4-4915-adaf-6f23f9561e3f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072488.6834319} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"f4a3eeaa47c2c644385f04725a347a9a","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b278aed-6d04-4ca3-a6d8-047a5c234899","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"efae9baa-5eb8-4025-b407-087c03f70153","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072488.7002723} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7bf8af07-4543-4fcb-bffb-8d844a5381c2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072488.7004492} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"f4a3eeaa47c2c644385f04725a347a9a","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b278aed-6d04-4ca3-a6d8-047a5c234899","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b278aed-6d04-4ca3-a6d8-047a5c234899","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:48.700256954Z"}]},"request_id":"d22d6793-4362-4883-a259-1791fadf9d40","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072488.7061996} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f4a3eeaa47c2c644385f04725a347a9a","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"f4a3eeaa47c2c644385f04725a347a9a"} gateway-1 | {"time_local":"16/Oct/2024:09:54:48 +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":"f4a3eeaa47c2c644385f04725a347a9a"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"f4a3eeaa47c2c644385f04725a347a9a","responseTime":47,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OX0.U6LG4emQlxHnHDgReyhAcl9UUzYGzvNcRSASRJNbSUg","level":"info","message":"auth send jwt","requestID":"48eaa6f78aa98390d9ca14106f305aa4"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"48eaa6f78aa98390d9ca14106f305aa4","responseTime":6,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OX0.U6LG4emQlxHnHDgReyhAcl9UUzYGzvNcRSASRJNbSUg","level":"info","message":"auth send jwt","requestID":"a354f90e2a96a8e75e673aca7eb727ef"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"a354f90e2a96a8e75e673aca7eb727ef","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"48eaa6f78aa98390d9ca14106f305aa4"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"a354f90e2a96a8e75e673aca7eb727ef"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":101,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":101,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.600531,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"client_addr":"127.0.0.1:52498","level":"info","msg":"Received request.","req_id":102,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"48eaa6f78aa98390d9ca14106f305aa4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072489,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OX0.U6LG4emQlxHnHDgReyhAcl9UUzYGzvNcRSASRJNbSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"48eaa6f78aa98390d9ca14106f305aa4","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52498","level":"info","msg":"Sent response.","req_id":102,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.618191,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a354f90e2a96a8e75e673aca7eb727ef","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072489,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OX0.U6LG4emQlxHnHDgReyhAcl9UUzYGzvNcRSASRJNbSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a354f90e2a96a8e75e673aca7eb727ef","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff74c8d95-e684-4b1d-b775-a86b706c9bba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff74c8d95-e684-4b1d-b775-a86b706c9bba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:48.648429675Z"}]},"request_id":"73bb14e2-01c0-428f-a6b9-2095123f3dad","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072489.193408} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"48eaa6f78aa98390d9ca14106f305aa4","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b278aed-6d04-4ca3-a6d8-047a5c234899","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b278aed-6d04-4ca3-a6d8-047a5c234899","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:48.700256954Z"}]},"request_id":"50f40b74-a4e4-4ff6-915e-9788cab1ba6c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072489.194417} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a354f90e2a96a8e75e673aca7eb727ef","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7e5c15ba-7cbe-439a-b354-73d44c46e0fd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072489.199814} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"48eaa6f78aa98390d9ca14106f305aa4","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e78acce2-d3a8-4c5b-ab7e-ec530d28e4a9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072489.2013726} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"a354f90e2a96a8e75e673aca7eb727ef","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b278aed-6d04-4ca3-a6d8-047a5c234899","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b278aed-6d04-4ca3-a6d8-047a5c234899","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:48.700256954Z"}]},"request_id":"79a2a1f5-0deb-4772-ae44-dcc34e5a5ab8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072489.2043912} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a354f90e2a96a8e75e673aca7eb727ef","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"a354f90e2a96a8e75e673aca7eb727ef"} gateway-1 | {"time_local":"16/Oct/2024:09:54:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/6b278aed-6d04-4ca3-a6d8-047a5c234899 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.035","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"a354f90e2a96a8e75e673aca7eb727ef"} device-1 | {"level":"info","message":"PATCH /devices/6b278aed-6d04-4ca3-a6d8-047a5c234899 200 25ms","method":"PATCH","requestID":"a354f90e2a96a8e75e673aca7eb727ef","responseTime":25,"status":200,"url":"/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OX0.U6LG4emQlxHnHDgReyhAcl9UUzYGzvNcRSASRJNbSUg","level":"info","message":"auth send jwt","requestID":"3236b31fe2c93f10d91b09d19e4534c7"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"3236b31fe2c93f10d91b09d19e4534c7","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"3236b31fe2c93f10d91b09d19e4534c7"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff74c8d95-e684-4b1d-b775-a86b706c9bba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff74c8d95-e684-4b1d-b775-a86b706c9bba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:48.648429675Z"}]},"request_id":"24f77aa6-feb3-4dd0-bf3e-b1845ebc1763","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072489.2157848} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"48eaa6f78aa98390d9ca14106f305aa4","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":103,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":103,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.661404,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:49Z"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"48eaa6f78aa98390d9ca14106f305aa4"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3236b31fe2c93f10d91b09d19e4534c7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072489,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OX0.U6LG4emQlxHnHDgReyhAcl9UUzYGzvNcRSASRJNbSUg"} gateway-1 | {"time_local":"16/Oct/2024:09:54:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/f74c8d95-e684-4b1d-b775-a86b706c9bba HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.049","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"48eaa6f78aa98390d9ca14106f305aa4"} device-1 | {"level":"info","message":"PATCH /devices/f74c8d95-e684-4b1d-b775-a86b706c9bba 200 41ms","method":"PATCH","requestID":"48eaa6f78aa98390d9ca14106f305aa4","responseTime":41,"status":200,"url":"/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3236b31fe2c93f10d91b09d19e4534c7","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OX0.U6LG4emQlxHnHDgReyhAcl9UUzYGzvNcRSASRJNbSUg","level":"info","message":"auth send jwt","requestID":"28d1e2f11ce4d8fa5ea07c66a3c4b3e5"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"28d1e2f11ce4d8fa5ea07c66a3c4b3e5","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"28d1e2f11ce4d8fa5ea07c66a3c4b3e5"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":104,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":104,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.671454,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"28d1e2f11ce4d8fa5ea07c66a3c4b3e5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072489,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OX0.U6LG4emQlxHnHDgReyhAcl9UUzYGzvNcRSASRJNbSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"28d1e2f11ce4d8fa5ea07c66a3c4b3e5","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"3236b31fe2c93f10d91b09d19e4534c7"} gateway-1 | {"time_local":"16/Oct/2024:09:54:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/6b278aed-6d04-4ca3-a6d8-047a5c234899/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.10","requestID":"3236b31fe2c93f10d91b09d19e4534c7"} device-1 | {"level":"info","message":"POST /devices/6b278aed-6d04-4ca3-a6d8-047a5c234899/websocket 200 19ms","method":"POST","requestID":"3236b31fe2c93f10d91b09d19e4534c7","responseTime":19,"status":200,"url":"/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"28d1e2f11ce4d8fa5ea07c66a3c4b3e5"} gateway-1 | {"time_local":"16/Oct/2024:09:54:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/f74c8d95-e684-4b1d-b775-a86b706c9bba/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.10","requestID":"28d1e2f11ce4d8fa5ea07c66a3c4b3e5"} device-1 | {"level":"info","message":"POST /devices/f74c8d95-e684-4b1d-b775-a86b706c9bba/websocket 200 17ms","method":"POST","requestID":"28d1e2f11ce4d8fa5ea07c66a3c4b3e5","responseTime":17,"status":200,"url":"/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OX0.U6LG4emQlxHnHDgReyhAcl9UUzYGzvNcRSASRJNbSUg","level":"info","message":"auth send jwt","requestID":"11a6aa722998e86f13d300f642800559"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"11a6aa722998e86f13d300f642800559","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"11a6aa722998e86f13d300f642800559"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":105,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":105,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.047177,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"11a6aa722998e86f13d300f642800559","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072489,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OX0.U6LG4emQlxHnHDgReyhAcl9UUzYGzvNcRSASRJNbSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"11a6aa722998e86f13d300f642800559","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff74c8d95-e684-4b1d-b775-a86b706c9bba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff74c8d95-e684-4b1d-b775-a86b706c9bba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:48.648429675Z"}]},"request_id":"324dba05-63f8-47b5-8c2d-565d596f6e26","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072489.2835512} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"11a6aa722998e86f13d300f642800559","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"11a6aa722998e86f13d300f642800559"} gateway-1 | {"time_local":"16/Oct/2024:09:54:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f74c8d95-e684-4b1d-b775-a86b706c9bba? 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":"11a6aa722998e86f13d300f642800559"} device-1 | {"level":"info","message":"GET /devices/f74c8d95-e684-4b1d-b775-a86b706c9bba? 200 16ms","method":"GET","requestID":"11a6aa722998e86f13d300f642800559","responseTime":16,"status":200,"url":"/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OX0.U6LG4emQlxHnHDgReyhAcl9UUzYGzvNcRSASRJNbSUg","level":"info","message":"auth send jwt","requestID":"9642bc01649276287127d81583a8a747"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9642bc01649276287127d81583a8a747","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9642bc01649276287127d81583a8a747"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":106,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":106,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.814944,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"9642bc01649276287127d81583a8a747","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072489,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OX0.U6LG4emQlxHnHDgReyhAcl9UUzYGzvNcRSASRJNbSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9642bc01649276287127d81583a8a747","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b278aed-6d04-4ca3-a6d8-047a5c234899","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b278aed-6d04-4ca3-a6d8-047a5c234899","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:48.700256954Z"}]},"request_id":"abac073c-71d1-4922-ae9b-5f47d81d4af9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072489.3068445} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9642bc01649276287127d81583a8a747","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9642bc01649276287127d81583a8a747"} gateway-1 | {"time_local":"16/Oct/2024:09:54:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6b278aed-6d04-4ca3-a6d8-047a5c234899? 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":"9642bc01649276287127d81583a8a747"} device-1 | {"level":"info","message":"GET /devices/6b278aed-6d04-4ca3-a6d8-047a5c234899? 200 16ms","method":"GET","requestID":"9642bc01649276287127d81583a8a747","responseTime":16,"status":200,"url":"/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OX0.U6LG4emQlxHnHDgReyhAcl9UUzYGzvNcRSASRJNbSUg","level":"info","message":"auth send jwt","requestID":"efab94ad69449a2ae7c53a63fe7a269d"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"efab94ad69449a2ae7c53a63fe7a269d","responseTime":6,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"efab94ad69449a2ae7c53a63fe7a269d"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":107,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":107,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.049516,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"efab94ad69449a2ae7c53a63fe7a269d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072489,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OX0.U6LG4emQlxHnHDgReyhAcl9UUzYGzvNcRSASRJNbSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"efab94ad69449a2ae7c53a63fe7a269d","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583"},"level":"info","message":"Attempting to run experiment","requestID":"efab94ad69449a2ae7c53a63fe7a269d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583"},"level":"info","message":"Attempting to book experiment","requestID":"efab94ad69449a2ae7c53a63fe7a269d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583"},"level":"info","message":"Successfully booked experiment","requestID":"efab94ad69449a2ae7c53a63fe7a269d"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"aeb43dc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"aeb48be0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":108,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":108,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.680072,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"client_addr":"127.0.0.1:52498","level":"info","msg":"Received request.","req_id":109,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"aeb43dc0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072489,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OX0.U6LG4emQlxHnHDgReyhAcl9UUzYGzvNcRSASRJNbSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"aeb43dc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52498","level":"info","msg":"Sent response.","req_id":109,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.688895,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"aeb48be0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072489,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OX0.U6LG4emQlxHnHDgReyhAcl9UUzYGzvNcRSASRJNbSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"aeb48be0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff74c8d95-e684-4b1d-b775-a86b706c9bba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff74c8d95-e684-4b1d-b775-a86b706c9bba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:48.648429675Z"}]},"request_id":"2f971d09-f59d-4f01-a4de-ca645b8d79f8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072489.3826964} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"aeb43dc0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b278aed-6d04-4ca3-a6d8-047a5c234899","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b278aed-6d04-4ca3-a6d8-047a5c234899","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:48.700256954Z"}]},"request_id":"16a43c53-0c56-4662-a308-d7b07e922f29","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072489.3838594} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"aeb48be0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"aeb43dc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/f74c8d95-e684-4b1d-b775-a86b706c9bba? 200 21ms","method":"GET","requestID":"aeb43dc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":21,"status":200,"url":"/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"aeb48be0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/6b278aed-6d04-4ca3-a6d8-047a5c234899? 200 20ms","method":"GET","requestID":"aeb48be0-8ba4-11ef-a62f-5f7f958aa687","responseTime":20,"status":200,"url":"/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583"},"level":"info","message":"Setting up experiment","requestID":"efab94ad69449a2ae7c53a63fe7a269d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"efab94ad69449a2ae7c53a63fe7a269d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583"},"level":"info","message":"Successfully locked booking for experiment","requestID":"efab94ad69449a2ae7c53a63fe7a269d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"efab94ad69449a2ae7c53a63fe7a269d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"efab94ad69449a2ae7c53a63fe7a269d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583"},"level":"info","message":"Attempting to update booking for experiment","requestID":"efab94ad69449a2ae7c53a63fe7a269d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583"},"level":"info","message":"Successfully updated booking for experiment","requestID":"efab94ad69449a2ae7c53a63fe7a269d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583"},"level":"info","message":"Successfully set up experiment","requestID":"efab94ad69449a2ae7c53a63fe7a269d"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"aebffd90-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"aec024a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"aec072c0-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583"},"level":"info","message":"Successfully running experiment","requestID":"efab94ad69449a2ae7c53a63fe7a269d"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":110,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":110,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.13103,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"client_addr":"127.0.0.1:52498","level":"info","msg":"Received request.","req_id":111,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"aebffd90-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072489,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OX0.U6LG4emQlxHnHDgReyhAcl9UUzYGzvNcRSASRJNbSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"aebffd90-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52498","level":"info","msg":"Sent response.","req_id":111,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.872577,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"aec024a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072489,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OX0.U6LG4emQlxHnHDgReyhAcl9UUzYGzvNcRSASRJNbSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"aec024a0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b278aed-6d04-4ca3-a6d8-047a5c234899","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b278aed-6d04-4ca3-a6d8-047a5c234899","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:48.700256954Z"}]},"request_id":"a28b75ea-cba1-4ec9-a21d-172d22947dc3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072489.466601} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"aec024a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff74c8d95-e684-4b1d-b775-a86b706c9bba","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"095c538f-d534-439f-9c8e-7b206a6a2edd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072489.4697597} authorization-1 | {"client_addr":"127.0.0.1:52508","level":"info","msg":"Received request.","req_id":112,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"client_addr":"127.0.0.1:52508","level":"info","msg":"Sent response.","req_id":112,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.124537,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"aec072c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba","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":"getDevicesByDeviceId succeeded","requestID":"aec024a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /authorize 200 17ms","method":"POST","requestID":"aec072c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"GET /devices/6b278aed-6d04-4ca3-a6d8-047a5c234899? 200 24ms","method":"GET","requestID":"aec024a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":24,"status":200,"url":"/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff74c8d95-e684-4b1d-b775-a86b706c9bba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff74c8d95-e684-4b1d-b775-a86b706c9bba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:48.648429675Z"}]},"request_id":"8eba8010-b3e6-4853-afa7-6f7f3f865cf2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072489.4716845} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"aebffd90-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"aec072c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f74c8d95-e684-4b1d-b775-a86b706c9bba/signaling 200 26ms","method":"POST","requestID":"aec072c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":26,"status":200,"url":"/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"aebffd90-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ffb108ac2-b0c7-4ba3-99bb-3ca7930ef583#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ffb108ac2-b0c7-4ba3-99bb-3ca7930ef583","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"9f4c3626-3cb2-499b-bb29-ab6de54a127e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072489.4787672} device-1 | {"level":"info","message":"GET /devices/f74c8d95-e684-4b1d-b775-a86b706c9bba? 200 31ms","method":"GET","requestID":"aebffd90-8ba4-11ef-a62f-5f7f958aa687","responseTime":31,"status":200,"url":"/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cf1588e3-4128-4084-bee5-bd839c310956","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072489.4790027} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"efab94ad69449a2ae7c53a63fe7a269d","responseTime":20,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"aec57bd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"aec5c9f0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":113,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b278aed-6d04-4ca3-a6d8-047a5c234899","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"361358c0-c46e-4555-965a-f7bb00df4779","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072489.49041} authorization-1 | {"client_addr":"127.0.0.1:52498","level":"info","msg":"Received request.","req_id":114,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":113,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.256562,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"aec57bd0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899","object_type":"device","rebac_allow":false,"scope_allow":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":"aec57bd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52498","level":"info","msg":"Sent response.","req_id":114,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.720067,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff74c8d95-e684-4b1d-b775-a86b706c9bba","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8b899b50-de0a-4a4e-9198-e31674f43623","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072489.493588} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"aec5c9f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba","object_type":"device","rebac_allow":false,"scope_allow":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":"aec5c9f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"efab94ad69449a2ae7c53a63fe7a269d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"aec57bd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/6b278aed-6d04-4ca3-a6d8-047a5c234899/signaling 200 13ms","method":"POST","requestID":"aec57bd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899/signaling"} gateway-1 | {"time_local":"16/Oct/2024:09:54:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"816","request_time":"0.181","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"efab94ad69449a2ae7c53a63fe7a269d"} experiment-1 | {"level":"info","message":"POST /experiments? 201 173ms","method":"POST","requestID":"efab94ad69449a2ae7c53a63fe7a269d","responseTime":173,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"aec5c9f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f74c8d95-e684-4b1d-b775-a86b706c9bba/signaling 200 13ms","method":"POST","requestID":"aec5c9f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"aec813e0-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OX0.U6LG4emQlxHnHDgReyhAcl9UUzYGzvNcRSASRJNbSUg","level":"info","message":"auth send jwt","requestID":"5bcc9cbf6010ff56272d7934d7c3cf06"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"5bcc9cbf6010ff56272d7934d7c3cf06","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5bcc9cbf6010ff56272d7934d7c3cf06"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":115,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"client_addr":"127.0.0.1:52498","level":"info","msg":"Received request.","req_id":116,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"client_addr":"127.0.0.1:52498","level":"info","msg":"Sent response.","req_id":116,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.622237,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"5bcc9cbf6010ff56272d7934d7c3cf06","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072489,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OX0.U6LG4emQlxHnHDgReyhAcl9UUzYGzvNcRSASRJNbSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"5bcc9cbf6010ff56272d7934d7c3cf06","responseTime":2,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b278aed-6d04-4ca3-a6d8-047a5c234899","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"575fdd3c-b1e8-4a08-8a42-273b000b13ca","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072489.5068598} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":115,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.168325,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"aec813e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899","object_type":"device","rebac_allow":false,"scope_allow":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":"aec813e0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff74c8d95-e684-4b1d-b775-a86b706c9bba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff74c8d95-e684-4b1d-b775-a86b706c9bba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:48.648429675Z"}]},"request_id":"d09fb98d-c009-4b69-b15a-1d8520b107fd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072489.5111022} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5bcc9cbf6010ff56272d7934d7c3cf06","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"aec813e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/6b278aed-6d04-4ca3-a6d8-047a5c234899/signaling 200 10ms","method":"POST","requestID":"aec813e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"efab94ad69449a2ae7c53a63fe7a269d"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"aec9e8a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"aeca36c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5bcc9cbf6010ff56272d7934d7c3cf06"} gateway-1 | {"time_local":"16/Oct/2024:09:54:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f74c8d95-e684-4b1d-b775-a86b706c9bba? 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":"5bcc9cbf6010ff56272d7934d7c3cf06"} device-1 | {"level":"info","message":"GET /devices/f74c8d95-e684-4b1d-b775-a86b706c9bba? 200 14ms","method":"GET","requestID":"5bcc9cbf6010ff56272d7934d7c3cf06","responseTime":14,"status":200,"url":"/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":117,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":117,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.8848,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"client_addr":"127.0.0.1:52498","level":"info","msg":"Received request.","req_id":118,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"aec9e8a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072489,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OX0.U6LG4emQlxHnHDgReyhAcl9UUzYGzvNcRSASRJNbSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"aec9e8a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52498","level":"info","msg":"Sent response.","req_id":118,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.599339,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:49Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OX0.U6LG4emQlxHnHDgReyhAcl9UUzYGzvNcRSASRJNbSUg","level":"info","message":"auth send jwt","requestID":"0657828baba9fc86ce4bea2853c5c031"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"aeca36c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072489,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OX0.U6LG4emQlxHnHDgReyhAcl9UUzYGzvNcRSASRJNbSUg"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"0657828baba9fc86ce4bea2853c5c031","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"aeca36c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0657828baba9fc86ce4bea2853c5c031"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff74c8d95-e684-4b1d-b775-a86b706c9bba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff74c8d95-e684-4b1d-b775-a86b706c9bba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:48.648429675Z"}]},"request_id":"c8123b3d-35bf-4ea1-81e4-bfa268abca28","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072489.5255134} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"aec9e8a0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b278aed-6d04-4ca3-a6d8-047a5c234899","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b278aed-6d04-4ca3-a6d8-047a5c234899","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:48.700256954Z"}]},"request_id":"a85c891e-4cd7-40d6-8b68-4ca417537c1b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072489.5279408} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":119,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":119,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.883457,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0657828baba9fc86ce4bea2853c5c031","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072489,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OX0.U6LG4emQlxHnHDgReyhAcl9UUzYGzvNcRSASRJNbSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0657828baba9fc86ce4bea2853c5c031","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"aeca36c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"aec9e8a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/f74c8d95-e684-4b1d-b775-a86b706c9bba? 200 18ms","method":"GET","requestID":"aec9e8a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b278aed-6d04-4ca3-a6d8-047a5c234899","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b278aed-6d04-4ca3-a6d8-047a5c234899","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:48.700256954Z"}]},"request_id":"783f13c2-b480-45c9-801e-7cd9d49e6833","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072489.5329132} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0657828baba9fc86ce4bea2853c5c031","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"aeca36c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/6b278aed-6d04-4ca3-a6d8-047a5c234899? 200 19ms","method":"GET","requestID":"aeca36c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":19,"status":200,"url":"/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0657828baba9fc86ce4bea2853c5c031"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583"},"level":"info","message":"Building connection plan","requestID":"efab94ad69449a2ae7c53a63fe7a269d"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"0a849bf9-831a-4049-a360-9ba79a797453"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"e8091149-3f63-4b48-a5fb-87d6687e7bc5"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"ec751d74-5367-430b-93af-c5a70b2c0bcb"}]},"level":"info","message":"Built pairwise service configurations","requestID":"efab94ad69449a2ae7c53a63fe7a269d"} 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/f74c8d95-e684-4b1d-b775-a86b706c9bba"},{"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/6b278aed-6d04-4ca3-a6d8-047a5c234899"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"efab94ad69449a2ae7c53a63fe7a269d"} device-1 | {"level":"info","message":"GET /devices/6b278aed-6d04-4ca3-a6d8-047a5c234899? 200 14ms","method":"GET","requestID":"0657828baba9fc86ce4bea2853c5c031","responseTime":14,"status":200,"url":"/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899?"} gateway-1 | {"time_local":"16/Oct/2024:09:54:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6b278aed-6d04-4ca3-a6d8-047a5c234899? 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":"0657828baba9fc86ce4bea2853c5c031"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"aecdb930-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":120,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":120,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.720776,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"aecdb930-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072489,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ4OX0.U6LG4emQlxHnHDgReyhAcl9UUzYGzvNcRSASRJNbSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"aecdb930-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"93510677-7c8d-4b7f-86dd-6f0636b05a39","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072489.5515409} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5f789345-2236-47f7-92c4-affa8947eb96","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072489.5517051} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"aecdb930-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"aecdb930-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"aecdb930-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/f1cde532-98b8-4a30-974d-7d82677df654'","requestID":"aecdb930-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/f1cde532-98b8-4a30-974d-7d82677df654'","requestID":"aecdb930-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"aecdb930-8ba4-11ef-a62f-5f7f958aa687"} 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":"aecdb930-8ba4-11ef-a62f-5f7f958aa687","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":"aecdb930-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"efab94ad69449a2ae7c53a63fe7a269d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"aed61da0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":121,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff74c8d95-e684-4b1d-b775-a86b706c9bba","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4d1c5b9c-268e-4f9f-a951-2706e9d2acd7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072489.5987997} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":121,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.166239,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"aed61da0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba","object_type":"device","rebac_allow":false,"scope_allow":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":"aed61da0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"aed61da0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f74c8d95-e684-4b1d-b775-a86b706c9bba/signaling 200 13ms","method":"POST","requestID":"aed61da0-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"aed86790-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":122,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b278aed-6d04-4ca3-a6d8-047a5c234899","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9bff996f-e096-467b-aacb-2660ddbf4352","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072489.6144917} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":122,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.657641,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"aed86790-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899","object_type":"device","rebac_allow":false,"scope_allow":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":"aed86790-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"aed86790-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/6b278aed-6d04-4ca3-a6d8-047a5c234899/signaling 200 16ms","method":"POST","requestID":"aed86790-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899/signaling"} device-1 | {"device":"6b278aed-6d04-4ca3-a6d8-047a5c234899","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":"f1cde532-98b8-4a30-974d-7d82677df654","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"f74c8d95-e684-4b1d-b775-a86b706c9bba","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":"f1cde532-98b8-4a30-974d-7d82677df654","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"f74c8d95-e684-4b1d-b775-a86b706c9bba","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":"f74c8d95-e684-4b1d-b775-a86b706c9bba","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":"f74c8d95-e684-4b1d-b775-a86b706c9bba","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":"f74c8d95-e684-4b1d-b775-a86b706c9bba","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/f1cde532-98b8-4a30-974d-7d82677df654' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"f1cde532-98b8-4a30-974d-7d82677df654","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"db83448a2d1460f0fb4d400dbe339391","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"db83448a2d1460f0fb4d400dbe339391","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/f74c8d95-e684-4b1d-b775-a86b706c9bba"},{"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/6b278aed-6d04-4ca3-a6d8-047a5c234899"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/f1cde532-98b8-4a30-974d-7d82677df654"}}},"level":"info","message":"received a callback","requestID":"db83448a2d1460f0fb4d400dbe339391"} device-1 | {"device":"6b278aed-6d04-4ca3-a6d8-047a5c234899","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":"6b278aed-6d04-4ca3-a6d8-047a5c234899","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":"6b278aed-6d04-4ca3-a6d8-047a5c234899","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 12ms","method":"POST","requestID":"db83448a2d1460f0fb4d400dbe339391","responseTime":12,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:54:51 +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":"db83448a2d1460f0fb4d400dbe339391"} device-1 | {"data":{"peerconnection":"f1cde532-98b8-4a30-974d-7d82677df654","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"6b278aed-6d04-4ca3-a6d8-047a5c234899","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":"f74c8d95-e684-4b1d-b775-a86b706c9bba","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":"6b278aed-6d04-4ca3-a6d8-047a5c234899","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":"f74c8d95-e684-4b1d-b775-a86b706c9bba","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":"f1cde532-98b8-4a30-974d-7d82677df654","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/f1cde532-98b8-4a30-974d-7d82677df654' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"f1cde532-98b8-4a30-974d-7d82677df654","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"67a54be0a343366777b6812539768a61","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"67a54be0a343366777b6812539768a61","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/f74c8d95-e684-4b1d-b775-a86b706c9bba"},{"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/6b278aed-6d04-4ca3-a6d8-047a5c234899"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/f1cde532-98b8-4a30-974d-7d82677df654"}}},"level":"info","message":"received a callback","requestID":"67a54be0a343366777b6812539768a61"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"b01617b0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":123,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:51Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ff1cde532-98b8-4a30-974d-7d82677df654","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bb96bfe0-ae5c-4d51-bf62-b273086eb4cb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072491.6978412} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":123,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.702069,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:51Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/f1cde532-98b8-4a30-974d-7d82677df654","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b01617b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/f1cde532-98b8-4a30-974d-7d82677df654","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":"b01617b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"b01617b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/f1cde532-98b8-4a30-974d-7d82677df654 200 10ms","method":"GET","requestID":"b01617b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/peerconnections/f1cde532-98b8-4a30-974d-7d82677df654"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 46ms","method":"POST","requestID":"67a54be0a343366777b6812539768a61","responseTime":46,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:54:51 +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.050","http_referrer":"","http_user_agent":"node-fetch","requestID":"67a54be0a343366777b6812539768a61"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b01be410-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":124,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:51Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff74c8d95-e684-4b1d-b775-a86b706c9bba","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d6422481-0613-4aa8-a459-32e850bcd361","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072491.7367532} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":124,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.612033,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:51Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b01be410-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba","object_type":"device","rebac_allow":false,"scope_allow":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":"b01be410-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b01be410-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f74c8d95-e684-4b1d-b775-a86b706c9bba/signaling 200 14ms","method":"POST","requestID":"b01be410-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b01e7c20-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":125,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:51Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b278aed-6d04-4ca3-a6d8-047a5c234899","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8604fcf8-59bd-4347-956c-441264832e31","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072491.7555957} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":125,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.553961,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:51Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b01e7c20-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899","object_type":"device","rebac_allow":false,"scope_allow":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":"b01e7c20-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b01e7c20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/6b278aed-6d04-4ca3-a6d8-047a5c234899/signaling 200 18ms","method":"POST","requestID":"b01e7c20-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5MX0.YWX77S3beu-Bb10cChJE2Mnhaq9ZDXgapMAm5PB0K-I","level":"info","message":"auth send jwt","requestID":"794b8b0816aad931107f55d4f9f6136f"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"794b8b0816aad931107f55d4f9f6136f","responseTime":6,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583","requestID":"794b8b0816aad931107f55d4f9f6136f"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":126,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:51Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":126,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.382215,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:51Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"794b8b0816aad931107f55d4f9f6136f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072491,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5MX0.YWX77S3beu-Bb10cChJE2Mnhaq9ZDXgapMAm5PB0K-I"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"794b8b0816aad931107f55d4f9f6136f","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583","requestID":"794b8b0816aad931107f55d4f9f6136f"} gateway-1 | {"time_local":"16/Oct/2024:09:54:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583 HTTP/1.1","status": "200","body_bytes_sent":"889","request_time":"0.028","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"794b8b0816aad931107f55d4f9f6136f"} experiment-1 | {"level":"info","message":"GET /experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583 200 21ms","method":"GET","requestID":"794b8b0816aad931107f55d4f9f6136f","responseTime":21,"status":200,"url":"/experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5MX0.YWX77S3beu-Bb10cChJE2Mnhaq9ZDXgapMAm5PB0K-I","level":"info","message":"auth send jwt","requestID":"822581f1d4dedf2eb828fa33b2d4247a"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"822581f1d4dedf2eb828fa33b2d4247a","responseTime":6,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583","requestID":"822581f1d4dedf2eb828fa33b2d4247a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":127,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:51Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":127,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.265831,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:51Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"822581f1d4dedf2eb828fa33b2d4247a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072491,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5MX0.YWX77S3beu-Bb10cChJE2Mnhaq9ZDXgapMAm5PB0K-I"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"822581f1d4dedf2eb828fa33b2d4247a","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583"},"level":"info","message":"Attempting to finish experiment","requestID":"822581f1d4dedf2eb828fa33b2d4247a"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"b02978a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":128,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:51Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":128,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.335292,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:51Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/f1cde532-98b8-4a30-974d-7d82677df654","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b02978a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/f1cde532-98b8-4a30-974d-7d82677df654","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072491,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5MX0.YWX77S3beu-Bb10cChJE2Mnhaq9ZDXgapMAm5PB0K-I"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b02978a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"device":"f74c8d95-e684-4b1d-b775-a86b706c9bba","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":"f74c8d95-e684-4b1d-b775-a86b706c9bba","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":"f74c8d95-e684-4b1d-b775-a86b706c9bba","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":"6b278aed-6d04-4ca3-a6d8-047a5c234899","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":"6b278aed-6d04-4ca3-a6d8-047a5c234899","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":"6b278aed-6d04-4ca3-a6d8-047a5c234899","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/f1cde532-98b8-4a30-974d-7d82677df654' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/f1cde532-98b8-4a30-974d-7d82677df654' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"f1cde532-98b8-4a30-974d-7d82677df654","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ff1cde532-98b8-4a30-974d-7d82677df654': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ff1cde532-98b8-4a30-974d-7d82677df654","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"54e90746-0522-443b-ac51-2ef6af01a560","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072491.8466628} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"897da052bdee710f6b6de6a93f2e5570","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"897da052bdee710f6b6de6a93f2e5570","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a1c19420-1133-40d9-ab9b-59d56555c942","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072491.8474588} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d9c1f0f39dfbd299a4095c316d0a00d8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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 14ms","method":"POST","requestID":"b02978a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"d9c1f0f39dfbd299a4095c316d0a00d8","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/f74c8d95-e684-4b1d-b775-a86b706c9bba"},{"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/6b278aed-6d04-4ca3-a6d8-047a5c234899"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/f1cde532-98b8-4a30-974d-7d82677df654"}}},"level":"info","message":"received a callback","requestID":"897da052bdee710f6b6de6a93f2e5570"} 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/f74c8d95-e684-4b1d-b775-a86b706c9bba"},{"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/6b278aed-6d04-4ca3-a6d8-047a5c234899"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/f1cde532-98b8-4a30-974d-7d82677df654"}}},"level":"info","message":"received a callback","requestID":"d9c1f0f39dfbd299a4095c316d0a00d8"} device-1 | {"data":{"peerconnection":"f1cde532-98b8-4a30-974d-7d82677df654","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"b02978a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/f1cde532-98b8-4a30-974d-7d82677df654 204 55ms","method":"DELETE","requestID":"b02978a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":55,"status":204,"url":"/peerconnections/f1cde532-98b8-4a30-974d-7d82677df654"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583"},"level":"info","message":"Successfully finished experiment","requestID":"822581f1d4dedf2eb828fa33b2d4247a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b03649e0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":129,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:51Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff74c8d95-e684-4b1d-b775-a86b706c9bba","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"68a57ae8-ec8d-47cb-929c-d80c1c8b218e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072491.9111533} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":129,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.967545,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:51Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b03649e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba","object_type":"device","rebac_allow":false,"scope_allow":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":"b03649e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b03649e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f74c8d95-e684-4b1d-b775-a86b706c9bba/signaling 200 18ms","method":"POST","requestID":"b03649e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/f74c8d95-e684-4b1d-b775-a86b706c9bba/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ffb108ac2-b0c7-4ba3-99bb-3ca7930ef583': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ffb108ac2-b0c7-4ba3-99bb-3ca7930ef583","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"4a13a856-b2c7-40e2-a1cf-dafd793f5dd6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072491.920403} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9de345c7-47d7-498e-b373-e6d18fa175b6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072491.9211965} authorization-1 | {"level":"info","message":"POST /relations/update 200 25ms","method":"POST","requestID":"822581f1d4dedf2eb828fa33b2d4247a","responseTime":25,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b039f360-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":130,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:51Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b278aed-6d04-4ca3-a6d8-047a5c234899","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a1149a84-9a2f-4dcc-b4cb-70df6c9c1d54","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072491.9351075} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":130,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.899667,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:51Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b039f360-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899","object_type":"device","rebac_allow":false,"scope_allow":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":"b039f360-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b039f360-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/6b278aed-6d04-4ca3-a6d8-047a5c234899/signaling 200 16ms","method":"POST","requestID":"b039f360-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583","requestID":"822581f1d4dedf2eb828fa33b2d4247a"} gateway-1 | {"time_local":"16/Oct/2024:09:54:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.208","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"822581f1d4dedf2eb828fa33b2d4247a"} gateway-1 | {"time_local":"16/Oct/2024:09:54:52 +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.766","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"18e5f14b884b84a898176cbd487d5ee9"} experiment-1 | {"level":"info","message":"DELETE /experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583 204 202ms","method":"DELETE","requestID":"822581f1d4dedf2eb828fa33b2d4247a","responseTime":202,"status":204,"url":"/experiments/fb108ac2-b0c7-4ba3-99bb-3ca7930ef583"} gateway-1 | {"time_local":"16/Oct/2024:09:54:52 +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.757","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"d30ca033306eca774e50a26e66a1565e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 153ms","method":"POST","requestID":"897da052bdee710f6b6de6a93f2e5570","responseTime":153,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:54: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.160","http_referrer":"","http_user_agent":"node-fetch","requestID":"897da052bdee710f6b6de6a93f2e5570"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 151ms","method":"POST","requestID":"d9c1f0f39dfbd299a4095c316d0a00d8","responseTime":151,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:54: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.160","http_referrer":"","http_user_agent":"node-fetch","requestID":"d9c1f0f39dfbd299a4095c316d0a00d8"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5Mn0.dQJAwRwCX0868b_AFb0pG-YH1AGb7LtDdPeAHZTiC4w","level":"info","message":"auth send jwt","requestID":"9129ef09452924b548c52f3dc0896d55"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9129ef09452924b548c52f3dc0896d55","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/f74c8d95-e684-4b1d-b775-a86b706c9bba' closed"} device-1 | {"level":"info","message":"postDevices called","requestID":"9129ef09452924b548c52f3dc0896d55"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":131,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:52Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":131,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.930882,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:52Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"9129ef09452924b548c52f3dc0896d55","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072492,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5Mn0.dQJAwRwCX0868b_AFb0pG-YH1AGb7LtDdPeAHZTiC4w"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"9129ef09452924b548c52f3dc0896d55","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/6b278aed-6d04-4ca3-a6d8-047a5c234899' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9a28c25-45aa-433d-bc59-6efe006bb3bb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"13e6fbb9-2bea-45b8-afb1-4f874a1acab4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072492.0350926} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9129ef09452924b548c52f3dc0896d55","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"aa9f2fc8-3a6a-4e34-9c50-5303d7437748","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072492.041583} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"9129ef09452924b548c52f3dc0896d55","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9a28c25-45aa-433d-bc59-6efe006bb3bb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"47b56826-d8b1-4f07-9f60-40bd125ec5aa","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072492.0530462} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fd367fbd-b7dd-457b-af97-187f160e0da0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072492.05336} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"9129ef09452924b548c52f3dc0896d55","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9a28c25-45aa-433d-bc59-6efe006bb3bb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9a28c25-45aa-433d-bc59-6efe006bb3bb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:52.053027664Z"}]},"request_id":"51f42cf4-fc52-4aa5-8872-19106a99b2b8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072492.0593116} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9129ef09452924b548c52f3dc0896d55","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"9129ef09452924b548c52f3dc0896d55"} gateway-1 | {"time_local":"16/Oct/2024:09:54: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.059","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9129ef09452924b548c52f3dc0896d55"} device-1 | {"level":"info","message":"POST /devices? 201 51ms","method":"POST","requestID":"9129ef09452924b548c52f3dc0896d55","responseTime":51,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5Mn0.dQJAwRwCX0868b_AFb0pG-YH1AGb7LtDdPeAHZTiC4w","level":"info","message":"auth send jwt","requestID":"c58128f45dc4b49abe3d6d49f2b0b70b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c58128f45dc4b49abe3d6d49f2b0b70b","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"c58128f45dc4b49abe3d6d49f2b0b70b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":132,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:52Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":132,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.934303,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:52Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c58128f45dc4b49abe3d6d49f2b0b70b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072492,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5Mn0.dQJAwRwCX0868b_AFb0pG-YH1AGb7LtDdPeAHZTiC4w"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"c58128f45dc4b49abe3d6d49f2b0b70b","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"48c8fe0a-29e9-4762-ab26-73cd7f51734d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072492.0929134} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c58128f45dc4b49abe3d6d49f2b0b70b","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"61d2c59b-d2ec-4eb6-b518-59b143c1eb4d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072492.098701} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"c58128f45dc4b49abe3d6d49f2b0b70b","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"8ddf3c1d-19d0-4b75-a2f9-41fe5aa09889","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072492.1101453} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8d9ea902-e6c2-4ee6-9b7d-3a0f787b72fc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072492.110399} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"c58128f45dc4b49abe3d6d49f2b0b70b","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:52.110131949Z"}]},"request_id":"d86e2954-2662-4840-91e6-08d0226c379b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072492.1159527} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c58128f45dc4b49abe3d6d49f2b0b70b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"c58128f45dc4b49abe3d6d49f2b0b70b"} gateway-1 | {"time_local":"16/Oct/2024:09:54: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.054","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c58128f45dc4b49abe3d6d49f2b0b70b"} device-1 | {"level":"info","message":"POST /devices? 201 49ms","method":"POST","requestID":"c58128f45dc4b49abe3d6d49f2b0b70b","responseTime":49,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"db2a9b4b16985745e4c11c4866a90515","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"db2a9b4b16985745e4c11c4866a90515","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:54:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1/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":"db2a9b4b16985745e4c11c4866a90515"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f360b42e6681253e746ce5b62bceaf50","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1/websocket 200 1ms","method":"OPTIONS","requestID":"db2a9b4b16985745e4c11c4866a90515","responseTime":2,"status":200,"url":"/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1/websocket"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"f360b42e6681253e746ce5b62bceaf50","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:54:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb/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":"f360b42e6681253e746ce5b62bceaf50"} device-1 | {"level":"info","message":"OPTIONS /devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb/websocket 200 1ms","method":"OPTIONS","requestID":"f360b42e6681253e746ce5b62bceaf50","responseTime":1,"status":200,"url":"/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA","level":"info","message":"auth send jwt","requestID":"731e134b3923bce1b612a0ed6c60ab08"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"731e134b3923bce1b612a0ed6c60ab08","responseTime":3,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA","level":"info","message":"auth send jwt","requestID":"54450e6e45f5487b11b0f5de3094eef5"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"731e134b3923bce1b612a0ed6c60ab08"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"54450e6e45f5487b11b0f5de3094eef5","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"54450e6e45f5487b11b0f5de3094eef5"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":133,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":133,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.169908,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"731e134b3923bce1b612a0ed6c60ab08","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072494,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"731e134b3923bce1b612a0ed6c60ab08","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":134,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":134,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.481175,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"54450e6e45f5487b11b0f5de3094eef5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072494,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA"} authorization-1 | {"level":"info","message":"POST /authorize 200 15ms","method":"POST","requestID":"54450e6e45f5487b11b0f5de3094eef5","responseTime":15,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"731e134b3923bce1b612a0ed6c60ab08"} gateway-1 | {"time_local":"16/Oct/2024:09:54:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1/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":"731e134b3923bce1b612a0ed6c60ab08"} device-1 | {"level":"info","message":"POST /devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1/websocket 200 30ms","method":"POST","requestID":"731e134b3923bce1b612a0ed6c60ab08","responseTime":30,"status":200,"url":"/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"54450e6e45f5487b11b0f5de3094eef5"} gateway-1 | {"time_local":"16/Oct/2024:09:54:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb/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":"54450e6e45f5487b11b0f5de3094eef5"} device-1 | {"level":"info","message":"POST /devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb/websocket 200 39ms","method":"POST","requestID":"54450e6e45f5487b11b0f5de3094eef5","responseTime":39,"status":200,"url":"/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"09759c485bd71242a5475551d7f61f30","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"09759c485bd71242a5475551d7f61f30","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:54:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1? 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":"09759c485bd71242a5475551d7f61f30"} device-1 | {"level":"info","message":"OPTIONS /devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1? 200 1ms","method":"OPTIONS","requestID":"09759c485bd71242a5475551d7f61f30","responseTime":1,"status":200,"url":"/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA","level":"info","message":"auth send jwt","requestID":"bb522a171095f111cb695592461d27e4"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"bb522a171095f111cb695592461d27e4","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"bb522a171095f111cb695592461d27e4"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b93f3e0d67f27a3e30a1cfdbbb7bbcdf","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"b93f3e0d67f27a3e30a1cfdbbb7bbcdf","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:54:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb? 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":"b93f3e0d67f27a3e30a1cfdbbb7bbcdf"} device-1 | {"level":"info","message":"OPTIONS /devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb? 200 1ms","method":"OPTIONS","requestID":"b93f3e0d67f27a3e30a1cfdbbb7bbcdf","responseTime":1,"status":200,"url":"/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":135,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":135,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.756275,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bb522a171095f111cb695592461d27e4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072494,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"bb522a171095f111cb695592461d27e4","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA","level":"info","message":"auth send jwt","requestID":"0c6284e078c5418a8daa71388cf1f75e"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"0c6284e078c5418a8daa71388cf1f75e","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"0c6284e078c5418a8daa71388cf1f75e"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:52.110131949Z"}]},"request_id":"b9f25a28-dd69-4a66-9deb-6d43428336aa","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.2224274} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"bb522a171095f111cb695592461d27e4","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":136,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":136,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.929434,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0c6284e078c5418a8daa71388cf1f75e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072494,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0c6284e078c5418a8daa71388cf1f75e","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ced1373b-6822-4a7b-a049-d0acba6f6666","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.2294703} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"bb522a171095f111cb695592461d27e4","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9a28c25-45aa-433d-bc59-6efe006bb3bb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9a28c25-45aa-433d-bc59-6efe006bb3bb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:52.053027664Z"}]},"request_id":"f9250678-3cf0-4e1f-ba91-29e6d6764268","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.232777} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0c6284e078c5418a8daa71388cf1f75e","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"92f0a754-2ab5-4394-9c7e-f117f876a7ec","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.2378232} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"0c6284e078c5418a8daa71388cf1f75e","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:52.110131949Z"}]},"request_id":"17d34850-3305-426b-98e3-55aa55e4f3af","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.2474132} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"bb522a171095f111cb695592461d27e4","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"bb522a171095f111cb695592461d27e4"} gateway-1 | {"time_local":"16/Oct/2024:09:54:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1? 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":"bb522a171095f111cb695592461d27e4"} device-1 | {"level":"info","message":"PATCH /devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1? 200 40ms","method":"PATCH","requestID":"bb522a171095f111cb695592461d27e4","responseTime":40,"status":200,"url":"/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9a28c25-45aa-433d-bc59-6efe006bb3bb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9a28c25-45aa-433d-bc59-6efe006bb3bb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:52.053027664Z"}]},"request_id":"5db304f5-b43a-49a8-87bb-b7405bca8b2d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.2582543} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0c6284e078c5418a8daa71388cf1f75e","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"0c6284e078c5418a8daa71388cf1f75e"} device-1 | {"level":"info","message":"PATCH /devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb? 200 40ms","method":"PATCH","requestID":"0c6284e078c5418a8daa71388cf1f75e","responseTime":40,"status":200,"url":"/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb?"} gateway-1 | {"time_local":"16/Oct/2024:09:54:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb? 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":"0c6284e078c5418a8daa71388cf1f75e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA","level":"info","message":"auth send jwt","requestID":"d527bac7f5b51c75b88f005847336b59"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d527bac7f5b51c75b88f005847336b59","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d527bac7f5b51c75b88f005847336b59"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":137,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":137,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.737957,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d527bac7f5b51c75b88f005847336b59","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072494,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d527bac7f5b51c75b88f005847336b59","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9a28c25-45aa-433d-bc59-6efe006bb3bb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9a28c25-45aa-433d-bc59-6efe006bb3bb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:52.053027664Z"}]},"request_id":"773c5db1-5363-490c-8635-620224268ad0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.2798185} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d527bac7f5b51c75b88f005847336b59","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d527bac7f5b51c75b88f005847336b59"} gateway-1 | {"time_local":"16/Oct/2024:09:54:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb? 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":"d527bac7f5b51c75b88f005847336b59"} device-1 | {"level":"info","message":"GET /devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb? 200 14ms","method":"GET","requestID":"d527bac7f5b51c75b88f005847336b59","responseTime":14,"status":200,"url":"/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA","level":"info","message":"auth send jwt","requestID":"c3fad75c82ef5ceb86359671d7e0a4a4"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c3fad75c82ef5ceb86359671d7e0a4a4","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c3fad75c82ef5ceb86359671d7e0a4a4"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":138,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":138,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.101399,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c3fad75c82ef5ceb86359671d7e0a4a4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072494,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"c3fad75c82ef5ceb86359671d7e0a4a4","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:52.110131949Z"}]},"request_id":"d3839175-3656-4e97-99e1-4677f5580ba1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.301398} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c3fad75c82ef5ceb86359671d7e0a4a4","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c3fad75c82ef5ceb86359671d7e0a4a4"} gateway-1 | {"time_local":"16/Oct/2024:09:54:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1? 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":"c3fad75c82ef5ceb86359671d7e0a4a4"} device-1 | {"level":"info","message":"GET /devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1? 200 16ms","method":"GET","requestID":"c3fad75c82ef5ceb86359671d7e0a4a4","responseTime":16,"status":200,"url":"/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA","level":"info","message":"auth send jwt","requestID":"38c29fee548941ce43edc13beae8e961"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"38c29fee548941ce43edc13beae8e961","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"38c29fee548941ce43edc13beae8e961"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":139,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":139,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.358695,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"38c29fee548941ce43edc13beae8e961","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072494,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"38c29fee548941ce43edc13beae8e961","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9"},"level":"info","message":"Attempting to run experiment","requestID":"38c29fee548941ce43edc13beae8e961"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9"},"level":"info","message":"Attempting to book experiment","requestID":"38c29fee548941ce43edc13beae8e961"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9"},"level":"info","message":"Successfully booked experiment","requestID":"38c29fee548941ce43edc13beae8e961"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b1acbd40-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b1ad3270-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":140,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":140,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.084062,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":141,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b1acbd40-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072494,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"b1acbd40-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":141,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.408111,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b1ad3270-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072494,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"b1ad3270-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9a28c25-45aa-433d-bc59-6efe006bb3bb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9a28c25-45aa-433d-bc59-6efe006bb3bb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:52.053027664Z"}]},"request_id":"6958d531-5d26-4088-860f-b3513783887b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.3703344} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"b1acbd40-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:52.110131949Z"}]},"request_id":"d9733089-71e9-419a-9d10-5ca39eb0a8a8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.3722122} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b1ad3270-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b1acbd40-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb? 200 25ms","method":"GET","requestID":"b1acbd40-8ba4-11ef-a62f-5f7f958aa687","responseTime":25,"status":200,"url":"/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b1ad3270-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1? 200 23ms","method":"GET","requestID":"b1ad3270-8ba4-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9"},"level":"info","message":"Setting up experiment","requestID":"38c29fee548941ce43edc13beae8e961"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"38c29fee548941ce43edc13beae8e961"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9"},"level":"info","message":"Successfully locked booking for experiment","requestID":"38c29fee548941ce43edc13beae8e961"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"38c29fee548941ce43edc13beae8e961"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"38c29fee548941ce43edc13beae8e961"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9"},"level":"info","message":"Attempting to update booking for experiment","requestID":"38c29fee548941ce43edc13beae8e961"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9"},"level":"info","message":"Successfully updated booking for experiment","requestID":"38c29fee548941ce43edc13beae8e961"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9"},"level":"info","message":"Successfully set up experiment","requestID":"38c29fee548941ce43edc13beae8e961"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b1ba51d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b1ba9ff0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b1bb1520-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9"},"level":"info","message":"Successfully running experiment","requestID":"38c29fee548941ce43edc13beae8e961"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":142,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":142,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.715866,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":143,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b1ba51d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072494,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"b1ba51d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":143,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.786048,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b1ba9ff0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072494,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"b1ba9ff0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":144,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":144,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.066135,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9a28c25-45aa-433d-bc59-6efe006bb3bb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"918cf96a-9288-4f39-8054-dfc855620f75","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.4605587} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b1bb1520-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb","object_type":"device","rebac_allow":false,"scope_allow":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":"b1bb1520-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:52.110131949Z"}]},"request_id":"1ad514e0-8b6a-452e-b794-71e77493b031","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.4658291} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"b1ba9ff0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9a28c25-45aa-433d-bc59-6efe006bb3bb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9a28c25-45aa-433d-bc59-6efe006bb3bb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:52.053027664Z"}]},"request_id":"44f26322-79cc-417e-9fcb-aab8a5b28a06","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.4714174} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b1ba51d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b1bb1520-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb/signaling 200 27ms","method":"POST","requestID":"b1bb1520-8ba4-11ef-a62f-5f7f958aa687","responseTime":27,"status":200,"url":"/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b1ba9ff0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1? 200 32ms","method":"GET","requestID":"b1ba9ff0-8ba4-11ef-a62f-5f7f958aa687","responseTime":32,"status":200,"url":"/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd591587d-0cfd-48cd-9745-f613e42e8fe9#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd591587d-0cfd-48cd-9745-f613e42e8fe9","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"3b35bbe4-66d9-4707-a39b-041155fedf08","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.4817185} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b1bfd010-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b1ba51d0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5641b916-a4d5-409e-8da5-d4f3008956b9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.482319} device-1 | {"level":"info","message":"GET /devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb? 200 40ms","method":"GET","requestID":"b1ba51d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":40,"status":200,"url":"/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb?"} authorization-1 | {"level":"info","message":"POST /relations/update 200 26ms","method":"POST","requestID":"38c29fee548941ce43edc13beae8e961","responseTime":26,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":145,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b1c10890-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2edfa762-799e-41b4-aa02-14f0a719e8eb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.49098} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":145,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.858264,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":146,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b1bfd010-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","object_type":"device","rebac_allow":false,"scope_allow":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":"b1bfd010-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9a28c25-45aa-433d-bc59-6efe006bb3bb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9c4b315f-ee1b-46e1-97c6-0ed0ef987cdc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.4977217} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":146,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.485227,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b1c10890-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb","object_type":"device","rebac_allow":false,"scope_allow":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":"b1c10890-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"38c29fee548941ce43edc13beae8e961"} gateway-1 | {"time_local":"16/Oct/2024:09:54:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"808","request_time":"0.193","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"38c29fee548941ce43edc13beae8e961"} experiment-1 | {"level":"info","message":"POST /experiments? 201 187ms","method":"POST","requestID":"38c29fee548941ce43edc13beae8e961","responseTime":187,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b1bfd010-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1/signaling 200 22ms","method":"POST","requestID":"b1bfd010-8ba4-11ef-a62f-5f7f958aa687","responseTime":22,"status":200,"url":"/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b1c10890-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb/signaling 200 15ms","method":"POST","requestID":"b1c10890-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA","level":"info","message":"auth send jwt","requestID":"d186b739474637a1a30ffe76cc61ec13"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d186b739474637a1a30ffe76cc61ec13","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b1c3c7b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d186b739474637a1a30ffe76cc61ec13"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":147,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":148,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dd1fe7ce-2706-4b09-9d17-ac850c660075","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.513262} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":148,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.975186,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d186b739474637a1a30ffe76cc61ec13","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072494,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d186b739474637a1a30ffe76cc61ec13","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":147,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.75526,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b1c3c7b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","object_type":"device","rebac_allow":false,"scope_allow":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":"b1c3c7b0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9a28c25-45aa-433d-bc59-6efe006bb3bb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9a28c25-45aa-433d-bc59-6efe006bb3bb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:52.053027664Z"}]},"request_id":"8e162023-99b4-4bba-9c65-55b85adb7cbf","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.5190265} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b1c3c7b0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d186b739474637a1a30ffe76cc61ec13","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"POST /devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1/signaling 200 13ms","method":"POST","requestID":"b1c3c7b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"38c29fee548941ce43edc13beae8e961"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b1c65fc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b1c686d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d186b739474637a1a30ffe76cc61ec13"} device-1 | {"level":"info","message":"GET /devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb? 200 18ms","method":"GET","requestID":"d186b739474637a1a30ffe76cc61ec13","responseTime":18,"status":200,"url":"/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":149,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":150,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":149,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.653709,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} gateway-1 | {"time_local":"16/Oct/2024:09:54:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb? 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":"d186b739474637a1a30ffe76cc61ec13"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b1c65fc0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072494,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b1c65fc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":150,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.675554,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b1c686d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072494,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b1c686d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA","level":"info","message":"auth send jwt","requestID":"76b7c19717ecaf48cfe9b87d14b0bc54"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"76b7c19717ecaf48cfe9b87d14b0bc54","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"76b7c19717ecaf48cfe9b87d14b0bc54"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9a28c25-45aa-433d-bc59-6efe006bb3bb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9a28c25-45aa-433d-bc59-6efe006bb3bb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:52.053027664Z"}]},"request_id":"63e92c57-b297-4864-b1c3-422161e19371","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.5330455} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b1c65fc0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:52.110131949Z"}]},"request_id":"367a3b44-127a-4607-9bee-acb4310e3ecd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.5345025} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b1c65fc0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"b1c686d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":151,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":151,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.152429,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} device-1 | {"level":"info","message":"GET /devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb? 200 14ms","method":"GET","requestID":"b1c65fc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"76b7c19717ecaf48cfe9b87d14b0bc54","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072494,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"76b7c19717ecaf48cfe9b87d14b0bc54","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b1c686d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1? 200 18ms","method":"GET","requestID":"b1c686d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:52.110131949Z"}]},"request_id":"3f57999e-26f3-436a-83ba-342ef30bd09a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.5439825} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9"},"level":"info","message":"Building connection plan","requestID":"38c29fee548941ce43edc13beae8e961"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"e6c9f994-8acd-42fe-9619-34dcc2c48d9c"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"6fde03a6-070e-4224-ae9d-890256fb676a"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"10f0052a-b1aa-4883-bc95-d7d5cb0e448e"}]},"level":"info","message":"Built pairwise service configurations","requestID":"38c29fee548941ce43edc13beae8e961"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"76b7c19717ecaf48cfe9b87d14b0bc54","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"76b7c19717ecaf48cfe9b87d14b0bc54"} device-1 | {"level":"info","message":"GET /devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1? 200 15ms","method":"GET","requestID":"76b7c19717ecaf48cfe9b87d14b0bc54","responseTime":15,"status":200,"url":"/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1?"} gateway-1 | {"time_local":"16/Oct/2024:09:54:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1? 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":"76b7c19717ecaf48cfe9b87d14b0bc54"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"b1cb8fe0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"b1cb8fe0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"POST /rooms 201 8ms","method":"POST","requestID":"b1cb8fe0-8ba4-11ef-a042-213954f0282b","responseTime":8,"status":201,"url":"/rooms"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/2e052e1f-91b8-4efb-bab5-aca541727e06?id=d68b1850-0175-445d-8d45-1b130ae42524","ws://localhost/rooms/2e052e1f-91b8-4efb-bab5-aca541727e06?id=b833ee50-08bc-43b0-97a3-7c3e1fab2af1"]},"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/f9a28c25-45aa-433d-bc59-6efe006bb3bb"},{"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/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"38c29fee548941ce43edc13beae8e961"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"b1cd64a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":152,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":152,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.906834,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b1cd64a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072494,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b1cd64a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"ff6ff423-39d7-4250-a124-422c57afb8a3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.5828316} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"968026f4-2887-43e0-ae10-0ad83e40100e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.5832078} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"b1cd64a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"b1cd64a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"b1cd64a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/2ec7d37e-99a0-4ddb-af67-56838439fef1'","requestID":"b1cd64a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/2ec7d37e-99a0-4ddb-af67-56838439fef1'","requestID":"b1cd64a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"b1cd64a0-8ba4-11ef-a62f-5f7f958aa687"} 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":"b1cd64a0-8ba4-11ef-a62f-5f7f958aa687","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":"b1cd64a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/2ec7d37e-99a0-4ddb-af67-56838439fef1' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"2ec7d37e-99a0-4ddb-af67-56838439fef1","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"36c134d1cbdbe781fca7049e648cc393","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"36c134d1cbdbe781fca7049e648cc393","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":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb"},{"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/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/2ec7d37e-99a0-4ddb-af67-56838439fef1"}}},"level":"info","message":"received a callback","requestID":"36c134d1cbdbe781fca7049e648cc393"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"b1d49090-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"b833ee50-08bc-43b0-97a3-7c3e1fab2af1\" in room \"http://localhost/rooms/2e052e1f-91b8-4efb-bab5-aca541727e06\"","requestID":"b1d49090-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"b1d49090-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"b1d505c0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"d68b1850-0175-445d-8d45-1b130ae42524\" in room \"http://localhost/rooms/2e052e1f-91b8-4efb-bab5-aca541727e06\"","requestID":"b1d505c0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"b1d505c0-8ba4-11ef-a042-213954f0282b"} device-1 | {"data":{"peerconnection":"2ec7d37e-99a0-4ddb-af67-56838439fef1","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 13ms","method":"POST","requestID":"36c134d1cbdbe781fca7049e648cc393","responseTime":13,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:54:54 +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":"36c134d1cbdbe781fca7049e648cc393"} device-1 | {"data":{"peerconnection":"2ec7d37e-99a0-4ddb-af67-56838439fef1","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"38c29fee548941ce43edc13beae8e961"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b1d92470-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/2ec7d37e-99a0-4ddb-af67-56838439fef1' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"2ec7d37e-99a0-4ddb-af67-56838439fef1","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":153,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9a28c25-45aa-433d-bc59-6efe006bb3bb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"db831f6d-500d-4527-b985-7905d3043eda","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.6527305} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ebd43a91d6b3a2fce3c520293014d4e2","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"ebd43a91d6b3a2fce3c520293014d4e2","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":153,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.710211,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b1d92470-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb","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":[],"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/f9a28c25-45aa-433d-bc59-6efe006bb3bb"},{"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/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/2ec7d37e-99a0-4ddb-af67-56838439fef1"}}},"level":"info","message":"received a callback","requestID":"ebd43a91d6b3a2fce3c520293014d4e2"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"b1d92470-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"b1db2040-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b1d92470-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":154,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} device-1 | {"level":"info","message":"POST /devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb/signaling 200 15ms","method":"POST","requestID":"b1d92470-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F2ec7d37e-99a0-4ddb-af67-56838439fef1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2ca5e5a8-c7e0-4223-8fd7-bff77c1cddf3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.6650274} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":154,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.8206,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b1dc0aa0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/2ec7d37e-99a0-4ddb-af67-56838439fef1","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b1db2040-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/2ec7d37e-99a0-4ddb-af67-56838439fef1","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":"b1db2040-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":155,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"b1db2040-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/2ec7d37e-99a0-4ddb-af67-56838439fef1 200 9ms","method":"GET","requestID":"b1db2040-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/peerconnections/2ec7d37e-99a0-4ddb-af67-56838439fef1"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c8b11e89-bcfc-406a-ac40-bb0435183ada","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.670486} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":155,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.682018,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b1dc0aa0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","object_type":"device","rebac_allow":false,"scope_allow":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":"b1dc0aa0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b1dc0aa0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1/signaling 200 9ms","method":"POST","requestID":"b1dc0aa0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1/signaling"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 30ms","method":"POST","requestID":"ebd43a91d6b3a2fce3c520293014d4e2","responseTime":30,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:54:54 +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":"ebd43a91d6b3a2fce3c520293014d4e2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b1def0d0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":156,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9a28c25-45aa-433d-bc59-6efe006bb3bb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e35de6d0-efe6-4e99-ade7-d1189ed2c092","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.690132} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":156,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.38146,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b1def0d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb","object_type":"device","rebac_allow":false,"scope_allow":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":"b1def0d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b1def0d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb/signaling 200 9ms","method":"POST","requestID":"b1def0d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b1e09e80-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":157,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cedd2dbc-5648-4617-b270-8669d89296a2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.7010033} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":157,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.261279,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b1e09e80-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","object_type":"device","rebac_allow":false,"scope_allow":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":"b1e09e80-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b1e09e80-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1/signaling 200 9ms","method":"POST","requestID":"b1e09e80-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA","level":"info","message":"auth send jwt","requestID":"97ac61e8e4a7bf09164d5f4193aef223"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"97ac61e8e4a7bf09164d5f4193aef223","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9","requestID":"97ac61e8e4a7bf09164d5f4193aef223"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":158,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":158,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.125508,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"97ac61e8e4a7bf09164d5f4193aef223","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072494,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"97ac61e8e4a7bf09164d5f4193aef223","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9","requestID":"97ac61e8e4a7bf09164d5f4193aef223"} experiment-1 | {"level":"info","message":"GET /experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9 200 12ms","method":"GET","requestID":"97ac61e8e4a7bf09164d5f4193aef223","responseTime":12,"status":200,"url":"/experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9"} gateway-1 | {"time_local":"16/Oct/2024:09:54:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9 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":"97ac61e8e4a7bf09164d5f4193aef223"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA","level":"info","message":"auth send jwt","requestID":"fec5dedc4f2d1825eb6768593d1ce3bf"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"fec5dedc4f2d1825eb6768593d1ce3bf","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9","requestID":"fec5dedc4f2d1825eb6768593d1ce3bf"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":159,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":159,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.673237,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fec5dedc4f2d1825eb6768593d1ce3bf","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072494,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"fec5dedc4f2d1825eb6768593d1ce3bf","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9"},"level":"info","message":"Attempting to finish experiment","requestID":"fec5dedc4f2d1825eb6768593d1ce3bf"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"b1e9c640-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":160,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":160,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.993285,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/2ec7d37e-99a0-4ddb-af67-56838439fef1","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b1e9c640-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/2ec7d37e-99a0-4ddb-af67-56838439fef1","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072494,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b1e9c640-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/2ec7d37e-99a0-4ddb-af67-56838439fef1","device":"71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/2ec7d37e-99a0-4ddb-af67-56838439fef1","device":"f9a28c25-45aa-433d-bc59-6efe006bb3bb","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/2ec7d37e-99a0-4ddb-af67-56838439fef1' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/2ec7d37e-99a0-4ddb-af67-56838439fef1' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"2ec7d37e-99a0-4ddb-af67-56838439fef1","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} gateway-1 | {"time_local":"16/Oct/2024:09:54:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/2e052e1f-91b8-4efb-bab5-aca541727e06?id=b833ee50-08bc-43b0-97a3-7c3e1fab2af1 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":"e0f7e6b33417d1237b27d0a50bb7e4e8"} gateway-1 | {"time_local":"16/Oct/2024:09:54:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/2e052e1f-91b8-4efb-bab5-aca541727e06?id=d68b1850-0175-445d-8d45-1b130ae42524 HTTP/1.1","status": "101","body_bytes_sent":"2","request_time":"0.166","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"4028262af0f02b63bc5b8c9a046506fb"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"b833ee50-08bc-43b0-97a3-7c3e1fab2af1\" in room \"http://localhost/rooms/2e052e1f-91b8-4efb-bab5-aca541727e06\""} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4e89d13fd2c6e5daa6b77a1707ee48f6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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 \"b833ee50-08bc-43b0-97a3-7c3e1fab2af1\" from room \"http://localhost/rooms/2e052e1f-91b8-4efb-bab5-aca541727e06\", code: 1005, reason: "} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"4e89d13fd2c6e5daa6b77a1707ee48f6","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"641aa694105fb26e1dec942b868d9bee","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb"},{"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/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/2ec7d37e-99a0-4ddb-af67-56838439fef1"}}},"level":"info","message":"received a callback","requestID":"4e89d13fd2c6e5daa6b77a1707ee48f6"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"d68b1850-0175-445d-8d45-1b130ae42524\" in room \"http://localhost/rooms/2e052e1f-91b8-4efb-bab5-aca541727e06\""} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"641aa694105fb26e1dec942b868d9bee","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F2ec7d37e-99a0-4ddb-af67-56838439fef1': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F2ec7d37e-99a0-4ddb-af67-56838439fef1","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"b1ceb4c6-b6a4-44b1-a741-13c2ccf0c8f1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.7816894} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"d68b1850-0175-445d-8d45-1b130ae42524\" from room \"http://localhost/rooms/2e052e1f-91b8-4efb-bab5-aca541727e06\", code: 1005, reason: "} 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":"connected","url":"http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb"},{"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/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/2ec7d37e-99a0-4ddb-af67-56838439fef1"}}},"level":"info","message":"received a callback","requestID":"641aa694105fb26e1dec942b868d9bee"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9582d201-62cb-4c2e-afae-c210d9eaead1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.7829406} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"b1e9c640-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"2ec7d37e-99a0-4ddb-af67-56838439fef1","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"b1e9c640-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/2ec7d37e-99a0-4ddb-af67-56838439fef1 204 42ms","method":"DELETE","requestID":"b1e9c640-8ba4-11ef-a62f-5f7f958aa687","responseTime":42,"status":204,"url":"/peerconnections/2ec7d37e-99a0-4ddb-af67-56838439fef1"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1'"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9"},"level":"info","message":"Successfully finished experiment","requestID":"fec5dedc4f2d1825eb6768593d1ce3bf"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b1f31510-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":161,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9a28c25-45aa-433d-bc59-6efe006bb3bb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7e8b20a6-012d-4c7b-a136-4b855f7ac54f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.8231452} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":161,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.054068,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b1f31510-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb","object_type":"device","rebac_allow":false,"scope_allow":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":"b1f31510-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b1f31510-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb/signaling 200 11ms","method":"POST","requestID":"b1f31510-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/f9a28c25-45aa-433d-bc59-6efe006bb3bb/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd591587d-0cfd-48cd-9745-f613e42e8fe9': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd591587d-0cfd-48cd-9745-f613e42e8fe9","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"6487195a-4113-46da-818e-03aa8ae44e85","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.830366} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b1f510e0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e9670b6d-4bf0-4e05-84df-251d6bb9c3f4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.8317378} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"fec5dedc4f2d1825eb6768593d1ce3bf","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":162,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6a81f4d4-cce6-44cd-be57-e877f7e7dfbe","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.8364842} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":162,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.671482,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b1f510e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1","object_type":"device","rebac_allow":false,"scope_allow":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":"b1f510e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b1f510e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1/signaling 200 11ms","method":"POST","requestID":"b1f510e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9","requestID":"fec5dedc4f2d1825eb6768593d1ce3bf"} gateway-1 | {"time_local":"16/Oct/2024:09:54:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9 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":"fec5dedc4f2d1825eb6768593d1ce3bf"} experiment-1 | {"level":"info","message":"DELETE /experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9 204 155ms","method":"DELETE","requestID":"fec5dedc4f2d1825eb6768593d1ce3bf","responseTime":155,"status":204,"url":"/experiments/d591587d-0cfd-48cd-9745-f613e42e8fe9"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 123ms","method":"POST","requestID":"4e89d13fd2c6e5daa6b77a1707ee48f6","responseTime":123,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:54:54 +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":"4e89d13fd2c6e5daa6b77a1707ee48f6"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 121ms","method":"POST","requestID":"641aa694105fb26e1dec942b868d9bee","responseTime":121,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:54:54 +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":"641aa694105fb26e1dec942b868d9bee"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA","level":"info","message":"auth send jwt","requestID":"bb56c8d210af20d8acdd013cf7bfff50"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"bb56c8d210af20d8acdd013cf7bfff50","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"bb56c8d210af20d8acdd013cf7bfff50"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":163,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":163,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.87522,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bb56c8d210af20d8acdd013cf7bfff50","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072494,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA"} gateway-1 | {"time_local":"16/Oct/2024:09:54:54 +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.738","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"d8b2b34ad65b029ce1c9d032e0009197"} gateway-1 | {"time_local":"16/Oct/2024:09:54:54 +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.726","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"1c9318bb6441c897c5e524a92b502e4b"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"bb56c8d210af20d8acdd013cf7bfff50","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/f9a28c25-45aa-433d-bc59-6efe006bb3bb' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/71eb1308-f58b-4dc5-aa2e-a5ccb3c8a7d1' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc7096c0-14a8-47ca-b9c8-62a4cc27039e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"9748cfca-5895-4422-823e-525cc5e10a4c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.9286304} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"bb56c8d210af20d8acdd013cf7bfff50","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"801db95b-6ed3-490f-85a4-927b9983b1a4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.9344459} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"bb56c8d210af20d8acdd013cf7bfff50","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc7096c0-14a8-47ca-b9c8-62a4cc27039e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"bf77728c-61fd-4fe6-914c-8a272984d561","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.9456024} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f0706f6b-8699-4c07-83ba-9edb3404e4cc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.9458299} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"bb56c8d210af20d8acdd013cf7bfff50","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc7096c0-14a8-47ca-b9c8-62a4cc27039e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc7096c0-14a8-47ca-b9c8-62a4cc27039e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:54.945581069Z"}]},"request_id":"59f538ac-7bca-411a-89f0-a82002600e3b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.9506412} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"bb56c8d210af20d8acdd013cf7bfff50","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"bb56c8d210af20d8acdd013cf7bfff50"} gateway-1 | {"time_local":"16/Oct/2024:09:54:54 +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":"bb56c8d210af20d8acdd013cf7bfff50"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"bb56c8d210af20d8acdd013cf7bfff50","responseTime":45,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA","level":"info","message":"auth send jwt","requestID":"bad4a64985da03cc5acf66a7c27327e1"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"bad4a64985da03cc5acf66a7c27327e1","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"bad4a64985da03cc5acf66a7c27327e1"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":164,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":164,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.11178,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:54Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bad4a64985da03cc5acf66a7c27327e1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072494,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NH0.er57oLhBH-el5xau-Ft40qV7pJ9F4kMXz8nbhU4jYtA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"bad4a64985da03cc5acf66a7c27327e1","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"8018941c-6d6b-44dc-b76e-74cde486685a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.9786408} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"bad4a64985da03cc5acf66a7c27327e1","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c7079aee-d017-4a04-b391-703eea593692","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.984094} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"bad4a64985da03cc5acf66a7c27327e1","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"61f40992-522f-4186-a4d3-236845c920d5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.9933887} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"874235a2-16a3-4904-9e3b-691b92eefe73","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.9934895} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"bad4a64985da03cc5acf66a7c27327e1","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:54.993372581Z"}]},"request_id":"2e505d2d-fd5b-4602-bce3-5cf862f2a1d9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072494.997462} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"bad4a64985da03cc5acf66a7c27327e1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"bad4a64985da03cc5acf66a7c27327e1"} gateway-1 | {"time_local":"16/Oct/2024:09:54: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.045","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"bad4a64985da03cc5acf66a7c27327e1"} device-1 | {"level":"info","message":"POST /devices? 201 41ms","method":"POST","requestID":"bad4a64985da03cc5acf66a7c27327e1","responseTime":41,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NX0.o6PVXBcoxPuTHJ3MPEUmQZB1PV7JzHhZVbDfXq_cLJg","level":"info","message":"auth send jwt","requestID":"64fe4f890328a7fdc32b38098d8f423c"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"64fe4f890328a7fdc32b38098d8f423c","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"64fe4f890328a7fdc32b38098d8f423c"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":165,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:55Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":165,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.22907,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:55Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"64fe4f890328a7fdc32b38098d8f423c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072495,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NX0.o6PVXBcoxPuTHJ3MPEUmQZB1PV7JzHhZVbDfXq_cLJg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"64fe4f890328a7fdc32b38098d8f423c","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:54.993372581Z"}]},"request_id":"6c42a78e-cc9a-42e8-89b8-41871110ad4e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072495.5023882} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"64fe4f890328a7fdc32b38098d8f423c","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"06486155-4ac1-44cb-b66e-32ef80794ac9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072495.5102918} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"64fe4f890328a7fdc32b38098d8f423c","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:54.993372581Z"}]},"request_id":"54f63a11-07d1-45a3-9744-ed844c56ac86","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072495.5232708} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"64fe4f890328a7fdc32b38098d8f423c","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"64fe4f890328a7fdc32b38098d8f423c"} gateway-1 | {"time_local":"16/Oct/2024:09:54:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.045","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"64fe4f890328a7fdc32b38098d8f423c"} device-1 | {"level":"info","message":"PATCH /devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa 200 39ms","method":"PATCH","requestID":"64fe4f890328a7fdc32b38098d8f423c","responseTime":39,"status":200,"url":"/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NX0.o6PVXBcoxPuTHJ3MPEUmQZB1PV7JzHhZVbDfXq_cLJg","level":"info","message":"auth send jwt","requestID":"b492bfe5e0e9c4058ca1683e0dbabe97"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"b492bfe5e0e9c4058ca1683e0dbabe97","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"b492bfe5e0e9c4058ca1683e0dbabe97"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":166,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:55Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":166,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.269636,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:55Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b492bfe5e0e9c4058ca1683e0dbabe97","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072495,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5NX0.o6PVXBcoxPuTHJ3MPEUmQZB1PV7JzHhZVbDfXq_cLJg"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"b492bfe5e0e9c4058ca1683e0dbabe97","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"b492bfe5e0e9c4058ca1683e0dbabe97"} gateway-1 | {"time_local":"16/Oct/2024:09:54:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa/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.10","requestID":"b492bfe5e0e9c4058ca1683e0dbabe97"} device-1 | {"level":"info","message":"POST /devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa/websocket 200 23ms","method":"POST","requestID":"b492bfe5e0e9c4058ca1683e0dbabe97","responseTime":23,"status":200,"url":"/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"bb62f462e34dfbd3a0ff8ead7722004c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"bb62f462e34dfbd3a0ff8ead7722004c","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:54:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e/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":"bb62f462e34dfbd3a0ff8ead7722004c"} device-1 | {"level":"info","message":"OPTIONS /devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e/websocket 200 1ms","method":"OPTIONS","requestID":"bb62f462e34dfbd3a0ff8ead7722004c","responseTime":1,"status":200,"url":"/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts","level":"info","message":"auth send jwt","requestID":"16eca4a88b011095ec1fbb41c01f02d7"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"16eca4a88b011095ec1fbb41c01f02d7","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"16eca4a88b011095ec1fbb41c01f02d7"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":167,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":167,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.354824,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"16eca4a88b011095ec1fbb41c01f02d7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072497,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"16eca4a88b011095ec1fbb41c01f02d7","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"16eca4a88b011095ec1fbb41c01f02d7"} gateway-1 | {"time_local":"16/Oct/2024:09:54:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e/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":"16eca4a88b011095ec1fbb41c01f02d7"} device-1 | {"level":"info","message":"POST /devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e/websocket 200 23ms","method":"POST","requestID":"16eca4a88b011095ec1fbb41c01f02d7","responseTime":23,"status":200,"url":"/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"21b78a6aa9504963bfc5d53be82e8abd","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"21b78a6aa9504963bfc5d53be82e8abd","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:54:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e? 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":"21b78a6aa9504963bfc5d53be82e8abd"} device-1 | {"level":"info","message":"OPTIONS /devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e? 200 1ms","method":"OPTIONS","requestID":"21b78a6aa9504963bfc5d53be82e8abd","responseTime":1,"status":200,"url":"/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts","level":"info","message":"auth send jwt","requestID":"8a4eca3b67508d75f0d89760ad8aa2c3"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"8a4eca3b67508d75f0d89760ad8aa2c3","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"8a4eca3b67508d75f0d89760ad8aa2c3"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":168,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":168,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.202924,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"8a4eca3b67508d75f0d89760ad8aa2c3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072497,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8a4eca3b67508d75f0d89760ad8aa2c3","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc7096c0-14a8-47ca-b9c8-62a4cc27039e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc7096c0-14a8-47ca-b9c8-62a4cc27039e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:54.945581069Z"}]},"request_id":"e39b522f-2ff8-43ef-9d82-330947a1be28","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.1250715} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"8a4eca3b67508d75f0d89760ad8aa2c3","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"16de3115-00f2-4cba-b65b-95f42029811b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.1349282} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"8a4eca3b67508d75f0d89760ad8aa2c3","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc7096c0-14a8-47ca-b9c8-62a4cc27039e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc7096c0-14a8-47ca-b9c8-62a4cc27039e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:54.945581069Z"}]},"request_id":"07c88ad4-6bf6-47c7-bf61-368901c8c581","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.1477318} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"8a4eca3b67508d75f0d89760ad8aa2c3","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"8a4eca3b67508d75f0d89760ad8aa2c3"} gateway-1 | {"time_local":"16/Oct/2024:09:54:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e? 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":"8a4eca3b67508d75f0d89760ad8aa2c3"} device-1 | {"level":"info","message":"PATCH /devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e? 200 43ms","method":"PATCH","requestID":"8a4eca3b67508d75f0d89760ad8aa2c3","responseTime":43,"status":200,"url":"/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts","level":"info","message":"auth send jwt","requestID":"17550185dc67e4b84c5fb305f47c323e"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"17550185dc67e4b84c5fb305f47c323e","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"17550185dc67e4b84c5fb305f47c323e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":169,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":169,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.184526,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"17550185dc67e4b84c5fb305f47c323e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072497,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"17550185dc67e4b84c5fb305f47c323e","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc7096c0-14a8-47ca-b9c8-62a4cc27039e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc7096c0-14a8-47ca-b9c8-62a4cc27039e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:54.945581069Z"}]},"request_id":"8d25b442-0530-47c6-b0df-3c59d1d684df","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.1799376} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"17550185dc67e4b84c5fb305f47c323e","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"17550185dc67e4b84c5fb305f47c323e"} gateway-1 | {"time_local":"16/Oct/2024:09:54:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e? 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":"17550185dc67e4b84c5fb305f47c323e"} device-1 | {"level":"info","message":"GET /devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e? 200 18ms","method":"GET","requestID":"17550185dc67e4b84c5fb305f47c323e","responseTime":18,"status":200,"url":"/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts","level":"info","message":"auth send jwt","requestID":"7f5e9cc6f92a24db3bdda2d809732820"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"7f5e9cc6f92a24db3bdda2d809732820","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7f5e9cc6f92a24db3bdda2d809732820"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":170,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":170,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.23656,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"7f5e9cc6f92a24db3bdda2d809732820","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072497,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7f5e9cc6f92a24db3bdda2d809732820","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:54.993372581Z"}]},"request_id":"d55d3dc0-55e3-4795-ba50-8810fade4e3f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.2085717} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"7f5e9cc6f92a24db3bdda2d809732820","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7f5e9cc6f92a24db3bdda2d809732820"} gateway-1 | {"time_local":"16/Oct/2024:09:54:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.030","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7f5e9cc6f92a24db3bdda2d809732820"} device-1 | {"level":"info","message":"GET /devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa? 200 24ms","method":"GET","requestID":"7f5e9cc6f92a24db3bdda2d809732820","responseTime":24,"status":200,"url":"/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts","level":"info","message":"auth send jwt","requestID":"4684b67aba2d6659a72e7e3c5d4ca7a8"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"4684b67aba2d6659a72e7e3c5d4ca7a8","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"4684b67aba2d6659a72e7e3c5d4ca7a8"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":171,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":171,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.205563,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"4684b67aba2d6659a72e7e3c5d4ca7a8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072497,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4684b67aba2d6659a72e7e3c5d4ca7a8","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788"},"level":"info","message":"Attempting to run experiment","requestID":"4684b67aba2d6659a72e7e3c5d4ca7a8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788"},"level":"info","message":"Attempting to book experiment","requestID":"4684b67aba2d6659a72e7e3c5d4ca7a8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788"},"level":"info","message":"Successfully booked experiment","requestID":"4684b67aba2d6659a72e7e3c5d4ca7a8"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b36a4bc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b36a99e0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":172,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":172,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.817602,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":173,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b36a4bc0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072497,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"b36a4bc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":173,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.965889,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b36a99e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072497,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"b36a99e0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc7096c0-14a8-47ca-b9c8-62a4cc27039e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc7096c0-14a8-47ca-b9c8-62a4cc27039e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:54.945581069Z"}]},"request_id":"08cfe645-d967-4830-9439-821889e31d87","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.2942877} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"b36a4bc0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:54.993372581Z"}]},"request_id":"d3c8a096-dd45-4999-a8ab-41013bebef14","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.2968144} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b36a99e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b36a4bc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e? 200 27ms","method":"GET","requestID":"b36a4bc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":27,"status":200,"url":"/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b36a99e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa? 200 26ms","method":"GET","requestID":"b36a99e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":26,"status":200,"url":"/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788"},"level":"info","message":"Setting up experiment","requestID":"4684b67aba2d6659a72e7e3c5d4ca7a8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"4684b67aba2d6659a72e7e3c5d4ca7a8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788"},"level":"info","message":"Successfully locked booking for experiment","requestID":"4684b67aba2d6659a72e7e3c5d4ca7a8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"4684b67aba2d6659a72e7e3c5d4ca7a8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"4684b67aba2d6659a72e7e3c5d4ca7a8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788"},"level":"info","message":"Attempting to update booking for experiment","requestID":"4684b67aba2d6659a72e7e3c5d4ca7a8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788"},"level":"info","message":"Successfully updated booking for experiment","requestID":"4684b67aba2d6659a72e7e3c5d4ca7a8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788"},"level":"info","message":"Successfully set up experiment","requestID":"4684b67aba2d6659a72e7e3c5d4ca7a8"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b376cee0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b3771d00-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b3776b20-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788"},"level":"info","message":"Successfully running experiment","requestID":"4684b67aba2d6659a72e7e3c5d4ca7a8"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":174,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":174,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.303777,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":175,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b376cee0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072497,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b376cee0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":175,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.405756,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b3771d00-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072497,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"b3771d00-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":176,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc7096c0-14a8-47ca-b9c8-62a4cc27039e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8baa3207-4133-441d-b32b-b84f50a61f10","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.3702319} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":176,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.414624,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b3776b20-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e","object_type":"device","rebac_allow":false,"scope_allow":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":"b3776b20-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc7096c0-14a8-47ca-b9c8-62a4cc27039e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc7096c0-14a8-47ca-b9c8-62a4cc27039e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:54.945581069Z"}]},"request_id":"04b23d45-c867-46fa-a50d-43b472760dba","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.3741095} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"b376cee0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:54.993372581Z"}]},"request_id":"351f7ae5-c778-417e-a48d-4bbebe8fb702","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.377746} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b3776b20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e/signaling 200 17ms","method":"POST","requestID":"b3776b20-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"b3771d00-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b37a9f70-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b376cee0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e? 200 31ms","method":"GET","requestID":"b376cee0-8ba4-11ef-a62f-5f7f958aa687","responseTime":31,"status":200,"url":"/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b3771d00-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa? 200 30ms","method":"GET","requestID":"b3771d00-8ba4-11ef-a62f-5f7f958aa687","responseTime":30,"status":200,"url":"/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":177,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d5748ca1-df44-4984-a80b-acb4586d8b22","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.390447} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F7d7f9e56-2c17-41d7-b890-2313fe7a1788#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F7d7f9e56-2c17-41d7-b890-2313fe7a1788","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"6ad12c4e-de48-4687-ac0d-a6f0738db976","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.3912044} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":177,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.402054,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b37a9f70-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","object_type":"device","rebac_allow":false,"scope_allow":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":"b37a9f70-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b37c2610-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d9c4b0c3-ec4d-4553-9f7b-786bc839aad7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.3918118} authorization-1 | {"level":"info","message":"POST /relations/update 200 28ms","method":"POST","requestID":"4684b67aba2d6659a72e7e3c5d4ca7a8","responseTime":28,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"4684b67aba2d6659a72e7e3c5d4ca7a8"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":178,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b37a9f70-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc7096c0-14a8-47ca-b9c8-62a4cc27039e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cdbddd62-ae9f-4cdb-aeb1-a57663d710ca","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.3997996} device-1 | {"level":"info","message":"POST /devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa/signaling 200 17ms","method":"POST","requestID":"b37a9f70-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa/signaling"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":178,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.725145,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b37c2610-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b37c2610-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e","object_type":"device","rebac_allow":false,"scope_allow":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":"b37c2610-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"POST /devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e/signaling 200 14ms","method":"POST","requestID":"b37c2610-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e/signaling"} gateway-1 | {"time_local":"16/Oct/2024:09:54:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"812","request_time":"0.186","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4684b67aba2d6659a72e7e3c5d4ca7a8"} experiment-1 | {"level":"info","message":"POST /experiments? 201 182ms","method":"POST","requestID":"4684b67aba2d6659a72e7e3c5d4ca7a8","responseTime":182,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b37ee530-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts","level":"info","message":"auth send jwt","requestID":"af71db5bc0677a9838eee4e30d4020bb"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"af71db5bc0677a9838eee4e30d4020bb","responseTime":6,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":179,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"af71db5bc0677a9838eee4e30d4020bb"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"77df3e11-5b9f-4309-b078-d35c43872039","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.4195757} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":179,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.907215,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":180,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b37ee530-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","object_type":"device","rebac_allow":false,"scope_allow":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":"b37ee530-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":180,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.781196,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"af71db5bc0677a9838eee4e30d4020bb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072497,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"af71db5bc0677a9838eee4e30d4020bb","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b37ee530-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa/signaling 200 17ms","method":"POST","requestID":"b37ee530-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"4684b67aba2d6659a72e7e3c5d4ca7a8"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc7096c0-14a8-47ca-b9c8-62a4cc27039e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc7096c0-14a8-47ca-b9c8-62a4cc27039e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:54.945581069Z"}]},"request_id":"3bc07168-cae0-4395-8f06-38836c39fbc4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.4291875} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"af71db5bc0677a9838eee4e30d4020bb","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b381cb60-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b3821980-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"af71db5bc0677a9838eee4e30d4020bb"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":181,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} gateway-1 | {"time_local":"16/Oct/2024:09:54:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e? 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":"af71db5bc0677a9838eee4e30d4020bb"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":181,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.067567,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":182,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":182,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.668301,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} device-1 | {"level":"info","message":"GET /devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e? 200 19ms","method":"GET","requestID":"af71db5bc0677a9838eee4e30d4020bb","responseTime":19,"status":200,"url":"/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b381cb60-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072497,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"b381cb60-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b3821980-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072497,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"b3821980-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"80258a115b7ce4dc7ad611863be09f66"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts","level":"info","message":"auth send jwt","requestID":"80258a115b7ce4dc7ad611863be09f66"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc7096c0-14a8-47ca-b9c8-62a4cc27039e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc7096c0-14a8-47ca-b9c8-62a4cc27039e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:54.945581069Z"}]},"request_id":"6620f355-1bfe-4322-8605-9d4e429b3775","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.4427812} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"b381cb60-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"80258a115b7ce4dc7ad611863be09f66","responseTime":5,"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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:54.993372581Z"}]},"request_id":"62003b01-0f33-4cc0-9cfe-6dbb7d07b650","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.4459372} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"b3821980-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":183,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b381cb60-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":183,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.812168,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"80258a115b7ce4dc7ad611863be09f66","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072497,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"80258a115b7ce4dc7ad611863be09f66","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"GET /devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e? 200 23ms","method":"GET","requestID":"b381cb60-8ba4-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b3821980-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa? 200 23ms","method":"GET","requestID":"b3821980-8ba4-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788"},"level":"info","message":"Building connection plan","requestID":"4684b67aba2d6659a72e7e3c5d4ca7a8"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"732b9a79-fe60-4167-8ccd-8865f4335157"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"5e94d46d-755c-4905-954b-183339decf24"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"c461ab87-a7fe-47a6-9d86-3def66b441a6"}]},"level":"info","message":"Built pairwise service configurations","requestID":"4684b67aba2d6659a72e7e3c5d4ca7a8"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"b3861120-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"b3861120-8ba4-11ef-a042-213954f0282b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:54.993372581Z"}]},"request_id":"18a6457e-190e-4209-95dd-f0aac38e9ae0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.4593256} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"80258a115b7ce4dc7ad611863be09f66","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"80258a115b7ce4dc7ad611863be09f66"} gateway-1 | {"time_local":"16/Oct/2024:09:54:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa? 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":"80258a115b7ce4dc7ad611863be09f66"} device-1 | {"level":"info","message":"GET /devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa? 200 18ms","method":"GET","requestID":"80258a115b7ce4dc7ad611863be09f66","responseTime":18,"status":200,"url":"/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa?"} forwarding-1 | {"level":"info","message":"POST /rooms 201 5ms","method":"POST","requestID":"b3861120-8ba4-11ef-a042-213954f0282b","responseTime":5,"status":201,"url":"/rooms"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/37942951-bfd8-4bbb-b7fb-47d1a4374268?id=0184e0be-acb5-4688-8625-0621a9723f6f","ws://localhost/rooms/37942951-bfd8-4bbb-b7fb-47d1a4374268?id=df8e9288-18d4-4a96-afc1-a3660de97e3f"]},"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/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa"},{"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/dc7096c0-14a8-47ca-b9c8-62a4cc27039e"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"4684b67aba2d6659a72e7e3c5d4ca7a8"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"b3872290-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":184,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":184,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.696951,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b3872290-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072497,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b3872290-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"9d190fdf-6e01-41ea-a478-647017a3adb5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.475891} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"939d7e05-b1f6-41f9-9dc9-5add425a9c1c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.4761708} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"b3872290-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"b3872290-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"b3872290-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/72f8163d-05cf-4843-9ee5-3cdae302bd03'","requestID":"b3872290-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/72f8163d-05cf-4843-9ee5-3cdae302bd03'","requestID":"b3872290-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"b3872290-8ba4-11ef-a62f-5f7f958aa687"} 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":"b3872290-8ba4-11ef-a62f-5f7f958aa687","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":"b3872290-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/72f8163d-05cf-4843-9ee5-3cdae302bd03' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"72f8163d-05cf-4843-9ee5-3cdae302bd03","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"b38bdd80-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"0184e0be-acb5-4688-8625-0621a9723f6f\" in room \"http://localhost/rooms/37942951-bfd8-4bbb-b7fb-47d1a4374268\"","requestID":"b38bdd80-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"b38bdd80-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"094e5a8c2b7b20d09952afb07d97ce57","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"094e5a8c2b7b20d09952afb07d97ce57","responseTime":1,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"b38c52b0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"df8e9288-18d4-4a96-afc1-a3660de97e3f\" in room \"http://localhost/rooms/37942951-bfd8-4bbb-b7fb-47d1a4374268\"","requestID":"b38c52b0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"b38c52b0-8ba4-11ef-a042-213954f0282b"} 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/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa"},{"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/dc7096c0-14a8-47ca-b9c8-62a4cc27039e"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/72f8163d-05cf-4843-9ee5-3cdae302bd03"}}},"level":"info","message":"received a callback","requestID":"094e5a8c2b7b20d09952afb07d97ce57"} device-1 | {"data":{"peerconnection":"72f8163d-05cf-4843-9ee5-3cdae302bd03","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 11ms","method":"POST","requestID":"094e5a8c2b7b20d09952afb07d97ce57","responseTime":11,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:54: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.014","http_referrer":"","http_user_agent":"node-fetch","requestID":"094e5a8c2b7b20d09952afb07d97ce57"} device-1 | {"data":{"peerconnection":"72f8163d-05cf-4843-9ee5-3cdae302bd03","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"4684b67aba2d6659a72e7e3c5d4ca7a8"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b38fd520-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":185,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc7096c0-14a8-47ca-b9c8-62a4cc27039e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a9833a22-4d66-48cf-bb95-d5b1ed679eee","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.5271916} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":185,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.466838,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b38fd520-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e","object_type":"device","rebac_allow":false,"scope_allow":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":"b38fd520-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/72f8163d-05cf-4843-9ee5-3cdae302bd03' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"72f8163d-05cf-4843-9ee5-3cdae302bd03","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b38fd520-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e/signaling 200 14ms","method":"POST","requestID":"b38fd520-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e/signaling"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b25e234cae1c64e654c5092f88df50a3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"b25e234cae1c64e654c5092f88df50a3","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b3926d30-8ba4-11ef-a62f-5f7f958aa687"} 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/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa"},{"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/dc7096c0-14a8-47ca-b9c8-62a4cc27039e"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/72f8163d-05cf-4843-9ee5-3cdae302bd03"}}},"level":"info","message":"received a callback","requestID":"b25e234cae1c64e654c5092f88df50a3"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":186,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"28ef26ff-c889-42f3-be10-15c75bc8983e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.543635} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":186,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.359528,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"b3933080-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b3926d30-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","object_type":"device","rebac_allow":false,"scope_allow":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":"b3926d30-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":187,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b3926d30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa/signaling 200 9ms","method":"POST","requestID":"b3926d30-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F72f8163d-05cf-4843-9ee5-3cdae302bd03","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d1015c8e-c890-42f2-b306-8b74a0811089","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.5487063} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":187,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.532919,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/72f8163d-05cf-4843-9ee5-3cdae302bd03","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b3933080-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/72f8163d-05cf-4843-9ee5-3cdae302bd03","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":"b3933080-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"b3933080-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/72f8163d-05cf-4843-9ee5-3cdae302bd03 200 8ms","method":"GET","requestID":"b3933080-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/peerconnections/72f8163d-05cf-4843-9ee5-3cdae302bd03"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 28ms","method":"POST","requestID":"b25e234cae1c64e654c5092f88df50a3","responseTime":28,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:54: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.032","http_referrer":"","http_user_agent":"node-fetch","requestID":"b25e234cae1c64e654c5092f88df50a3"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b396da00-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":188,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c4984710-b635-4cb9-ab0c-7d920da0cf7b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.572732} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":188,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.31363,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b396da00-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","object_type":"device","rebac_allow":false,"scope_allow":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":"b396da00-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b396da00-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa/signaling 200 9ms","method":"POST","requestID":"b396da00-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b398aec0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":189,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc7096c0-14a8-47ca-b9c8-62a4cc27039e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"de30f420-e802-4abc-afe3-926e26125e99","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.584412} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":189,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.455222,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b398aec0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e","object_type":"device","rebac_allow":false,"scope_allow":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":"b398aec0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b398aec0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e/signaling 200 9ms","method":"POST","requestID":"b398aec0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts","level":"info","message":"auth send jwt","requestID":"55c9d49ef0fa7e0753c1c742dbf43ffe"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"55c9d49ef0fa7e0753c1c742dbf43ffe","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788","requestID":"55c9d49ef0fa7e0753c1c742dbf43ffe"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":190,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":190,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.958903,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"55c9d49ef0fa7e0753c1c742dbf43ffe","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072497,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"55c9d49ef0fa7e0753c1c742dbf43ffe","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788","requestID":"55c9d49ef0fa7e0753c1c742dbf43ffe"} gateway-1 | {"time_local":"16/Oct/2024:09:54:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788 HTTP/1.1","status": "200","body_bytes_sent":"885","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"55c9d49ef0fa7e0753c1c742dbf43ffe"} experiment-1 | {"level":"info","message":"GET /experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788 200 10ms","method":"GET","requestID":"55c9d49ef0fa7e0753c1c742dbf43ffe","responseTime":10,"status":200,"url":"/experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts","level":"info","message":"auth send jwt","requestID":"06076b7daa3aaa19369160ec702111d0"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"06076b7daa3aaa19369160ec702111d0","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788","requestID":"06076b7daa3aaa19369160ec702111d0"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":191,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":191,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.766271,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"06076b7daa3aaa19369160ec702111d0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072497,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"06076b7daa3aaa19369160ec702111d0","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788"},"level":"info","message":"Attempting to finish experiment","requestID":"06076b7daa3aaa19369160ec702111d0"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"b3a076f0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":192,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":192,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.735032,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/72f8163d-05cf-4843-9ee5-3cdae302bd03","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b3a076f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/72f8163d-05cf-4843-9ee5-3cdae302bd03","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072497,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b3a076f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:54:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/37942951-bfd8-4bbb-b7fb-47d1a4374268?id=0184e0be-acb5-4688-8625-0621a9723f6f HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.148","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"19eba78b5dd0152e2f1505e8b6525b9c"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"0184e0be-acb5-4688-8625-0621a9723f6f\" in room \"http://localhost/rooms/37942951-bfd8-4bbb-b7fb-47d1a4374268\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"0184e0be-acb5-4688-8625-0621a9723f6f\" from room \"http://localhost/rooms/37942951-bfd8-4bbb-b7fb-47d1a4374268\", code: 1006, reason: "} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/72f8163d-05cf-4843-9ee5-3cdae302bd03","device":"dc7096c0-14a8-47ca-b9c8-62a4cc27039e","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} gateway-1 | {"time_local":"16/Oct/2024:09:54:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/37942951-bfd8-4bbb-b7fb-47d1a4374268?id=df8e9288-18d4-4a96-afc1-a3660de97e3f HTTP/1.1","status": "101","body_bytes_sent":"2","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":"0ff0a4ff7ebefa2281dafe759b5de315"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/72f8163d-05cf-4843-9ee5-3cdae302bd03' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/72f8163d-05cf-4843-9ee5-3cdae302bd03' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"72f8163d-05cf-4843-9ee5-3cdae302bd03","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"df8e9288-18d4-4a96-afc1-a3660de97e3f\" in room \"http://localhost/rooms/37942951-bfd8-4bbb-b7fb-47d1a4374268\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"df8e9288-18d4-4a96-afc1-a3660de97e3f\" from room \"http://localhost/rooms/37942951-bfd8-4bbb-b7fb-47d1a4374268\", code: 1005, reason: "} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7808d86f91590062aa3c2d4411c2df54","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"7808d86f91590062aa3c2d4411c2df54","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b7167116018631514ae4ba6d12942e62","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa"},{"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/dc7096c0-14a8-47ca-b9c8-62a4cc27039e"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/72f8163d-05cf-4843-9ee5-3cdae302bd03"}}},"level":"info","message":"received a callback","requestID":"7808d86f91590062aa3c2d4411c2df54"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"b7167116018631514ae4ba6d12942e62","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F72f8163d-05cf-4843-9ee5-3cdae302bd03': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F72f8163d-05cf-4843-9ee5-3cdae302bd03","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"5ad041e5-319e-46d4-940d-cbc583629b22","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.6510828} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3a3d5fed-5949-42de-9be2-ed1e606ddace","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.6513953} 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/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa"},{"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/dc7096c0-14a8-47ca-b9c8-62a4cc27039e"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/72f8163d-05cf-4843-9ee5-3cdae302bd03"}}},"level":"info","message":"received a callback","requestID":"b7167116018631514ae4ba6d12942e62"} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"b3a076f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"72f8163d-05cf-4843-9ee5-3cdae302bd03","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"b3a076f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/72f8163d-05cf-4843-9ee5-3cdae302bd03 204 42ms","method":"DELETE","requestID":"b3a076f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":42,"status":204,"url":"/peerconnections/72f8163d-05cf-4843-9ee5-3cdae302bd03"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788"},"level":"info","message":"Successfully finished experiment","requestID":"06076b7daa3aaa19369160ec702111d0"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b3a95090-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":193,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e471fa8c-2b2b-45ae-bc2e-a0042d1b2c5c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.6934052} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":193,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.181775,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b3a95090-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa","object_type":"device","rebac_allow":false,"scope_allow":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":"b3a95090-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b3a95090-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa/signaling 200 10ms","method":"POST","requestID":"b3a95090-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b3ab2550-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F7d7f9e56-2c17-41d7-b890-2313fe7a1788': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F7d7f9e56-2c17-41d7-b890-2313fe7a1788","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"ea69ed67-41d6-4c93-913f-9502b6843bf3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.7010286} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2788beb9-2719-4b38-b728-b1115c0e5cf6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.70131} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"06076b7daa3aaa19369160ec702111d0","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":194,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc7096c0-14a8-47ca-b9c8-62a4cc27039e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bc0cb13c-121b-45b4-b4a0-0eb16cea6e6d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.710933} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":194,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.610693,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b3ab2550-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e","object_type":"device","rebac_allow":false,"scope_allow":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":"b3ab2550-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b3ab2550-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e/signaling 200 15ms","method":"POST","requestID":"b3ab2550-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/dc7096c0-14a8-47ca-b9c8-62a4cc27039e/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788","requestID":"06076b7daa3aaa19369160ec702111d0"} gateway-1 | {"time_local":"16/Oct/2024:09:54:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.148","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"06076b7daa3aaa19369160ec702111d0"} experiment-1 | {"level":"info","message":"DELETE /experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788 204 146ms","method":"DELETE","requestID":"06076b7daa3aaa19369160ec702111d0","responseTime":146,"status":204,"url":"/experiments/7d7f9e56-2c17-41d7-b890-2313fe7a1788"} gateway-1 | {"time_local":"16/Oct/2024:09:54:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1543","request_time":"2.207","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"ec9036c372e4f9705aa3a1e71e98001e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 120ms","method":"POST","requestID":"7808d86f91590062aa3c2d4411c2df54","responseTime":120,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:54: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.123","http_referrer":"","http_user_agent":"node-fetch","requestID":"7808d86f91590062aa3c2d4411c2df54"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 119ms","method":"POST","requestID":"b7167116018631514ae4ba6d12942e62","responseTime":119,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:54: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.124","http_referrer":"","http_user_agent":"node-fetch","requestID":"b7167116018631514ae4ba6d12942e62"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts","level":"info","message":"auth send jwt","requestID":"e954f3f5a8b329b49b0c3cb96b6abfbe"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e954f3f5a8b329b49b0c3cb96b6abfbe","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"e954f3f5a8b329b49b0c3cb96b6abfbe"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":195,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":195,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.73947,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} gateway-1 | {"time_local":"16/Oct/2024:09:54:57 +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.715","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"ae84f5d6ab2e8651358b147c9d75879c"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e954f3f5a8b329b49b0c3cb96b6abfbe","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072497,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"e954f3f5a8b329b49b0c3cb96b6abfbe","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/dabbc7c8-f25e-45bc-8cdd-0ea9bff99afa' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"48e8c2f9-56bf-46ad-bc1e-74c0e31e495e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.7950635} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e954f3f5a8b329b49b0c3cb96b6abfbe","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/dc7096c0-14a8-47ca-b9c8-62a4cc27039e' 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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"921548f7-7367-41aa-87c3-7b78cd653317","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.8005655} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"e954f3f5a8b329b49b0c3cb96b6abfbe","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"54df727c-8cdb-40c7-959e-7498c1f655d2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.8121672} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6e699c49-d97f-42ed-a8d4-5b7757d0dc6c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.812429} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"e954f3f5a8b329b49b0c3cb96b6abfbe","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:57.812154323Z"}]},"request_id":"d19578c9-e93d-4013-a1dd-a219ec64aacb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.8170867} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e954f3f5a8b329b49b0c3cb96b6abfbe","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"e954f3f5a8b329b49b0c3cb96b6abfbe"} gateway-1 | {"time_local":"16/Oct/2024:09:54: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.050","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e954f3f5a8b329b49b0c3cb96b6abfbe"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"e954f3f5a8b329b49b0c3cb96b6abfbe","responseTime":45,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts","level":"info","message":"auth send jwt","requestID":"ff1a0bb6fdc8586213eb6a86d17f3d5e"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ff1a0bb6fdc8586213eb6a86d17f3d5e","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"ff1a0bb6fdc8586213eb6a86d17f3d5e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":196,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":196,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.748683,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:57Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ff1a0bb6fdc8586213eb6a86d17f3d5e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072497,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5N30.g5xrsD0-XTDMyctKWOSQkF4KdzMrIuoNU3LHIwjs0Ts"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ff1a0bb6fdc8586213eb6a86d17f3d5e","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0416db3-460c-4007-a89e-21ca8386fae6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"88d87752-d937-4910-b358-c22f0f2788e7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.8482857} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ff1a0bb6fdc8586213eb6a86d17f3d5e","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9360ebd2-9785-4073-b798-adce43e68e3e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.8533123} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"ff1a0bb6fdc8586213eb6a86d17f3d5e","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0416db3-460c-4007-a89e-21ca8386fae6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"a29dca0d-5dd9-4619-9d5a-20f94cb92f46","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.8649464} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d7fc85d0-4f25-45f0-a60b-95c06096e545","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.8651006} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"ff1a0bb6fdc8586213eb6a86d17f3d5e","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0416db3-460c-4007-a89e-21ca8386fae6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0416db3-460c-4007-a89e-21ca8386fae6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:57.864932525Z"}]},"request_id":"c35fa9da-b589-418e-afa8-85b89b41114a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072497.8694813} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ff1a0bb6fdc8586213eb6a86d17f3d5e","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"ff1a0bb6fdc8586213eb6a86d17f3d5e"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"ff1a0bb6fdc8586213eb6a86d17f3d5e","responseTime":47,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:54: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.051","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ff1a0bb6fdc8586213eb6a86d17f3d5e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5OH0.P6LZskQbVc-USUUTgX5IM7tzvKDDnBy5E77uAe15Mkc","level":"info","message":"auth send jwt","requestID":"ec905ccdb1870f98798587334f02df10"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ec905ccdb1870f98798587334f02df10","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"ec905ccdb1870f98798587334f02df10"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":197,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:58Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":197,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.635996,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:58Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ec905ccdb1870f98798587334f02df10","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072498,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5OH0.P6LZskQbVc-USUUTgX5IM7tzvKDDnBy5E77uAe15Mkc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ec905ccdb1870f98798587334f02df10","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:57.812154323Z"}]},"request_id":"b02de5b6-98a6-4346-b410-f8a6cf4d1c81","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072498.3633308} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ec905ccdb1870f98798587334f02df10","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"62f293c6-afa1-4482-90a6-25cfa7a216c6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072498.3707047} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"ec905ccdb1870f98798587334f02df10","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:57.812154323Z"}]},"request_id":"4db7c509-a07a-4570-a650-00f3a7bb43c8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072498.384038} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ec905ccdb1870f98798587334f02df10","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"ec905ccdb1870f98798587334f02df10"} gateway-1 | {"time_local":"16/Oct/2024:09:54:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.042","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"ec905ccdb1870f98798587334f02df10"} device-1 | {"level":"info","message":"PATCH /devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b 200 37ms","method":"PATCH","requestID":"ec905ccdb1870f98798587334f02df10","responseTime":37,"status":200,"url":"/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5OH0.P6LZskQbVc-USUUTgX5IM7tzvKDDnBy5E77uAe15Mkc","level":"info","message":"auth send jwt","requestID":"d6ffa1de8230c7b2e15bf3d3c9503d36"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d6ffa1de8230c7b2e15bf3d3c9503d36","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"d6ffa1de8230c7b2e15bf3d3c9503d36"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":198,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:58Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":198,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.637607,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:58Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d6ffa1de8230c7b2e15bf3d3c9503d36","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072498,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5OH0.P6LZskQbVc-USUUTgX5IM7tzvKDDnBy5E77uAe15Mkc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d6ffa1de8230c7b2e15bf3d3c9503d36","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"d6ffa1de8230c7b2e15bf3d3c9503d36"} device-1 | {"level":"info","message":"POST /devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b/websocket 200 16ms","method":"POST","requestID":"d6ffa1de8230c7b2e15bf3d3c9503d36","responseTime":16,"status":200,"url":"/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:54:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b/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.10","requestID":"d6ffa1de8230c7b2e15bf3d3c9503d36"} device-1 | {"level":"info","message":"device 'http://localhost/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1175428671757884dbe10871f2165e75","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"1175428671757884dbe10871f2165e75","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:54:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/b0416db3-460c-4007-a89e-21ca8386fae6/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":"1175428671757884dbe10871f2165e75"} device-1 | {"level":"info","message":"OPTIONS /devices/b0416db3-460c-4007-a89e-21ca8386fae6/websocket 200 1ms","method":"OPTIONS","requestID":"1175428671757884dbe10871f2165e75","responseTime":1,"status":200,"url":"/devices/b0416db3-460c-4007-a89e-21ca8386fae6/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5OX0.bo9P6vFpQKMu7wPw-cB5TjDwQez-oqCy2gQkTYyuHgg","level":"info","message":"auth send jwt","requestID":"76fc2325b41bb364a97b7a043464e94a"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"76fc2325b41bb364a97b7a043464e94a","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"76fc2325b41bb364a97b7a043464e94a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":199,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:59Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":199,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.72161,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:59Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/b0416db3-460c-4007-a89e-21ca8386fae6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"76fc2325b41bb364a97b7a043464e94a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b0416db3-460c-4007-a89e-21ca8386fae6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072499,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5OX0.bo9P6vFpQKMu7wPw-cB5TjDwQez-oqCy2gQkTYyuHgg"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"76fc2325b41bb364a97b7a043464e94a","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"76fc2325b41bb364a97b7a043464e94a"} device-1 | {"level":"info","message":"POST /devices/b0416db3-460c-4007-a89e-21ca8386fae6/websocket 200 24ms","method":"POST","requestID":"76fc2325b41bb364a97b7a043464e94a","responseTime":24,"status":200,"url":"/devices/b0416db3-460c-4007-a89e-21ca8386fae6/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:54:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/b0416db3-460c-4007-a89e-21ca8386fae6/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":"76fc2325b41bb364a97b7a043464e94a"} device-1 | {"level":"info","message":"device 'http://localhost/devices/b0416db3-460c-4007-a89e-21ca8386fae6' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"659e07a1fe27be74ab48dd4075ab3b8d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"659e07a1fe27be74ab48dd4075ab3b8d","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:54:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/b0416db3-460c-4007-a89e-21ca8386fae6? 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":"659e07a1fe27be74ab48dd4075ab3b8d"} device-1 | {"level":"info","message":"OPTIONS /devices/b0416db3-460c-4007-a89e-21ca8386fae6? 200 1ms","method":"OPTIONS","requestID":"659e07a1fe27be74ab48dd4075ab3b8d","responseTime":1,"status":200,"url":"/devices/b0416db3-460c-4007-a89e-21ca8386fae6?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5OX0.bo9P6vFpQKMu7wPw-cB5TjDwQez-oqCy2gQkTYyuHgg","level":"info","message":"auth send jwt","requestID":"0e8af5e16e7e0e7eae544496331bb93b"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"0e8af5e16e7e0e7eae544496331bb93b","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"0e8af5e16e7e0e7eae544496331bb93b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":200,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:54:59Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":200,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.340874,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:54:59Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/b0416db3-460c-4007-a89e-21ca8386fae6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0e8af5e16e7e0e7eae544496331bb93b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b0416db3-460c-4007-a89e-21ca8386fae6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072499,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjQ5OX0.bo9P6vFpQKMu7wPw-cB5TjDwQez-oqCy2gQkTYyuHgg"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0e8af5e16e7e0e7eae544496331bb93b","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0416db3-460c-4007-a89e-21ca8386fae6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0416db3-460c-4007-a89e-21ca8386fae6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:57.864932525Z"}]},"request_id":"bb48d212-6401-451a-91c2-b42269fcf5ec","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072499.9844472} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"0e8af5e16e7e0e7eae544496331bb93b","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"59bc5d16-ff47-4369-a556-600dba980484","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072499.9932482} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"0e8af5e16e7e0e7eae544496331bb93b","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0416db3-460c-4007-a89e-21ca8386fae6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0416db3-460c-4007-a89e-21ca8386fae6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:57.864932525Z"}]},"request_id":"c80e5ece-5eba-48ae-84c0-fe4b528ccc67","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.0064456} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"0e8af5e16e7e0e7eae544496331bb93b","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"0e8af5e16e7e0e7eae544496331bb93b"} device-1 | {"level":"info","message":"PATCH /devices/b0416db3-460c-4007-a89e-21ca8386fae6? 200 42ms","method":"PATCH","requestID":"0e8af5e16e7e0e7eae544496331bb93b","responseTime":42,"status":200,"url":"/devices/b0416db3-460c-4007-a89e-21ca8386fae6?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/b0416db3-460c-4007-a89e-21ca8386fae6? HTTP/1.1","status": "200","body_bytes_sent":"1007","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":"0e8af5e16e7e0e7eae544496331bb93b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMH0.k8NrezRH608YvDlSkzUIJP4mPQ2Jxnj3Gf8S1uZsSUg","level":"info","message":"auth send jwt","requestID":"eb4546823043266078e1646a82abc815"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"eb4546823043266078e1646a82abc815","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"eb4546823043266078e1646a82abc815"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":201,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":201,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.215176,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"eb4546823043266078e1646a82abc815","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072500,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMH0.k8NrezRH608YvDlSkzUIJP4mPQ2Jxnj3Gf8S1uZsSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"eb4546823043266078e1646a82abc815","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:57.812154323Z"}]},"request_id":"54ff4940-1788-4042-b6da-e4a3243cf42d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.0425649} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"eb4546823043266078e1646a82abc815","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"eb4546823043266078e1646a82abc815"} device-1 | {"level":"info","message":"GET /devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b? 200 22ms","method":"GET","requestID":"eb4546823043266078e1646a82abc815","responseTime":22,"status":200,"url":"/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.032","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"eb4546823043266078e1646a82abc815"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMH0.k8NrezRH608YvDlSkzUIJP4mPQ2Jxnj3Gf8S1uZsSUg","level":"info","message":"auth send jwt","requestID":"a05b61bff4f5d33c511df44388e737ee"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"a05b61bff4f5d33c511df44388e737ee","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a05b61bff4f5d33c511df44388e737ee"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":202,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":202,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.331625,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b0416db3-460c-4007-a89e-21ca8386fae6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a05b61bff4f5d33c511df44388e737ee","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b0416db3-460c-4007-a89e-21ca8386fae6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072500,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMH0.k8NrezRH608YvDlSkzUIJP4mPQ2Jxnj3Gf8S1uZsSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"a05b61bff4f5d33c511df44388e737ee","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0416db3-460c-4007-a89e-21ca8386fae6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0416db3-460c-4007-a89e-21ca8386fae6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:57.864932525Z"}]},"request_id":"39474038-dc6a-45b5-b2c3-98c8d9da79a5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.0707326} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"a05b61bff4f5d33c511df44388e737ee","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a05b61bff4f5d33c511df44388e737ee"} gateway-1 | {"time_local":"16/Oct/2024:09:55:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b0416db3-460c-4007-a89e-21ca8386fae6? 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":"a05b61bff4f5d33c511df44388e737ee"} device-1 | {"level":"info","message":"GET /devices/b0416db3-460c-4007-a89e-21ca8386fae6? 200 18ms","method":"GET","requestID":"a05b61bff4f5d33c511df44388e737ee","responseTime":18,"status":200,"url":"/devices/b0416db3-460c-4007-a89e-21ca8386fae6?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMH0.k8NrezRH608YvDlSkzUIJP4mPQ2Jxnj3Gf8S1uZsSUg","level":"info","message":"auth send jwt","requestID":"916edce05c586d3e50d1b0ed96e5dff4"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"916edce05c586d3e50d1b0ed96e5dff4","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"916edce05c586d3e50d1b0ed96e5dff4"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":203,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":203,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.140072,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"916edce05c586d3e50d1b0ed96e5dff4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072500,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMH0.k8NrezRH608YvDlSkzUIJP4mPQ2Jxnj3Gf8S1uZsSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"916edce05c586d3e50d1b0ed96e5dff4","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/64350dda-1a49-4ea5-8884-423353178cee"},"level":"info","message":"Attempting to run experiment","requestID":"916edce05c586d3e50d1b0ed96e5dff4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/64350dda-1a49-4ea5-8884-423353178cee"},"level":"info","message":"Attempting to book experiment","requestID":"916edce05c586d3e50d1b0ed96e5dff4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/64350dda-1a49-4ea5-8884-423353178cee"},"level":"info","message":"Successfully booked experiment","requestID":"916edce05c586d3e50d1b0ed96e5dff4"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b51cb6b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b51d04d0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":204,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":204,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.632034,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":205,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b51cb6b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072500,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMH0.k8NrezRH608YvDlSkzUIJP4mPQ2Jxnj3Gf8S1uZsSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"b51cb6b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":205,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.212479,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b0416db3-460c-4007-a89e-21ca8386fae6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b51d04d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b0416db3-460c-4007-a89e-21ca8386fae6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072500,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMH0.k8NrezRH608YvDlSkzUIJP4mPQ2Jxnj3Gf8S1uZsSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"b51d04d0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:57.812154323Z"}]},"request_id":"081c4361-8c29-4461-b9fe-19d0715ce4af","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.1362062} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"b51cb6b0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0416db3-460c-4007-a89e-21ca8386fae6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0416db3-460c-4007-a89e-21ca8386fae6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:57.864932525Z"}]},"request_id":"8227f6e1-2065-47f3-be7f-b8285709a253","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.1377888} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b51d04d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b51cb6b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b? 200 22ms","method":"GET","requestID":"b51cb6b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":22,"status":200,"url":"/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b51d04d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/b0416db3-460c-4007-a89e-21ca8386fae6? 200 21ms","method":"GET","requestID":"b51d04d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":21,"status":200,"url":"/devices/b0416db3-460c-4007-a89e-21ca8386fae6?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/64350dda-1a49-4ea5-8884-423353178cee"},"level":"info","message":"Setting up experiment","requestID":"916edce05c586d3e50d1b0ed96e5dff4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/64350dda-1a49-4ea5-8884-423353178cee"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"916edce05c586d3e50d1b0ed96e5dff4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/64350dda-1a49-4ea5-8884-423353178cee"},"level":"info","message":"Successfully locked booking for experiment","requestID":"916edce05c586d3e50d1b0ed96e5dff4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/64350dda-1a49-4ea5-8884-423353178cee"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"916edce05c586d3e50d1b0ed96e5dff4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/64350dda-1a49-4ea5-8884-423353178cee"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"916edce05c586d3e50d1b0ed96e5dff4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/64350dda-1a49-4ea5-8884-423353178cee"},"level":"info","message":"Attempting to update booking for experiment","requestID":"916edce05c586d3e50d1b0ed96e5dff4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/64350dda-1a49-4ea5-8884-423353178cee"},"level":"info","message":"Successfully updated booking for experiment","requestID":"916edce05c586d3e50d1b0ed96e5dff4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/64350dda-1a49-4ea5-8884-423353178cee"},"level":"info","message":"Successfully set up experiment","requestID":"916edce05c586d3e50d1b0ed96e5dff4"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b527b330-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b5280150-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b5284f70-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/64350dda-1a49-4ea5-8884-423353178cee"},"level":"info","message":"Successfully running experiment","requestID":"916edce05c586d3e50d1b0ed96e5dff4"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":206,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":206,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.193906,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":207,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b527b330-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072500,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMH0.k8NrezRH608YvDlSkzUIJP4mPQ2Jxnj3Gf8S1uZsSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"b527b330-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":207,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.162147,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b0416db3-460c-4007-a89e-21ca8386fae6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b5280150-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b0416db3-460c-4007-a89e-21ca8386fae6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072500,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMH0.k8NrezRH608YvDlSkzUIJP4mPQ2Jxnj3Gf8S1uZsSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"b5280150-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":208,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":208,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.065948,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ee365769-83af-4857-9d6d-124848cee4f9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.2093194} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b5284f70-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","object_type":"device","rebac_allow":false,"scope_allow":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":"b5284f70-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:57.812154323Z"}]},"request_id":"27d4b44a-d3a4-4dc4-bfb9-68e8cfc4824c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.213819} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0416db3-460c-4007-a89e-21ca8386fae6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0416db3-460c-4007-a89e-21ca8386fae6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:57.864932525Z"}]},"request_id":"abe1ef4e-020d-4135-8b5a-c1a36729e1dd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.215854} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"b527b330-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"b5280150-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b5284f70-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b/signaling 200 22ms","method":"POST","requestID":"b5284f70-8ba4-11ef-a62f-5f7f958aa687","responseTime":22,"status":200,"url":"/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b52c9530-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b527b330-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b? 200 35ms","method":"GET","requestID":"b527b330-8ba4-11ef-a62f-5f7f958aa687","responseTime":35,"status":200,"url":"/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b5280150-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/b0416db3-460c-4007-a89e-21ca8386fae6? 200 35ms","method":"GET","requestID":"b5280150-8ba4-11ef-a62f-5f7f958aa687","responseTime":35,"status":200,"url":"/devices/b0416db3-460c-4007-a89e-21ca8386fae6?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F64350dda-1a49-4ea5-8884-423353178cee#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F64350dda-1a49-4ea5-8884-423353178cee","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"e0cf449b-21de-4f10-88a0-9bc0ba374278","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.2303839} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5b6da58f-fa7e-48e8-acdd-512aa0f61aa4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.2308288} authorization-1 | {"level":"info","message":"POST /relations/update 200 28ms","method":"POST","requestID":"916edce05c586d3e50d1b0ed96e5dff4","responseTime":28,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b52df4c0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":209,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0416db3-460c-4007-a89e-21ca8386fae6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2b40f222-2b03-41f5-92ff-e9754455f504","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.236876} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":209,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.416055,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":210,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b0416db3-460c-4007-a89e-21ca8386fae6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b52c9530-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b0416db3-460c-4007-a89e-21ca8386fae6","object_type":"device","rebac_allow":false,"scope_allow":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":"b52c9530-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fea871f0-8cb5-426d-910e-5dcb4f8ef7b3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.2446692} experiment-1 | {"data":{"experiment":"http://localhost/experiments/64350dda-1a49-4ea5-8884-423353178cee","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"916edce05c586d3e50d1b0ed96e5dff4"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":210,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.48049,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} gateway-1 | {"time_local":"16/Oct/2024:09:55:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"812","request_time":"0.166","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"916edce05c586d3e50d1b0ed96e5dff4"} experiment-1 | {"level":"info","message":"POST /experiments? 201 160ms","method":"POST","requestID":"916edce05c586d3e50d1b0ed96e5dff4","responseTime":160,"status":201,"url":"/experiments?"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b52df4c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","object_type":"device","rebac_allow":false,"scope_allow":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":"b52df4c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMH0.k8NrezRH608YvDlSkzUIJP4mPQ2Jxnj3Gf8S1uZsSUg","level":"info","message":"auth send jwt","requestID":"67beb9c07259c0446dd609dc2c1a7cee"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"67beb9c07259c0446dd609dc2c1a7cee","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b52c9530-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b0416db3-460c-4007-a89e-21ca8386fae6/signaling 200 24ms","method":"POST","requestID":"b52c9530-8ba4-11ef-a62f-5f7f958aa687","responseTime":24,"status":200,"url":"/devices/b0416db3-460c-4007-a89e-21ca8386fae6/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"67beb9c07259c0446dd609dc2c1a7cee"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b52df4c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b/signaling 200 18ms","method":"POST","requestID":"b52df4c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b/signaling"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":211,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":211,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.767229,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"67beb9c07259c0446dd609dc2c1a7cee","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072500,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMH0.k8NrezRH608YvDlSkzUIJP4mPQ2Jxnj3Gf8S1uZsSUg"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b5312910-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"67beb9c07259c0446dd609dc2c1a7cee","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":212,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55: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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:57.812154323Z"}]},"request_id":"0c18fe74-3b0c-4fc4-a5bd-6c32c804e488","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.261396} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"67beb9c07259c0446dd609dc2c1a7cee","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0416db3-460c-4007-a89e-21ca8386fae6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9c18a56e-6b53-4e0c-9eba-48ca2117a58c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.261642} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":212,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.409267,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b0416db3-460c-4007-a89e-21ca8386fae6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b5312910-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b0416db3-460c-4007-a89e-21ca8386fae6","object_type":"device","rebac_allow":false,"scope_allow":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":"b5312910-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"67beb9c07259c0446dd609dc2c1a7cee"} gateway-1 | {"time_local":"16/Oct/2024:09:55:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b? 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":"67beb9c07259c0446dd609dc2c1a7cee"} device-1 | {"level":"info","message":"GET /devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b? 200 16ms","method":"GET","requestID":"67beb9c07259c0446dd609dc2c1a7cee","responseTime":16,"status":200,"url":"/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b5312910-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b0416db3-460c-4007-a89e-21ca8386fae6/signaling 200 12ms","method":"POST","requestID":"b5312910-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/b0416db3-460c-4007-a89e-21ca8386fae6/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/64350dda-1a49-4ea5-8884-423353178cee"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"916edce05c586d3e50d1b0ed96e5dff4"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b5337300-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMH0.k8NrezRH608YvDlSkzUIJP4mPQ2Jxnj3Gf8S1uZsSUg","level":"info","message":"auth send jwt","requestID":"cd933a928c329905cadc4c38d15d3419"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"cd933a928c329905cadc4c38d15d3419","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b533c120-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cd933a928c329905cadc4c38d15d3419"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":213,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":213,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.729547,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":214,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b5337300-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072500,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMH0.k8NrezRH608YvDlSkzUIJP4mPQ2Jxnj3Gf8S1uZsSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b5337300-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":214,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.682292,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b0416db3-460c-4007-a89e-21ca8386fae6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b533c120-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b0416db3-460c-4007-a89e-21ca8386fae6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072500,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMH0.k8NrezRH608YvDlSkzUIJP4mPQ2Jxnj3Gf8S1uZsSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b533c120-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:57.812154323Z"}]},"request_id":"b2c27ea1-328c-4e84-98d6-5045cf83c283","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.282434} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"b5337300-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0416db3-460c-4007-a89e-21ca8386fae6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0416db3-460c-4007-a89e-21ca8386fae6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:57.864932525Z"}]},"request_id":"e0febfbc-0281-479e-a5ec-e4eeb5742cb3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.2848127} authorization-1 | {"client_addr":"127.0.0.1:59288","level":"info","msg":"Received request.","req_id":215,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"client_addr":"127.0.0.1:59288","level":"info","msg":"Sent response.","req_id":215,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.066959,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b0416db3-460c-4007-a89e-21ca8386fae6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cd933a928c329905cadc4c38d15d3419","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b0416db3-460c-4007-a89e-21ca8386fae6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072500,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMH0.k8NrezRH608YvDlSkzUIJP4mPQ2Jxnj3Gf8S1uZsSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"cd933a928c329905cadc4c38d15d3419","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"b533c120-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0416db3-460c-4007-a89e-21ca8386fae6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0416db3-460c-4007-a89e-21ca8386fae6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:54:57.864932525Z"}]},"request_id":"58a5edff-f66d-446e-b805-0085135f1ec9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.290647} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b5337300-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"cd933a928c329905cadc4c38d15d3419","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b? 200 20ms","method":"GET","requestID":"b5337300-8ba4-11ef-a62f-5f7f958aa687","responseTime":20,"status":200,"url":"/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b533c120-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/b0416db3-460c-4007-a89e-21ca8386fae6? 200 21ms","method":"GET","requestID":"b533c120-8ba4-11ef-a62f-5f7f958aa687","responseTime":21,"status":200,"url":"/devices/b0416db3-460c-4007-a89e-21ca8386fae6?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/64350dda-1a49-4ea5-8884-423353178cee"},"level":"info","message":"Building connection plan","requestID":"916edce05c586d3e50d1b0ed96e5dff4"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"55cdcbb0-2b87-4efb-9a6e-948edab66579"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"df21d37e-a0e8-4a47-b7b3-d6cc9fbd281a"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"7c33cef5-9fe3-4be4-bd98-97e1195ce31d"}]},"level":"info","message":"Built pairwise service configurations","requestID":"916edce05c586d3e50d1b0ed96e5dff4"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cd933a928c329905cadc4c38d15d3419"} device-1 | {"level":"info","message":"GET /devices/b0416db3-460c-4007-a89e-21ca8386fae6? 200 21ms","method":"GET","requestID":"cd933a928c329905cadc4c38d15d3419","responseTime":21,"status":200,"url":"/devices/b0416db3-460c-4007-a89e-21ca8386fae6?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b0416db3-460c-4007-a89e-21ca8386fae6? 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":"cd933a928c329905cadc4c38d15d3419"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"b5376aa0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"b5376aa0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"b5376aa0-8ba4-11ef-a042-213954f0282b","responseTime":1,"status":201,"url":"/rooms"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/7d8d4808-60cb-4609-a5af-deb5acdf9e95?id=68e7dedb-2ace-4139-a02a-38f192ea402c","ws://localhost/rooms/7d8d4808-60cb-4609-a5af-deb5acdf9e95?id=d42ffdd7-f84f-46c8-875f-704a649ec0eb"]},"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/b0416db3-460c-4007-a89e-21ca8386fae6"},{"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/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"916edce05c586d3e50d1b0ed96e5dff4"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"b53806e0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":216,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":216,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.932135,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b53806e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072500,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMH0.k8NrezRH608YvDlSkzUIJP4mPQ2Jxnj3Gf8S1uZsSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b53806e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"3750dea5-85e9-4105-a60c-847753fa4999","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.3153665} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5fdf403b-81ef-4b31-a922-854d6e547108","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.3156312} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"b53806e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"b53806e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"b53806e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/0011cd0d-7118-4312-9418-c0165aeaf05e'","requestID":"b53806e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/0011cd0d-7118-4312-9418-c0165aeaf05e'","requestID":"b53806e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"b53806e0-8ba4-11ef-a62f-5f7f958aa687"} 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":"b53806e0-8ba4-11ef-a62f-5f7f958aa687","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":"b53806e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/0011cd0d-7118-4312-9418-c0165aeaf05e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"0011cd0d-7118-4312-9418-c0165aeaf05e","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"b53dfa50-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"d42ffdd7-f84f-46c8-875f-704a649ec0eb\" in room \"http://localhost/rooms/7d8d4808-60cb-4609-a5af-deb5acdf9e95\"","requestID":"b53dfa50-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"b53dfa50-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"cabf8dafdc46a6c7141ebef52ddb535d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"cabf8dafdc46a6c7141ebef52ddb535d","responseTime":1,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"b53e4870-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"68e7dedb-2ace-4139-a02a-38f192ea402c\" in room \"http://localhost/rooms/7d8d4808-60cb-4609-a5af-deb5acdf9e95\"","requestID":"b53e4870-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"b53e4870-8ba4-11ef-a042-213954f0282b"} 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/b0416db3-460c-4007-a89e-21ca8386fae6"},{"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/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/0011cd0d-7118-4312-9418-c0165aeaf05e"}}},"level":"info","message":"received a callback","requestID":"cabf8dafdc46a6c7141ebef52ddb535d"} device-1 | {"data":{"peerconnection":"0011cd0d-7118-4312-9418-c0165aeaf05e","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 12ms","method":"POST","requestID":"cabf8dafdc46a6c7141ebef52ddb535d","responseTime":12,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.015","http_referrer":"","http_user_agent":"node-fetch","requestID":"cabf8dafdc46a6c7141ebef52ddb535d"} device-1 | {"data":{"peerconnection":"0011cd0d-7118-4312-9418-c0165aeaf05e","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/64350dda-1a49-4ea5-8884-423353178cee"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"916edce05c586d3e50d1b0ed96e5dff4"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b5430360-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/0011cd0d-7118-4312-9418-c0165aeaf05e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"0011cd0d-7118-4312-9418-c0165aeaf05e","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":217,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:00Z"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b8b8621783ea773920c5828071ec526d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"b8b8621783ea773920c5828071ec526d","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5d7c814b-14d4-4ece-986b-63c1b2b4c8b8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.3785677} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":217,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.697667,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} 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/b0416db3-460c-4007-a89e-21ca8386fae6"},{"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/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/0011cd0d-7118-4312-9418-c0165aeaf05e"}}},"level":"info","message":"received a callback","requestID":"b8b8621783ea773920c5828071ec526d"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b5430360-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","object_type":"device","rebac_allow":false,"scope_allow":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":"b5430360-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"b544b110-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":218,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:00Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b5430360-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b/signaling 200 14ms","method":"POST","requestID":"b5430360-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F0011cd0d-7118-4312-9418-c0165aeaf05e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3ffac6c1-7f94-45bd-9271-ae8625782cc3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.3895905} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":218,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.330265,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/0011cd0d-7118-4312-9418-c0165aeaf05e","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b544b110-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/0011cd0d-7118-4312-9418-c0165aeaf05e","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":"b544b110-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b5459b70-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"b544b110-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":219,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:00Z"} device-1 | {"level":"info","message":"GET /peerconnections/0011cd0d-7118-4312-9418-c0165aeaf05e 200 9ms","method":"GET","requestID":"b544b110-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/peerconnections/0011cd0d-7118-4312-9418-c0165aeaf05e"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0416db3-460c-4007-a89e-21ca8386fae6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0c5b66f2-386e-4891-8b51-16afebc79500","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.3958123} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":219,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.213128,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b0416db3-460c-4007-a89e-21ca8386fae6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b5459b70-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b0416db3-460c-4007-a89e-21ca8386fae6","object_type":"device","rebac_allow":false,"scope_allow":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":"b5459b70-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b5459b70-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b0416db3-460c-4007-a89e-21ca8386fae6/signaling 200 9ms","method":"POST","requestID":"b5459b70-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/b0416db3-460c-4007-a89e-21ca8386fae6/signaling"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 32ms","method":"POST","requestID":"b8b8621783ea773920c5828071ec526d","responseTime":33,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.035","http_referrer":"","http_user_agent":"node-fetch","requestID":"b8b8621783ea773920c5828071ec526d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b548cfc0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":220,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0416db3-460c-4007-a89e-21ca8386fae6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c95bc515-7221-4b10-b027-79a0b3bb8fa5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.4170535} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":220,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.253065,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b0416db3-460c-4007-a89e-21ca8386fae6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b548cfc0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b0416db3-460c-4007-a89e-21ca8386fae6","object_type":"device","rebac_allow":false,"scope_allow":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":"b548cfc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b548cfc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b0416db3-460c-4007-a89e-21ca8386fae6/signaling 200 9ms","method":"POST","requestID":"b548cfc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/b0416db3-460c-4007-a89e-21ca8386fae6/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b54a7d70-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":221,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7e62e620-91fe-49ec-a9d6-e2ffa9e5314e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.4283092} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":221,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.873311,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b54a7d70-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","object_type":"device","rebac_allow":false,"scope_allow":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":"b54a7d70-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b54a7d70-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b/signaling 200 9ms","method":"POST","requestID":"b54a7d70-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMH0.k8NrezRH608YvDlSkzUIJP4mPQ2Jxnj3Gf8S1uZsSUg","level":"info","message":"auth send jwt","requestID":"84cf627e6a6fd77c37698a93ed160731"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"84cf627e6a6fd77c37698a93ed160731","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/64350dda-1a49-4ea5-8884-423353178cee","requestID":"84cf627e6a6fd77c37698a93ed160731"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":222,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":222,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.134347,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/64350dda-1a49-4ea5-8884-423353178cee","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"84cf627e6a6fd77c37698a93ed160731","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/64350dda-1a49-4ea5-8884-423353178cee","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072500,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMH0.k8NrezRH608YvDlSkzUIJP4mPQ2Jxnj3Gf8S1uZsSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"84cf627e6a6fd77c37698a93ed160731","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/64350dda-1a49-4ea5-8884-423353178cee","requestID":"84cf627e6a6fd77c37698a93ed160731"} experiment-1 | {"level":"info","message":"GET /experiments/64350dda-1a49-4ea5-8884-423353178cee 200 13ms","method":"GET","requestID":"84cf627e6a6fd77c37698a93ed160731","responseTime":13,"status":200,"url":"/experiments/64350dda-1a49-4ea5-8884-423353178cee"} gateway-1 | {"time_local":"16/Oct/2024:09:55:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/64350dda-1a49-4ea5-8884-423353178cee HTTP/1.1","status": "200","body_bytes_sent":"885","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"84cf627e6a6fd77c37698a93ed160731"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMH0.k8NrezRH608YvDlSkzUIJP4mPQ2Jxnj3Gf8S1uZsSUg","level":"info","message":"auth send jwt","requestID":"42891b310bc135e4bd47b00899590f29"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"42891b310bc135e4bd47b00899590f29","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/64350dda-1a49-4ea5-8884-423353178cee","requestID":"42891b310bc135e4bd47b00899590f29"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":223,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":223,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.709234,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/64350dda-1a49-4ea5-8884-423353178cee","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"42891b310bc135e4bd47b00899590f29","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/64350dda-1a49-4ea5-8884-423353178cee","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072500,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMH0.k8NrezRH608YvDlSkzUIJP4mPQ2Jxnj3Gf8S1uZsSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"42891b310bc135e4bd47b00899590f29","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/64350dda-1a49-4ea5-8884-423353178cee"},"level":"info","message":"Attempting to finish experiment","requestID":"42891b310bc135e4bd47b00899590f29"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"b5533000-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":224,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":224,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.947774,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/0011cd0d-7118-4312-9418-c0165aeaf05e","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b5533000-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/0011cd0d-7118-4312-9418-c0165aeaf05e","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072500,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMH0.k8NrezRH608YvDlSkzUIJP4mPQ2Jxnj3Gf8S1uZsSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b5533000-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:55:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/7d8d4808-60cb-4609-a5af-deb5acdf9e95?id=d42ffdd7-f84f-46c8-875f-704a649ec0eb HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.158","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"01fd11fabe4b1884e9a2ffdfe61deb3f"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"d42ffdd7-f84f-46c8-875f-704a649ec0eb\" in room \"http://localhost/rooms/7d8d4808-60cb-4609-a5af-deb5acdf9e95\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"d42ffdd7-f84f-46c8-875f-704a649ec0eb\" from room \"http://localhost/rooms/7d8d4808-60cb-4609-a5af-deb5acdf9e95\", code: 1006, reason: "} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/0011cd0d-7118-4312-9418-c0165aeaf05e","device":"b0416db3-460c-4007-a89e-21ca8386fae6","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/0011cd0d-7118-4312-9418-c0165aeaf05e' to 'http://localhost/callbacks/experiment'"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"68e7dedb-2ace-4139-a02a-38f192ea402c\" in room \"http://localhost/rooms/7d8d4808-60cb-4609-a5af-deb5acdf9e95\""} gateway-1 | {"time_local":"16/Oct/2024:09:55:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/7d8d4808-60cb-4609-a5af-deb5acdf9e95?id=68e7dedb-2ace-4139-a02a-38f192ea402c 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":"0f0468b9ebf002f17c004bc784b949ac"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/0011cd0d-7118-4312-9418-c0165aeaf05e' to 'http://localhost/callbacks/experiment'"} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"68e7dedb-2ace-4139-a02a-38f192ea402c\" from room \"http://localhost/rooms/7d8d4808-60cb-4609-a5af-deb5acdf9e95\", code: 1005, reason: "} device-1 | {"data":{"peerconnection":"0011cd0d-7118-4312-9418-c0165aeaf05e","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"3496803881d2302db9908b002f6a7c81","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"3496803881d2302db9908b002f6a7c81","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"62fd0f8bc911ade1e9305f01ed2258e0","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/b0416db3-460c-4007-a89e-21ca8386fae6"},{"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/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/0011cd0d-7118-4312-9418-c0165aeaf05e"}}},"level":"info","message":"received a callback","requestID":"3496803881d2302db9908b002f6a7c81"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"62fd0f8bc911ade1e9305f01ed2258e0","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F0011cd0d-7118-4312-9418-c0165aeaf05e': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F0011cd0d-7118-4312-9418-c0165aeaf05e","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"b871baa1-f804-4a3f-b4e2-deae8b29623c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.5040274} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1d652f8d-420c-4e42-ab3a-c342a7758125","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.504275} 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/b0416db3-460c-4007-a89e-21ca8386fae6"},{"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/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/0011cd0d-7118-4312-9418-c0165aeaf05e"}}},"level":"info","message":"received a callback","requestID":"62fd0f8bc911ade1e9305f01ed2258e0"} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"b5533000-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"0011cd0d-7118-4312-9418-c0165aeaf05e","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"b5533000-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/0011cd0d-7118-4312-9418-c0165aeaf05e 204 42ms","method":"DELETE","requestID":"b5533000-8ba4-11ef-a62f-5f7f958aa687","responseTime":42,"status":204,"url":"/peerconnections/0011cd0d-7118-4312-9418-c0165aeaf05e"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/b0416db3-460c-4007-a89e-21ca8386fae6'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/64350dda-1a49-4ea5-8884-423353178cee"},"level":"info","message":"Successfully finished experiment","requestID":"42891b310bc135e4bd47b00899590f29"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b55cf400-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":225,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0416db3-460c-4007-a89e-21ca8386fae6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d066cb10-2aed-4293-a0de-57c9122b4b01","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.5503182} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":225,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.474357,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b0416db3-460c-4007-a89e-21ca8386fae6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b55cf400-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b0416db3-460c-4007-a89e-21ca8386fae6","object_type":"device","rebac_allow":false,"scope_allow":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":"b55cf400-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b55cf400-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b0416db3-460c-4007-a89e-21ca8386fae6/signaling 200 13ms","method":"POST","requestID":"b55cf400-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/b0416db3-460c-4007-a89e-21ca8386fae6/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F64350dda-1a49-4ea5-8884-423353178cee': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F64350dda-1a49-4ea5-8884-423353178cee","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"653414b2-4a1e-4378-b88f-32dcb4ce75d1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.5595548} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"75b86dca-a3ae-4db0-9b11-2904646e5319","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.5597374} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b55f6500-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"42891b310bc135e4bd47b00899590f29","responseTime":18,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":226,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c01fcfbd-83bc-4edb-816d-4397e8280eec","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.5658689} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":226,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.889001,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b55f6500-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b","object_type":"device","rebac_allow":false,"scope_allow":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":"b55f6500-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b55f6500-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b/signaling 200 11ms","method":"POST","requestID":"b55f6500-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/64350dda-1a49-4ea5-8884-423353178cee","requestID":"42891b310bc135e4bd47b00899590f29"} gateway-1 | {"time_local":"16/Oct/2024:09:55:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/64350dda-1a49-4ea5-8884-423353178cee 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":"42891b310bc135e4bd47b00899590f29"} gateway-1 | {"time_local":"16/Oct/2024:09:55:00 +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.221","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"93209678ba1a249767eda901add54548"} experiment-1 | {"level":"info","message":"DELETE /experiments/64350dda-1a49-4ea5-8884-423353178cee 204 164ms","method":"DELETE","requestID":"42891b310bc135e4bd47b00899590f29","responseTime":164,"status":204,"url":"/experiments/64350dda-1a49-4ea5-8884-423353178cee"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 133ms","method":"POST","requestID":"3496803881d2302db9908b002f6a7c81","responseTime":133,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.136","http_referrer":"","http_user_agent":"node-fetch","requestID":"3496803881d2302db9908b002f6a7c81"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 133ms","method":"POST","requestID":"62fd0f8bc911ade1e9305f01ed2258e0","responseTime":133,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.137","http_referrer":"","http_user_agent":"node-fetch","requestID":"62fd0f8bc911ade1e9305f01ed2258e0"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMH0.k8NrezRH608YvDlSkzUIJP4mPQ2Jxnj3Gf8S1uZsSUg","level":"info","message":"auth send jwt","requestID":"f4981c12a56a2c6c0c1c0453736d7650"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"f4981c12a56a2c6c0c1c0453736d7650","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"f4981c12a56a2c6c0c1c0453736d7650"} gateway-1 | {"time_local":"16/Oct/2024:09:55:00 +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.721","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"cf382a6ef460ffa81bb47aec18bf15fd"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":227,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":227,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.088492,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f4981c12a56a2c6c0c1c0453736d7650","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072500,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMH0.k8NrezRH608YvDlSkzUIJP4mPQ2Jxnj3Gf8S1uZsSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f4981c12a56a2c6c0c1c0453736d7650","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/5cfeafaa-d3c2-421f-ba6f-a4abb0cc461b' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5aceacd1-149a-4441-9fea-48081221fd60","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"9088228c-085f-4d16-b090-d6d51180b5a2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.661042} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f4981c12a56a2c6c0c1c0453736d7650","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/b0416db3-460c-4007-a89e-21ca8386fae6' 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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"09729d78-9f7f-478e-ae51-4cad533d3dc8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.6665728} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"f4981c12a56a2c6c0c1c0453736d7650","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5aceacd1-149a-4441-9fea-48081221fd60","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"5369a718-3799-43c2-a6d9-aea1f384a4ee","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.676035} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c1ea1008-2766-42d0-b2b6-9323bca5b294","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.6762388} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"f4981c12a56a2c6c0c1c0453736d7650","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5aceacd1-149a-4441-9fea-48081221fd60","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5aceacd1-149a-4441-9fea-48081221fd60","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:00.676021340Z"}]},"request_id":"4d9cb3e8-be0b-43f5-9936-c326d42095c0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.6809905} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f4981c12a56a2c6c0c1c0453736d7650","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"f4981c12a56a2c6c0c1c0453736d7650"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f4981c12a56a2c6c0c1c0453736d7650"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"f4981c12a56a2c6c0c1c0453736d7650","responseTime":44,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMH0.k8NrezRH608YvDlSkzUIJP4mPQ2Jxnj3Gf8S1uZsSUg","level":"info","message":"auth send jwt","requestID":"c3bd0aa01959012c5091ab190499d936"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"c3bd0aa01959012c5091ab190499d936","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"c3bd0aa01959012c5091ab190499d936"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":228,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":228,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.714039,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:00Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c3bd0aa01959012c5091ab190499d936","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072500,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMH0.k8NrezRH608YvDlSkzUIJP4mPQ2Jxnj3Gf8S1uZsSUg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c3bd0aa01959012c5091ab190499d936","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd5561c61-75e5-4853-9b79-b73ff81295ca","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"1ff208f5-f812-4790-aade-372a04ca0f61","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.7104824} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c3bd0aa01959012c5091ab190499d936","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"dfb8b872-ad49-4c85-a817-edb04b29c9f4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.7153587} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"c3bd0aa01959012c5091ab190499d936","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd5561c61-75e5-4853-9b79-b73ff81295ca","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"206ce67c-92de-45de-a3e3-be9e4102a5b0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.726742} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9ff6aedf-8fee-4c53-94ac-f8e28515cb3b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.7268982} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"c3bd0aa01959012c5091ab190499d936","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd5561c61-75e5-4853-9b79-b73ff81295ca","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd5561c61-75e5-4853-9b79-b73ff81295ca","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:00.726727524Z"}]},"request_id":"01e4a595-a437-4736-adb0-5d12a4c262a9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072500.7311258} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c3bd0aa01959012c5091ab190499d936","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"c3bd0aa01959012c5091ab190499d936"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.050","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c3bd0aa01959012c5091ab190499d936"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"c3bd0aa01959012c5091ab190499d936","responseTime":46,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8","level":"info","message":"auth send jwt","requestID":"31fe90dbd93f26126e4ba9b6f3d74097"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"31fe90dbd93f26126e4ba9b6f3d74097","responseTime":6,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8","level":"info","message":"auth send jwt","requestID":"acfde7555a0854098b7a1b33f90df869"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"acfde7555a0854098b7a1b33f90df869","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"31fe90dbd93f26126e4ba9b6f3d74097"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"acfde7555a0854098b7a1b33f90df869"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":229,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":229,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.640713,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/d5561c61-75e5-4853-9b79-b73ff81295ca","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"31fe90dbd93f26126e4ba9b6f3d74097","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/d5561c61-75e5-4853-9b79-b73ff81295ca","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072501,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"31fe90dbd93f26126e4ba9b6f3d74097","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":230,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":230,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.54378,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/5aceacd1-149a-4441-9fea-48081221fd60","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"acfde7555a0854098b7a1b33f90df869","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5aceacd1-149a-4441-9fea-48081221fd60","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072501,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"acfde7555a0854098b7a1b33f90df869","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5aceacd1-149a-4441-9fea-48081221fd60","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5aceacd1-149a-4441-9fea-48081221fd60","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:00.676021340Z"}]},"request_id":"ba789756-6591-48f4-ab23-980468f9d45c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.2133162} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"acfde7555a0854098b7a1b33f90df869","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd5561c61-75e5-4853-9b79-b73ff81295ca","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd5561c61-75e5-4853-9b79-b73ff81295ca","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:00.726727524Z"}]},"request_id":"cf10fcdd-a20a-4161-9e03-80d7463facb2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.2140155} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"31fe90dbd93f26126e4ba9b6f3d74097","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"71badfe7-4bfc-4474-a703-9b09f37d6be7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.2185485} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"acfde7555a0854098b7a1b33f90df869","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e53106c4-5afb-44be-94fc-59404abb8b0d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.2203984} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"31fe90dbd93f26126e4ba9b6f3d74097","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd5561c61-75e5-4853-9b79-b73ff81295ca","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd5561c61-75e5-4853-9b79-b73ff81295ca","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:00.726727524Z"}]},"request_id":"24e11585-9e00-40b3-9db2-fef28bb766e8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.2248225} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"31fe90dbd93f26126e4ba9b6f3d74097","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"31fe90dbd93f26126e4ba9b6f3d74097"} device-1 | {"level":"info","message":"PATCH /devices/d5561c61-75e5-4853-9b79-b73ff81295ca 200 27ms","method":"PATCH","requestID":"31fe90dbd93f26126e4ba9b6f3d74097","responseTime":27,"status":200,"url":"/devices/d5561c61-75e5-4853-9b79-b73ff81295ca"} gateway-1 | {"time_local":"16/Oct/2024:09:55:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/d5561c61-75e5-4853-9b79-b73ff81295ca HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.035","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"31fe90dbd93f26126e4ba9b6f3d74097"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8","level":"info","message":"auth send jwt","requestID":"922992cffb781a9f97125d8657920150"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"922992cffb781a9f97125d8657920150","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"922992cffb781a9f97125d8657920150"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":231,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":231,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.83823,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/d5561c61-75e5-4853-9b79-b73ff81295ca","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"922992cffb781a9f97125d8657920150","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/d5561c61-75e5-4853-9b79-b73ff81295ca","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072501,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"922992cffb781a9f97125d8657920150","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5aceacd1-149a-4441-9fea-48081221fd60","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5aceacd1-149a-4441-9fea-48081221fd60","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:00.676021340Z"}]},"request_id":"7fd5e797-6f26-426e-8081-97aaab41ea7b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.2380075} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"acfde7555a0854098b7a1b33f90df869","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"acfde7555a0854098b7a1b33f90df869"} gateway-1 | {"time_local":"16/Oct/2024:09:55:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/5aceacd1-149a-4441-9fea-48081221fd60 HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.050","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"acfde7555a0854098b7a1b33f90df869"} device-1 | {"level":"info","message":"PATCH /devices/5aceacd1-149a-4441-9fea-48081221fd60 200 40ms","method":"PATCH","requestID":"acfde7555a0854098b7a1b33f90df869","responseTime":40,"status":200,"url":"/devices/5aceacd1-149a-4441-9fea-48081221fd60"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8","level":"info","message":"auth send jwt","requestID":"7f630e97cdfc802a1ae4f4e4fd89633b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"7f630e97cdfc802a1ae4f4e4fd89633b","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"7f630e97cdfc802a1ae4f4e4fd89633b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":232,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":232,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.719584,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/5aceacd1-149a-4441-9fea-48081221fd60","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"7f630e97cdfc802a1ae4f4e4fd89633b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5aceacd1-149a-4441-9fea-48081221fd60","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072501,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7f630e97cdfc802a1ae4f4e4fd89633b","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"922992cffb781a9f97125d8657920150"} gateway-1 | {"time_local":"16/Oct/2024:09:55:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/d5561c61-75e5-4853-9b79-b73ff81295ca/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.10","requestID":"922992cffb781a9f97125d8657920150"} device-1 | {"level":"info","message":"POST /devices/d5561c61-75e5-4853-9b79-b73ff81295ca/websocket 200 22ms","method":"POST","requestID":"922992cffb781a9f97125d8657920150","responseTime":22,"status":200,"url":"/devices/d5561c61-75e5-4853-9b79-b73ff81295ca/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"7f630e97cdfc802a1ae4f4e4fd89633b"} gateway-1 | {"time_local":"16/Oct/2024:09:55:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/5aceacd1-149a-4441-9fea-48081221fd60/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.10","requestID":"7f630e97cdfc802a1ae4f4e4fd89633b"} device-1 | {"level":"info","message":"POST /devices/5aceacd1-149a-4441-9fea-48081221fd60/websocket 200 19ms","method":"POST","requestID":"7f630e97cdfc802a1ae4f4e4fd89633b","responseTime":19,"status":200,"url":"/devices/5aceacd1-149a-4441-9fea-48081221fd60/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/d5561c61-75e5-4853-9b79-b73ff81295ca' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/5aceacd1-149a-4441-9fea-48081221fd60' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8","level":"info","message":"auth send jwt","requestID":"7130488b69022e73389d25385a095964"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"7130488b69022e73389d25385a095964","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7130488b69022e73389d25385a095964"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":233,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":233,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.822141,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5aceacd1-149a-4441-9fea-48081221fd60","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"7130488b69022e73389d25385a095964","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5aceacd1-149a-4441-9fea-48081221fd60","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072501,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7130488b69022e73389d25385a095964","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5aceacd1-149a-4441-9fea-48081221fd60","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5aceacd1-149a-4441-9fea-48081221fd60","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:00.676021340Z"}]},"request_id":"14223e59-cb53-410b-b030-f98d9b3b9f99","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.3014815} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7130488b69022e73389d25385a095964","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7130488b69022e73389d25385a095964"} device-1 | {"level":"info","message":"GET /devices/5aceacd1-149a-4441-9fea-48081221fd60? 200 13ms","method":"GET","requestID":"7130488b69022e73389d25385a095964","responseTime":13,"status":200,"url":"/devices/5aceacd1-149a-4441-9fea-48081221fd60?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/5aceacd1-149a-4441-9fea-48081221fd60? 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":"7130488b69022e73389d25385a095964"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8","level":"info","message":"auth send jwt","requestID":"68965f6475193bb17ca5d55d0fa2353f"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"68965f6475193bb17ca5d55d0fa2353f","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"68965f6475193bb17ca5d55d0fa2353f"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":234,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":234,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.201456,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d5561c61-75e5-4853-9b79-b73ff81295ca","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"68965f6475193bb17ca5d55d0fa2353f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/d5561c61-75e5-4853-9b79-b73ff81295ca","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072501,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"68965f6475193bb17ca5d55d0fa2353f","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd5561c61-75e5-4853-9b79-b73ff81295ca","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd5561c61-75e5-4853-9b79-b73ff81295ca","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:00.726727524Z"}]},"request_id":"46932e77-4d2c-4cd9-85e4-88d3e646fc05","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.324879} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"68965f6475193bb17ca5d55d0fa2353f","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"68965f6475193bb17ca5d55d0fa2353f"} gateway-1 | {"time_local":"16/Oct/2024:09:55:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d5561c61-75e5-4853-9b79-b73ff81295ca? 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":"68965f6475193bb17ca5d55d0fa2353f"} device-1 | {"level":"info","message":"GET /devices/d5561c61-75e5-4853-9b79-b73ff81295ca? 200 17ms","method":"GET","requestID":"68965f6475193bb17ca5d55d0fa2353f","responseTime":17,"status":200,"url":"/devices/d5561c61-75e5-4853-9b79-b73ff81295ca?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8","level":"info","message":"auth send jwt","requestID":"dbbbb2b691f60101517092524bb6e0e5"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"dbbbb2b691f60101517092524bb6e0e5","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"dbbbb2b691f60101517092524bb6e0e5"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":235,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":235,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.177024,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"dbbbb2b691f60101517092524bb6e0e5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072501,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"dbbbb2b691f60101517092524bb6e0e5","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e828d9f5-28e2-4187-8086-ad603e5bed80"},"level":"info","message":"Attempting to run experiment","requestID":"dbbbb2b691f60101517092524bb6e0e5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e828d9f5-28e2-4187-8086-ad603e5bed80"},"level":"info","message":"Attempting to book experiment","requestID":"dbbbb2b691f60101517092524bb6e0e5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e828d9f5-28e2-4187-8086-ad603e5bed80"},"level":"info","message":"Successfully booked experiment","requestID":"dbbbb2b691f60101517092524bb6e0e5"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b5dd2080-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b5dd6ea0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":236,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":236,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.071641,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":237,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5aceacd1-149a-4441-9fea-48081221fd60","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b5dd2080-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5aceacd1-149a-4441-9fea-48081221fd60","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072501,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"b5dd2080-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":237,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.229199,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d5561c61-75e5-4853-9b79-b73ff81295ca","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b5dd6ea0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/d5561c61-75e5-4853-9b79-b73ff81295ca","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072501,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b5dd6ea0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5aceacd1-149a-4441-9fea-48081221fd60","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5aceacd1-149a-4441-9fea-48081221fd60","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:00.676021340Z"}]},"request_id":"ac1a11e2-871a-43f2-88c1-322fd6ac165d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.3978634} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"b5dd2080-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd5561c61-75e5-4853-9b79-b73ff81295ca","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd5561c61-75e5-4853-9b79-b73ff81295ca","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:00.726727524Z"}]},"request_id":"0d82b195-ad85-472d-8e62-b67eed7e9dc9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.3993793} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b5dd6ea0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b5dd2080-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/5aceacd1-149a-4441-9fea-48081221fd60? 200 24ms","method":"GET","requestID":"b5dd2080-8ba4-11ef-a62f-5f7f958aa687","responseTime":24,"status":200,"url":"/devices/5aceacd1-149a-4441-9fea-48081221fd60?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b5dd6ea0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/d5561c61-75e5-4853-9b79-b73ff81295ca? 200 24ms","method":"GET","requestID":"b5dd6ea0-8ba4-11ef-a62f-5f7f958aa687","responseTime":24,"status":200,"url":"/devices/d5561c61-75e5-4853-9b79-b73ff81295ca?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e828d9f5-28e2-4187-8086-ad603e5bed80"},"level":"info","message":"Setting up experiment","requestID":"dbbbb2b691f60101517092524bb6e0e5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e828d9f5-28e2-4187-8086-ad603e5bed80"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"dbbbb2b691f60101517092524bb6e0e5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e828d9f5-28e2-4187-8086-ad603e5bed80"},"level":"info","message":"Successfully locked booking for experiment","requestID":"dbbbb2b691f60101517092524bb6e0e5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e828d9f5-28e2-4187-8086-ad603e5bed80"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"dbbbb2b691f60101517092524bb6e0e5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e828d9f5-28e2-4187-8086-ad603e5bed80"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"dbbbb2b691f60101517092524bb6e0e5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e828d9f5-28e2-4187-8086-ad603e5bed80"},"level":"info","message":"Attempting to update booking for experiment","requestID":"dbbbb2b691f60101517092524bb6e0e5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e828d9f5-28e2-4187-8086-ad603e5bed80"},"level":"info","message":"Successfully updated booking for experiment","requestID":"dbbbb2b691f60101517092524bb6e0e5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e828d9f5-28e2-4187-8086-ad603e5bed80"},"level":"info","message":"Successfully set up experiment","requestID":"dbbbb2b691f60101517092524bb6e0e5"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b5e9f1c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b5ea66f0-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e828d9f5-28e2-4187-8086-ad603e5bed80"},"level":"info","message":"Successfully running experiment","requestID":"dbbbb2b691f60101517092524bb6e0e5"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b5eadc20-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":238,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":238,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.353678,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":239,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5aceacd1-149a-4441-9fea-48081221fd60","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b5e9f1c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5aceacd1-149a-4441-9fea-48081221fd60","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072501,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"b5e9f1c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":239,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.296188,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d5561c61-75e5-4853-9b79-b73ff81295ca","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b5ea66f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/d5561c61-75e5-4853-9b79-b73ff81295ca","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072501,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8"} authorization-1 | {"level":"info","message":"POST /authorize 200 14ms","method":"POST","requestID":"b5ea66f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":240,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":240,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.133807,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5aceacd1-149a-4441-9fea-48081221fd60","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"95aecca9-0ab0-4d29-a769-c2e29fba6ae5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.4875188} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5aceacd1-149a-4441-9fea-48081221fd60","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b5eadc20-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5aceacd1-149a-4441-9fea-48081221fd60","object_type":"device","rebac_allow":false,"scope_allow":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":"b5eadc20-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5aceacd1-149a-4441-9fea-48081221fd60","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5aceacd1-149a-4441-9fea-48081221fd60","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:00.676021340Z"}]},"request_id":"aef40c4c-068a-4518-a0ab-6602a68ac042","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.4897516} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"b5e9f1c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b5eadc20-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd5561c61-75e5-4853-9b79-b73ff81295ca","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd5561c61-75e5-4853-9b79-b73ff81295ca","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:00.726727524Z"}]},"request_id":"fce8e20e-6ab4-4def-909f-015574dc8f64","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.4938526} device-1 | {"level":"info","message":"POST /devices/5aceacd1-149a-4441-9fea-48081221fd60/signaling 200 21ms","method":"POST","requestID":"b5eadc20-8ba4-11ef-a62f-5f7f958aa687","responseTime":21,"status":200,"url":"/devices/5aceacd1-149a-4441-9fea-48081221fd60/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"b5ea66f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b5eed3c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b5e9f1c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/5aceacd1-149a-4441-9fea-48081221fd60? 200 36ms","method":"GET","requestID":"b5e9f1c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":36,"status":200,"url":"/devices/5aceacd1-149a-4441-9fea-48081221fd60?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b5ea66f0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":241,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} device-1 | {"level":"info","message":"GET /devices/d5561c61-75e5-4853-9b79-b73ff81295ca? 200 35ms","method":"GET","requestID":"b5ea66f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":35,"status":200,"url":"/devices/d5561c61-75e5-4853-9b79-b73ff81295ca?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe828d9f5-28e2-4187-8086-ad603e5bed80#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe828d9f5-28e2-4187-8086-ad603e5bed80","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"85b9f322-03bc-4e7c-9d8f-9089c9d0ede4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.5067017} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd5561c61-75e5-4853-9b79-b73ff81295ca","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"858457b5-9beb-4085-8d70-e17e12fc1c0a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.5069213} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6afc2b8d-a02a-43cb-a222-3524288a5dc4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.5069592} authorization-1 | {"level":"info","message":"POST /relations/update 200 25ms","method":"POST","requestID":"dbbbb2b691f60101517092524bb6e0e5","responseTime":25,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":241,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.157286,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b5f03350-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d5561c61-75e5-4853-9b79-b73ff81295ca","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b5eed3c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d5561c61-75e5-4853-9b79-b73ff81295ca","object_type":"device","rebac_allow":false,"scope_allow":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":"b5eed3c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":242,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b5eed3c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/d5561c61-75e5-4853-9b79-b73ff81295ca/signaling 200 16ms","method":"POST","requestID":"b5eed3c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/d5561c61-75e5-4853-9b79-b73ff81295ca/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5aceacd1-149a-4441-9fea-48081221fd60","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"35b22725-2f08-4296-82ae-bcc066e8a3e7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.5181608} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":242,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.12923,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5aceacd1-149a-4441-9fea-48081221fd60","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b5f03350-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5aceacd1-149a-4441-9fea-48081221fd60","object_type":"device","rebac_allow":false,"scope_allow":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":"b5f03350-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/e828d9f5-28e2-4187-8086-ad603e5bed80","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"dbbbb2b691f60101517092524bb6e0e5"} experiment-1 | {"level":"info","message":"POST /experiments? 201 186ms","method":"POST","requestID":"dbbbb2b691f60101517092524bb6e0e5","responseTime":186,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.192","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"dbbbb2b691f60101517092524bb6e0e5"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b5f03350-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/5aceacd1-149a-4441-9fea-48081221fd60/signaling 200 16ms","method":"POST","requestID":"b5f03350-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/5aceacd1-149a-4441-9fea-48081221fd60/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b5f31980-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8","level":"info","message":"auth send jwt","requestID":"c1cdabf8fccf51fe423de7b116048edd"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c1cdabf8fccf51fe423de7b116048edd","responseTime":4,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":243,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c1cdabf8fccf51fe423de7b116048edd"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd5561c61-75e5-4853-9b79-b73ff81295ca","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9a36ac7b-193f-4866-bc73-893eba6f7ebd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.5356627} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":244,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":243,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.877392,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d5561c61-75e5-4853-9b79-b73ff81295ca","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b5f31980-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d5561c61-75e5-4853-9b79-b73ff81295ca","object_type":"device","rebac_allow":false,"scope_allow":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":"b5f31980-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":244,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.602051,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5aceacd1-149a-4441-9fea-48081221fd60","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c1cdabf8fccf51fe423de7b116048edd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5aceacd1-149a-4441-9fea-48081221fd60","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072501,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"c1cdabf8fccf51fe423de7b116048edd","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b5f31980-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/d5561c61-75e5-4853-9b79-b73ff81295ca/signaling 200 17ms","method":"POST","requestID":"b5f31980-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/d5561c61-75e5-4853-9b79-b73ff81295ca/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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5aceacd1-149a-4441-9fea-48081221fd60","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5aceacd1-149a-4441-9fea-48081221fd60","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:00.676021340Z"}]},"request_id":"6c7945f1-60c3-4445-91c2-e24f01837f33","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.5453854} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e828d9f5-28e2-4187-8086-ad603e5bed80"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"dbbbb2b691f60101517092524bb6e0e5"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"c1cdabf8fccf51fe423de7b116048edd","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b5f64dd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b5f674e0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":245,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c1cdabf8fccf51fe423de7b116048edd"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":246,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":245,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.37199,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} gateway-1 | {"time_local":"16/Oct/2024:09:55:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/5aceacd1-149a-4441-9fea-48081221fd60? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.028","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c1cdabf8fccf51fe423de7b116048edd"} device-1 | {"level":"info","message":"GET /devices/5aceacd1-149a-4441-9fea-48081221fd60? 200 23ms","method":"GET","requestID":"c1cdabf8fccf51fe423de7b116048edd","responseTime":23,"status":200,"url":"/devices/5aceacd1-149a-4441-9fea-48081221fd60?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5aceacd1-149a-4441-9fea-48081221fd60","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b5f64dd0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5aceacd1-149a-4441-9fea-48081221fd60","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072501,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"b5f64dd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":246,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.107687,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d5561c61-75e5-4853-9b79-b73ff81295ca","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b5f674e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/d5561c61-75e5-4853-9b79-b73ff81295ca","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072501,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b5f674e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8","level":"info","message":"auth send jwt","requestID":"3c46f1faf8d7899781020f2c36688862"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5aceacd1-149a-4441-9fea-48081221fd60","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5aceacd1-149a-4441-9fea-48081221fd60","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:00.676021340Z"}]},"request_id":"8753bc7a-5a8f-4a92-8ef9-f1c19b1024c1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.5601697} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"3c46f1faf8d7899781020f2c36688862","responseTime":5,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b5f64dd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3c46f1faf8d7899781020f2c36688862"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd5561c61-75e5-4853-9b79-b73ff81295ca","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd5561c61-75e5-4853-9b79-b73ff81295ca","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:00.726727524Z"}]},"request_id":"f6a849f1-30ea-405c-ab72-f6fbaf442e6c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.5619063} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"b5f674e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":247,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":247,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.368626,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d5561c61-75e5-4853-9b79-b73ff81295ca","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3c46f1faf8d7899781020f2c36688862","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/d5561c61-75e5-4853-9b79-b73ff81295ca","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072501,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3c46f1faf8d7899781020f2c36688862","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b5f64dd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/5aceacd1-149a-4441-9fea-48081221fd60? 200 23ms","method":"GET","requestID":"b5f64dd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/5aceacd1-149a-4441-9fea-48081221fd60?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b5f674e0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd5561c61-75e5-4853-9b79-b73ff81295ca","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd5561c61-75e5-4853-9b79-b73ff81295ca","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:00.726727524Z"}]},"request_id":"a50870a3-6884-4021-9bcb-3b647963a89d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.5735345} device-1 | {"level":"info","message":"GET /devices/d5561c61-75e5-4853-9b79-b73ff81295ca? 200 24ms","method":"GET","requestID":"b5f674e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":24,"status":200,"url":"/devices/d5561c61-75e5-4853-9b79-b73ff81295ca?"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3c46f1faf8d7899781020f2c36688862","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e828d9f5-28e2-4187-8086-ad603e5bed80"},"level":"info","message":"Building connection plan","requestID":"dbbbb2b691f60101517092524bb6e0e5"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"788739e5-84a5-456b-bf1c-c8144268ab1c"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"c79439cf-02cb-4415-8cf5-bf1a6cd3f8ef"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"068161cc-b8c2-42a0-8856-e4cb1288ae56"}]},"level":"info","message":"Built pairwise service configurations","requestID":"dbbbb2b691f60101517092524bb6e0e5"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"b5fa9390-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"b5fa9390-8ba4-11ef-a042-213954f0282b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3c46f1faf8d7899781020f2c36688862"} gateway-1 | {"time_local":"16/Oct/2024:09:55:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d5561c61-75e5-4853-9b79-b73ff81295ca? 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":"3c46f1faf8d7899781020f2c36688862"} forwarding-1 | {"level":"info","message":"POST /rooms 201 2ms","method":"POST","requestID":"b5fa9390-8ba4-11ef-a042-213954f0282b","responseTime":2,"status":201,"url":"/rooms"} device-1 | {"level":"info","message":"GET /devices/d5561c61-75e5-4853-9b79-b73ff81295ca? 200 17ms","method":"GET","requestID":"3c46f1faf8d7899781020f2c36688862","responseTime":17,"status":200,"url":"/devices/d5561c61-75e5-4853-9b79-b73ff81295ca?"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/e5fa1538-0ac3-4f3b-b5ba-e3b6effc748a?id=09661f09-a2a5-409b-b99e-a643b9509618","ws://localhost/rooms/e5fa1538-0ac3-4f3b-b5ba-e3b6effc748a?id=f4e33730-ef7e-458a-8051-9beb5c062af0"]},"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/d5561c61-75e5-4853-9b79-b73ff81295ca"},{"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/5aceacd1-149a-4441-9fea-48081221fd60"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"dbbbb2b691f60101517092524bb6e0e5"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"b5fb56e0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":248,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":248,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.203097,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b5fb56e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072501,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b5fb56e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"ea1b46c2-a9ac-4544-894b-bcf44c5a7cec","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.6000764} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"aac92d8a-eff4-45bc-a730-49841bb8d7f3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.6002939} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"b5fb56e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"b5fb56e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"b5fb56e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/dd813e90-a1a5-4e15-b992-fca6255b84a2'","requestID":"b5fb56e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/dd813e90-a1a5-4e15-b992-fca6255b84a2'","requestID":"b5fb56e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"b5fb56e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 35ms","method":"POST","requestID":"b5fb56e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":35,"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":"b5fb56e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/dd813e90-a1a5-4e15-b992-fca6255b84a2' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"dd813e90-a1a5-4e15-b992-fca6255b84a2","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"b602f800-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"09661f09-a2a5-409b-b99e-a643b9509618\" in room \"http://localhost/rooms/e5fa1538-0ac3-4f3b-b5ba-e3b6effc748a\"","requestID":"b602f800-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"b602f800-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"cdedceae1ad00f76d520c6cf41b35279","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"b6034620-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"f4e33730-ef7e-458a-8051-9beb5c062af0\" in room \"http://localhost/rooms/e5fa1538-0ac3-4f3b-b5ba-e3b6effc748a\"","requestID":"b6034620-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"b6034620-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"cdedceae1ad00f76d520c6cf41b35279","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/d5561c61-75e5-4853-9b79-b73ff81295ca"},{"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/5aceacd1-149a-4441-9fea-48081221fd60"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/dd813e90-a1a5-4e15-b992-fca6255b84a2"}}},"level":"info","message":"received a callback","requestID":"cdedceae1ad00f76d520c6cf41b35279"} device-1 | {"data":{"peerconnection":"dd813e90-a1a5-4e15-b992-fca6255b84a2","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"dd813e90-a1a5-4e15-b992-fca6255b84a2","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 28ms","method":"POST","requestID":"cdedceae1ad00f76d520c6cf41b35279","responseTime":28,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.033","http_referrer":"","http_user_agent":"node-fetch","requestID":"cdedceae1ad00f76d520c6cf41b35279"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/dd813e90-a1a5-4e15-b992-fca6255b84a2' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"dd813e90-a1a5-4e15-b992-fca6255b84a2","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e828d9f5-28e2-4187-8086-ad603e5bed80"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"dbbbb2b691f60101517092524bb6e0e5"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b64326965b127f6d34f8c1c06bc0eb4d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"b64326965b127f6d34f8c1c06bc0eb4d","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b60b5c70-8ba4-11ef-a62f-5f7f958aa687"} 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/d5561c61-75e5-4853-9b79-b73ff81295ca"},{"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/5aceacd1-149a-4441-9fea-48081221fd60"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/dd813e90-a1a5-4e15-b992-fca6255b84a2"}}},"level":"info","message":"received a callback","requestID":"b64326965b127f6d34f8c1c06bc0eb4d"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":249,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5aceacd1-149a-4441-9fea-48081221fd60","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"21f63329-c64f-4d6d-926c-8e1d93f12f7c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.6923854} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":249,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.413966,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5aceacd1-149a-4441-9fea-48081221fd60","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b60b5c70-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5aceacd1-149a-4441-9fea-48081221fd60","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":"getPeerconnectionsByPeerconnectionId called","requestID":"b60c46d0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b60b5c70-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":250,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fdd813e90-a1a5-4e15-b992-fca6255b84a2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"feef0d0c-65bf-4fd8-a213-2a637dbb575a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.6977034} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":250,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.10907,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/dd813e90-a1a5-4e15-b992-fca6255b84a2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b60c46d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/dd813e90-a1a5-4e15-b992-fca6255b84a2","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":"b60c46d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b60b5c70-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/5aceacd1-149a-4441-9fea-48081221fd60/signaling 200 14ms","method":"POST","requestID":"b60b5c70-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/5aceacd1-149a-4441-9fea-48081221fd60/signaling"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"b60c46d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/dd813e90-a1a5-4e15-b992-fca6255b84a2 200 9ms","method":"GET","requestID":"b60c46d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/peerconnections/dd813e90-a1a5-4e15-b992-fca6255b84a2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b60dcd70-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":251,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd5561c61-75e5-4853-9b79-b73ff81295ca","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1fe51d31-db75-4c20-83ad-705d49779b2f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.7080016} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":251,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.594139,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d5561c61-75e5-4853-9b79-b73ff81295ca","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b60dcd70-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d5561c61-75e5-4853-9b79-b73ff81295ca","object_type":"device","rebac_allow":false,"scope_allow":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":"b60dcd70-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b60dcd70-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/d5561c61-75e5-4853-9b79-b73ff81295ca/signaling 200 10ms","method":"POST","requestID":"b60dcd70-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/d5561c61-75e5-4853-9b79-b73ff81295ca/signaling"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 34ms","method":"POST","requestID":"b64326965b127f6d34f8c1c06bc0eb4d","responseTime":34,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.037","http_referrer":"","http_user_agent":"node-fetch","requestID":"b64326965b127f6d34f8c1c06bc0eb4d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b610b3a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":252,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd5561c61-75e5-4853-9b79-b73ff81295ca","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"17844f49-e309-430f-8bb7-e8e31d654b2a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.7279334} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":252,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.978115,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d5561c61-75e5-4853-9b79-b73ff81295ca","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b610b3a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d5561c61-75e5-4853-9b79-b73ff81295ca","object_type":"device","rebac_allow":false,"scope_allow":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":"b610b3a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b610b3a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/d5561c61-75e5-4853-9b79-b73ff81295ca/signaling 200 10ms","method":"POST","requestID":"b610b3a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/d5561c61-75e5-4853-9b79-b73ff81295ca/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b612af70-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":253,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8","level":"info","message":"auth send jwt","requestID":"7fd57cc30ab0febdae810190c4c8899a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"7fd57cc30ab0febdae810190c4c8899a","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5aceacd1-149a-4441-9fea-48081221fd60","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"174ffd52-fc8a-4bf0-96e4-ae69a3d36602","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.7394648} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":253,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.423503,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/e828d9f5-28e2-4187-8086-ad603e5bed80","requestID":"7fd57cc30ab0febdae810190c4c8899a"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5aceacd1-149a-4441-9fea-48081221fd60","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b612af70-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5aceacd1-149a-4441-9fea-48081221fd60","object_type":"device","rebac_allow":false,"scope_allow":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":"b612af70-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":254,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":254,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.735553,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b612af70-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/5aceacd1-149a-4441-9fea-48081221fd60/signaling 200 9ms","method":"POST","requestID":"b612af70-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/5aceacd1-149a-4441-9fea-48081221fd60/signaling"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/e828d9f5-28e2-4187-8086-ad603e5bed80","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"7fd57cc30ab0febdae810190c4c8899a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/e828d9f5-28e2-4187-8086-ad603e5bed80","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072501,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7fd57cc30ab0febdae810190c4c8899a","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/e828d9f5-28e2-4187-8086-ad603e5bed80","requestID":"7fd57cc30ab0febdae810190c4c8899a"} experiment-1 | {"level":"info","message":"GET /experiments/e828d9f5-28e2-4187-8086-ad603e5bed80 200 10ms","method":"GET","requestID":"7fd57cc30ab0febdae810190c4c8899a","responseTime":10,"status":200,"url":"/experiments/e828d9f5-28e2-4187-8086-ad603e5bed80"} gateway-1 | {"time_local":"16/Oct/2024:09:55:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/e828d9f5-28e2-4187-8086-ad603e5bed80 HTTP/1.1","status": "200","body_bytes_sent":"889","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7fd57cc30ab0febdae810190c4c8899a"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8","level":"info","message":"auth send jwt","requestID":"b6d48eee118b5150603d1a0c45515603"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b6d48eee118b5150603d1a0c45515603","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/e828d9f5-28e2-4187-8086-ad603e5bed80","requestID":"b6d48eee118b5150603d1a0c45515603"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":255,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":255,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.64262,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/e828d9f5-28e2-4187-8086-ad603e5bed80","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b6d48eee118b5150603d1a0c45515603","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/e828d9f5-28e2-4187-8086-ad603e5bed80","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072501,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b6d48eee118b5150603d1a0c45515603","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e828d9f5-28e2-4187-8086-ad603e5bed80"},"level":"info","message":"Attempting to finish experiment","requestID":"b6d48eee118b5150603d1a0c45515603"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"b6174350-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":256,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":256,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.97349,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/dd813e90-a1a5-4e15-b992-fca6255b84a2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b6174350-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/dd813e90-a1a5-4e15-b992-fca6255b84a2","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072501,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b6174350-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:55:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/e5fa1538-0ac3-4f3b-b5ba-e3b6effc748a?id=09661f09-a2a5-409b-b99e-a643b9509618 HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.147","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"d494070c428c0871d6cec5c9cf266de8"} gateway-1 | {"time_local":"16/Oct/2024:09:55:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/e5fa1538-0ac3-4f3b-b5ba-e3b6effc748a?id=f4e33730-ef7e-458a-8051-9beb5c062af0 HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.147","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"c1c66e9d6fdc5aa2139db1d100d74896"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"09661f09-a2a5-409b-b99e-a643b9509618\" in room \"http://localhost/rooms/e5fa1538-0ac3-4f3b-b5ba-e3b6effc748a\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"09661f09-a2a5-409b-b99e-a643b9509618\" from room \"http://localhost/rooms/e5fa1538-0ac3-4f3b-b5ba-e3b6effc748a\", code: 1006, reason: "} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"f4e33730-ef7e-458a-8051-9beb5c062af0\" in room \"http://localhost/rooms/e5fa1538-0ac3-4f3b-b5ba-e3b6effc748a\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"f4e33730-ef7e-458a-8051-9beb5c062af0\" from room \"http://localhost/rooms/e5fa1538-0ac3-4f3b-b5ba-e3b6effc748a\", code: 1006, reason: "} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/dd813e90-a1a5-4e15-b992-fca6255b84a2' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/dd813e90-a1a5-4e15-b992-fca6255b84a2' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"dd813e90-a1a5-4e15-b992-fca6255b84a2","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0876d6d599c264e0a786d8dd8cbca603","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"0876d6d599c264e0a786d8dd8cbca603","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fdd813e90-a1a5-4e15-b992-fca6255b84a2': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fdd813e90-a1a5-4e15-b992-fca6255b84a2","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"e9590e41-641b-4ac8-a163-6447deda4fb1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.782158} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"63f1dfc4-bae2-4efb-bc81-c4e3cc93dc5f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.7825053} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9aadf29aae9033bd592aacffff88057c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/d5561c61-75e5-4853-9b79-b73ff81295ca"},{"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/5aceacd1-149a-4441-9fea-48081221fd60"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/dd813e90-a1a5-4e15-b992-fca6255b84a2"}}},"level":"info","message":"received a callback","requestID":"0876d6d599c264e0a786d8dd8cbca603"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"9aadf29aae9033bd592aacffff88057c","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"b6174350-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"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":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/d5561c61-75e5-4853-9b79-b73ff81295ca"},{"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/5aceacd1-149a-4441-9fea-48081221fd60"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/dd813e90-a1a5-4e15-b992-fca6255b84a2"}}},"level":"info","message":"received a callback","requestID":"9aadf29aae9033bd592aacffff88057c"} device-1 | {"data":{"peerconnection":"dd813e90-a1a5-4e15-b992-fca6255b84a2","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"b6174350-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/dd813e90-a1a5-4e15-b992-fca6255b84a2 204 37ms","method":"DELETE","requestID":"b6174350-8ba4-11ef-a62f-5f7f958aa687","responseTime":37,"status":204,"url":"/peerconnections/dd813e90-a1a5-4e15-b992-fca6255b84a2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e828d9f5-28e2-4187-8086-ad603e5bed80"},"level":"info","message":"Successfully finished experiment","requestID":"b6d48eee118b5150603d1a0c45515603"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b61f59a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":257,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd5561c61-75e5-4853-9b79-b73ff81295ca","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cbd669ad-887d-493c-90f1-a3cb26c14018","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.8236585} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":257,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.176846,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d5561c61-75e5-4853-9b79-b73ff81295ca","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b61f59a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d5561c61-75e5-4853-9b79-b73ff81295ca","object_type":"device","rebac_allow":false,"scope_allow":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":"b61f59a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b61f59a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/d5561c61-75e5-4853-9b79-b73ff81295ca/signaling 200 10ms","method":"POST","requestID":"b61f59a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/d5561c61-75e5-4853-9b79-b73ff81295ca/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe828d9f5-28e2-4187-8086-ad603e5bed80': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe828d9f5-28e2-4187-8086-ad603e5bed80","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"12289700-0d1d-42ff-a3ba-6aba2b5ac53b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.8298905} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b6212e60-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1a870069-54e5-4f49-bb48-47b9093267fd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.8302486} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"b6d48eee118b5150603d1a0c45515603","responseTime":14,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":258,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5aceacd1-149a-4441-9fea-48081221fd60","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7941930d-5097-44e6-b1f4-9d7b966f1e9f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.8351388} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":258,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.647329,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5aceacd1-149a-4441-9fea-48081221fd60","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b6212e60-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5aceacd1-149a-4441-9fea-48081221fd60","object_type":"device","rebac_allow":false,"scope_allow":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":"b6212e60-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b6212e60-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/5aceacd1-149a-4441-9fea-48081221fd60/signaling 200 10ms","method":"POST","requestID":"b6212e60-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/5aceacd1-149a-4441-9fea-48081221fd60/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/e828d9f5-28e2-4187-8086-ad603e5bed80","requestID":"b6d48eee118b5150603d1a0c45515603"} gateway-1 | {"time_local":"16/Oct/2024:09:55:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/e828d9f5-28e2-4187-8086-ad603e5bed80 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.144","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b6d48eee118b5150603d1a0c45515603"} experiment-1 | {"level":"info","message":"DELETE /experiments/e828d9f5-28e2-4187-8086-ad603e5bed80 204 141ms","method":"DELETE","requestID":"b6d48eee118b5150603d1a0c45515603","responseTime":141,"status":204,"url":"/experiments/e828d9f5-28e2-4187-8086-ad603e5bed80"} gateway-1 | {"time_local":"16/Oct/2024:09:55:01 +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.640","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"c95249d47d246ccbd79a7167342204c2"} gateway-1 | {"time_local":"16/Oct/2024:09:55:01 +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.629","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"165097991304bb5fcd21a1fee98cc31f"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 116ms","method":"POST","requestID":"0876d6d599c264e0a786d8dd8cbca603","responseTime":116,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.119","http_referrer":"","http_user_agent":"node-fetch","requestID":"0876d6d599c264e0a786d8dd8cbca603"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 116ms","method":"POST","requestID":"9aadf29aae9033bd592aacffff88057c","responseTime":116,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.120","http_referrer":"","http_user_agent":"node-fetch","requestID":"9aadf29aae9033bd592aacffff88057c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8","level":"info","message":"auth send jwt","requestID":"ef5411565a922186a618d7ed9a722eb4"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ef5411565a922186a618d7ed9a722eb4","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/5aceacd1-149a-4441-9fea-48081221fd60' closed"} device-1 | {"level":"info","message":"postDevices called","requestID":"ef5411565a922186a618d7ed9a722eb4"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":259,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":259,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.901015,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ef5411565a922186a618d7ed9a722eb4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072501,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ef5411565a922186a618d7ed9a722eb4","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/d5561c61-75e5-4853-9b79-b73ff81295ca' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99c4da4e-009b-4c6c-be13-29be3167f0e5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"3aba4949-e4c2-4823-939d-46c5437c29ce","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.9289153} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ef5411565a922186a618d7ed9a722eb4","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"22318019-7ea0-4467-8164-fd5a5c9d7dcc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.9360564} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"ef5411565a922186a618d7ed9a722eb4","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99c4da4e-009b-4c6c-be13-29be3167f0e5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"aea80baa-16aa-4e98-8325-880691f782a6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.9465156} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b9bf1d71-3c31-4923-809e-ad04633fa66b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.946749} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"ef5411565a922186a618d7ed9a722eb4","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99c4da4e-009b-4c6c-be13-29be3167f0e5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99c4da4e-009b-4c6c-be13-29be3167f0e5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:01.946500979Z"}]},"request_id":"868494ec-3f54-49ea-a50f-10f4de4164a3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.9523532} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ef5411565a922186a618d7ed9a722eb4","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"ef5411565a922186a618d7ed9a722eb4"} gateway-1 | {"time_local":"16/Oct/2024:09:55:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.057","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ef5411565a922186a618d7ed9a722eb4"} device-1 | {"level":"info","message":"POST /devices? 201 50ms","method":"POST","requestID":"ef5411565a922186a618d7ed9a722eb4","responseTime":50,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8","level":"info","message":"auth send jwt","requestID":"53c983e78643c7d67ebf13c8cb1976f2"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"53c983e78643c7d67ebf13c8cb1976f2","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"53c983e78643c7d67ebf13c8cb1976f2"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":260,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":260,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.764051,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:01Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"53c983e78643c7d67ebf13c8cb1976f2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072501,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMX0.SL5SJhU_7nbKdVivZ_GfbdvohmDBolLM4xwyE4-GTj8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"53c983e78643c7d67ebf13c8cb1976f2","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdb6760f0-34c1-4a81-b9b7-81377cee3a34","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"22468bfd-7905-4576-b1f1-bc32fd5cac06","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.9790397} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"53c983e78643c7d67ebf13c8cb1976f2","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"204024ae-eaa6-40d2-a436-348632ef1120","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072501.9849207} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"53c983e78643c7d67ebf13c8cb1976f2","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdb6760f0-34c1-4a81-b9b7-81377cee3a34","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"04676f01-fd8e-472e-8e90-2c2271cba189","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.0025148} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2385681a-46c5-42ed-a0e0-4183feb711d7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.0027037} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"53c983e78643c7d67ebf13c8cb1976f2","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdb6760f0-34c1-4a81-b9b7-81377cee3a34","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdb6760f0-34c1-4a81-b9b7-81377cee3a34","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:02.002496961Z"}]},"request_id":"5f4299aa-0d19-4211-85ef-b6faa40d3e4b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.0082479} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"53c983e78643c7d67ebf13c8cb1976f2","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"53c983e78643c7d67ebf13c8cb1976f2"} device-1 | {"level":"info","message":"POST /devices? 201 49ms","method":"POST","requestID":"53c983e78643c7d67ebf13c8cb1976f2","responseTime":49,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.054","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"53c983e78643c7d67ebf13c8cb1976f2"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY","level":"info","message":"auth send jwt","requestID":"6299b1fac0a8d7d355c41ed2594504fa"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"6299b1fac0a8d7d355c41ed2594504fa","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"6299b1fac0a8d7d355c41ed2594504fa"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":261,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":261,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.826765,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"6299b1fac0a8d7d355c41ed2594504fa","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6299b1fac0a8d7d355c41ed2594504fa","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57217af0-1806-4937-917b-9ebebebc7a8d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ac47f12a-9117-4ab5-bf57-6b7c29e3aa87","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.0363216} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"6299b1fac0a8d7d355c41ed2594504fa","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0c4fce1e-46f2-463f-8295-39814f7ee1b6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.0423875} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"6299b1fac0a8d7d355c41ed2594504fa","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57217af0-1806-4937-917b-9ebebebc7a8d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"630200a0-2de4-4de7-8feb-1b6187f93b8b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.0566418} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3147322a-8ff3-48a6-92c3-7b3159693005","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.0567174} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"6299b1fac0a8d7d355c41ed2594504fa","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57217af0-1806-4937-917b-9ebebebc7a8d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57217af0-1806-4937-917b-9ebebebc7a8d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:02.056609879Z"}]},"request_id":"76ba72b1-998a-40cc-88da-0569a60b02b8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.0624914} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6299b1fac0a8d7d355c41ed2594504fa","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"6299b1fac0a8d7d355c41ed2594504fa"} gateway-1 | {"time_local":"16/Oct/2024:09:55:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.053","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6299b1fac0a8d7d355c41ed2594504fa"} device-1 | {"level":"info","message":"POST /devices? 201 49ms","method":"POST","requestID":"6299b1fac0a8d7d355c41ed2594504fa","responseTime":49,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY","level":"info","message":"auth send jwt","requestID":"a42bb841c281e6e026efca6d20203d68"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a42bb841c281e6e026efca6d20203d68","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"a42bb841c281e6e026efca6d20203d68"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":262,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":262,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.684554,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a42bb841c281e6e026efca6d20203d68","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a42bb841c281e6e026efca6d20203d68","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa71aa625-e9d0-4b6a-b793-11a349f4ab71","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"6d26dccf-c1ce-4d3e-b1aa-550daa9023fa","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.0913923} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a42bb841c281e6e026efca6d20203d68","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4f7b4ab7-f261-4faf-b01f-29093d3b3e39","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.0960135} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"a42bb841c281e6e026efca6d20203d68","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa71aa625-e9d0-4b6a-b793-11a349f4ab71","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"214e5481-ea76-4aee-b4b5-0a56ad252f76","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.1124122} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"42e71b98-913c-46c1-b2fb-1c8b7661774c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.1124818} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"a42bb841c281e6e026efca6d20203d68","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa71aa625-e9d0-4b6a-b793-11a349f4ab71","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa71aa625-e9d0-4b6a-b793-11a349f4ab71","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:02.112394451Z"}]},"request_id":"07af3845-e876-4e1d-9c6b-b1c4bbaaf997","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.1168349} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"a42bb841c281e6e026efca6d20203d68","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"a42bb841c281e6e026efca6d20203d68"} gateway-1 | {"time_local":"16/Oct/2024:09:55:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.053","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a42bb841c281e6e026efca6d20203d68"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"a42bb841c281e6e026efca6d20203d68","responseTime":47,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY","level":"info","message":"auth send jwt","requestID":"e8ff37cfdefa02dc9dbafa2836aefe64"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"e8ff37cfdefa02dc9dbafa2836aefe64","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"e8ff37cfdefa02dc9dbafa2836aefe64"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":263,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":263,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.685731,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e8ff37cfdefa02dc9dbafa2836aefe64","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e8ff37cfdefa02dc9dbafa2836aefe64","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3aa11129-140a-479f-b5b6-79e17254b14c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"4b9ce030-d616-478e-bde8-76a251345be9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.1475272} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"e8ff37cfdefa02dc9dbafa2836aefe64","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1d83df50-9219-4489-baf5-6dccca51fc10","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.1548748} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"e8ff37cfdefa02dc9dbafa2836aefe64","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3aa11129-140a-479f-b5b6-79e17254b14c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"424814cf-7ade-4192-a526-0bcf020b04a3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.1676576} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"73cee96a-af30-4d65-8d69-c971dd0ebc80","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.1680555} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"e8ff37cfdefa02dc9dbafa2836aefe64","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3aa11129-140a-479f-b5b6-79e17254b14c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3aa11129-140a-479f-b5b6-79e17254b14c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:02.167630019Z"}]},"request_id":"1bd157d7-3afe-4eeb-9238-f69e389bee2d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.1750064} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e8ff37cfdefa02dc9dbafa2836aefe64","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"e8ff37cfdefa02dc9dbafa2836aefe64"} device-1 | {"level":"info","message":"POST /devices? 201 54ms","method":"POST","requestID":"e8ff37cfdefa02dc9dbafa2836aefe64","responseTime":54,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:02 +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":"e8ff37cfdefa02dc9dbafa2836aefe64"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY","level":"info","message":"auth send jwt","requestID":"7fa9803704cb797ac5d09a86b029307f"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"7fa9803704cb797ac5d09a86b029307f","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"7fa9803704cb797ac5d09a86b029307f"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":264,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":264,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.308471,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"7fa9803704cb797ac5d09a86b029307f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7fa9803704cb797ac5d09a86b029307f","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99f88d98-8cb0-4b4d-a500-b4d674b31f4d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"7edb6ff3-29ae-4bcc-8fab-ed863f1a5a97","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.2090127} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"7fa9803704cb797ac5d09a86b029307f","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b93064ae-e818-43d8-b761-1b42171d1a35","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.216427} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"7fa9803704cb797ac5d09a86b029307f","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99f88d98-8cb0-4b4d-a500-b4d674b31f4d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"d5bcc43f-cc62-4c4f-98ef-8728e9c8c2a6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.2352533} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f5bafd67-4b8b-4e78-8612-bf0de45cb342","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.235346} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"7fa9803704cb797ac5d09a86b029307f","responseTime":23,"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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99f88d98-8cb0-4b4d-a500-b4d674b31f4d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99f88d98-8cb0-4b4d-a500-b4d674b31f4d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:02.235235496Z"}]},"request_id":"a7d850c2-7c85-4dd2-9de0-7a92c99e9f93","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.2426364} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"7fa9803704cb797ac5d09a86b029307f","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"7fa9803704cb797ac5d09a86b029307f"} device-1 | {"level":"info","message":"POST /devices? 201 61ms","method":"POST","requestID":"7fa9803704cb797ac5d09a86b029307f","responseTime":61,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.067","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7fa9803704cb797ac5d09a86b029307f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY","level":"info","message":"auth send jwt","requestID":"5b614710187efaf2484eb0db8d655c58"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"5b614710187efaf2484eb0db8d655c58","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"5b614710187efaf2484eb0db8d655c58"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":265,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":265,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.567437,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"5b614710187efaf2484eb0db8d655c58","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"5b614710187efaf2484eb0db8d655c58","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd740539f-1327-4a96-8bfe-84dc09ca9ab1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"99a7c6dc-dd7f-462e-bb48-3d908abb25e0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.283553} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"5b614710187efaf2484eb0db8d655c58","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"59d8ee33-364c-4010-82be-307aa8df16ce","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.2910051} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"5b614710187efaf2484eb0db8d655c58","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd740539f-1327-4a96-8bfe-84dc09ca9ab1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"b655b7ca-1856-46c9-856b-9d3c87a337ee","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.3051863} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7a3a1445-deeb-4dc0-bbd5-4be428514731","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.3052523} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"5b614710187efaf2484eb0db8d655c58","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd740539f-1327-4a96-8bfe-84dc09ca9ab1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd740539f-1327-4a96-8bfe-84dc09ca9ab1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:02.305151612Z"}]},"request_id":"b783eca6-6d43-483c-b38b-2a7209fa8bbe","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.3125558} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"5b614710187efaf2484eb0db8d655c58","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"5b614710187efaf2484eb0db8d655c58"} gateway-1 | {"time_local":"16/Oct/2024:09:55:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.068","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5b614710187efaf2484eb0db8d655c58"} device-1 | {"level":"info","message":"POST /devices? 201 61ms","method":"POST","requestID":"5b614710187efaf2484eb0db8d655c58","responseTime":61,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY","level":"info","message":"auth send jwt","requestID":"71cc821942e30158e83873964b8489bd"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"71cc821942e30158e83873964b8489bd","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"71cc821942e30158e83873964b8489bd"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":266,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":266,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.096248,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"71cc821942e30158e83873964b8489bd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"71cc821942e30158e83873964b8489bd","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5f58036-b09f-4a52-bd74-4db94bd167c8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"24563206-0b49-4853-9d29-0c24cce0e058","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.3494463} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"71cc821942e30158e83873964b8489bd","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d2465656-b746-4009-9891-fdc32e122bd8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.3568652} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"71cc821942e30158e83873964b8489bd","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5f58036-b09f-4a52-bd74-4db94bd167c8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"33b549ba-dc99-411c-9db8-14c2844598c8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.3749983} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7db9a7fa-9c0a-4621-87e3-3c619f135b92","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.3756385} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"71cc821942e30158e83873964b8489bd","responseTime":21,"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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5f58036-b09f-4a52-bd74-4db94bd167c8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5f58036-b09f-4a52-bd74-4db94bd167c8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:02.374973487Z"}]},"request_id":"d2c99af1-f6ea-429e-b3eb-daa0de949582","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.3822331} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"71cc821942e30158e83873964b8489bd","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"71cc821942e30158e83873964b8489bd"} gateway-1 | {"time_local":"16/Oct/2024:09:55:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.067","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"71cc821942e30158e83873964b8489bd"} device-1 | {"level":"info","message":"POST /devices? 201 60ms","method":"POST","requestID":"71cc821942e30158e83873964b8489bd","responseTime":60,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY","level":"info","message":"auth send jwt","requestID":"145884e768a71f6f2311bbae243f8764"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"145884e768a71f6f2311bbae243f8764","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"145884e768a71f6f2311bbae243f8764"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":267,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":267,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.226488,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"145884e768a71f6f2311bbae243f8764","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"145884e768a71f6f2311bbae243f8764","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3fc5fcad-d0d6-4438-b3d6-5899538fcea1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"27ab66bf-6869-432b-8739-e9280cbfabd8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.4187028} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"145884e768a71f6f2311bbae243f8764","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a207bca7-5b21-44d4-bcb4-ce940a9203ab","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.426419} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"145884e768a71f6f2311bbae243f8764","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3fc5fcad-d0d6-4438-b3d6-5899538fcea1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"05f6e503-7c4f-441c-ba00-47136c548282","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.439979} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"65e8118f-8256-492d-b3d0-b8463ba61895","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.4404924} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"145884e768a71f6f2311bbae243f8764","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3fc5fcad-d0d6-4438-b3d6-5899538fcea1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3fc5fcad-d0d6-4438-b3d6-5899538fcea1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:02.439940953Z"}]},"request_id":"649d2ee7-8b48-4a78-a191-b6de023f3ff7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.4471648} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"145884e768a71f6f2311bbae243f8764","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"145884e768a71f6f2311bbae243f8764"} gateway-1 | {"time_local":"16/Oct/2024:09:55:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.063","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"145884e768a71f6f2311bbae243f8764"} device-1 | {"level":"info","message":"POST /devices? 201 56ms","method":"POST","requestID":"145884e768a71f6f2311bbae243f8764","responseTime":56,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY","level":"info","message":"auth send jwt","requestID":"641529a3318c1bdf853fc55da0500e62"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"641529a3318c1bdf853fc55da0500e62","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"641529a3318c1bdf853fc55da0500e62"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":268,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":268,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.3914,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"641529a3318c1bdf853fc55da0500e62","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"641529a3318c1bdf853fc55da0500e62","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fbd5947a0-fdc4-4720-97b8-b08a32e37a83","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"479938e9-7b0c-4107-8caa-b3fab1181c67","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.4813402} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"641529a3318c1bdf853fc55da0500e62","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"31ab1b9b-a8f1-4c80-b6c2-941c44a3406d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.488741} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"641529a3318c1bdf853fc55da0500e62","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fbd5947a0-fdc4-4720-97b8-b08a32e37a83","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"556e6cbf-68bc-45ff-b68c-b225c79244fb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.5062048} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fa9c8356-38fa-4268-8bcf-601872ecdee3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.5063465} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"641529a3318c1bdf853fc55da0500e62","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fbd5947a0-fdc4-4720-97b8-b08a32e37a83","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fbd5947a0-fdc4-4720-97b8-b08a32e37a83","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:02.506190685Z"}]},"request_id":"d54b7ae2-ebfd-4d10-9f80-e897804f8659","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.511414} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"641529a3318c1bdf853fc55da0500e62","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"641529a3318c1bdf853fc55da0500e62"} gateway-1 | {"time_local":"16/Oct/2024:09:55:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"278","request_time":"0.062","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"641529a3318c1bdf853fc55da0500e62"} device-1 | {"level":"info","message":"POST /devices? 201 55ms","method":"POST","requestID":"641529a3318c1bdf853fc55da0500e62","responseTime":55,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY","level":"info","message":"auth send jwt","requestID":"5e80c7f6cfb8c1358ae2e8f4123ca770"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"5e80c7f6cfb8c1358ae2e8f4123ca770","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"5e80c7f6cfb8c1358ae2e8f4123ca770"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":269,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":269,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.24214,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"5e80c7f6cfb8c1358ae2e8f4123ca770","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5e80c7f6cfb8c1358ae2e8f4123ca770","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8fbc1a22-07c7-4ee0-9eb8-b6cfba9ff3c8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"663c0f62-b995-4b38-a476-3b28fe71aef9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.549957} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"5e80c7f6cfb8c1358ae2e8f4123ca770","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"744ed5c9-dfeb-4e2d-bd83-26ad635e05ff","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.5575871} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"5e80c7f6cfb8c1358ae2e8f4123ca770","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8fbc1a22-07c7-4ee0-9eb8-b6cfba9ff3c8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"d40c8d13-1a4a-4325-8119-0b7632e0eafd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.571517} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6ed567ea-8321-47c4-95a3-6fc28adefdf7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.5716574} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"5e80c7f6cfb8c1358ae2e8f4123ca770","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8fbc1a22-07c7-4ee0-9eb8-b6cfba9ff3c8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8fbc1a22-07c7-4ee0-9eb8-b6cfba9ff3c8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:02.571491428Z"}]},"request_id":"b79a0877-bb37-4495-8021-96caad138809","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.5767913} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"5e80c7f6cfb8c1358ae2e8f4123ca770","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"5e80c7f6cfb8c1358ae2e8f4123ca770"} device-1 | {"level":"info","message":"POST /devices? 201 57ms","method":"POST","requestID":"5e80c7f6cfb8c1358ae2e8f4123ca770","responseTime":57,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"1069","request_time":"0.063","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5e80c7f6cfb8c1358ae2e8f4123ca770"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY","level":"info","message":"auth send jwt","requestID":"33a373f5b6684c4929d3c2a987152fe2"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"33a373f5b6684c4929d3c2a987152fe2","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"33a373f5b6684c4929d3c2a987152fe2"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":270,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":270,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.297546,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"33a373f5b6684c4929d3c2a987152fe2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"33a373f5b6684c4929d3c2a987152fe2","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc68257fb-cd7f-440e-8ab3-e0d8b8ddfb7a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"9ee0bf55-49ad-43fc-84b7-1e6a2141efbc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.6145391} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"33a373f5b6684c4929d3c2a987152fe2","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5974d3ab-a402-49d9-a518-2db2dbd6efc2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.6226156} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"33a373f5b6684c4929d3c2a987152fe2","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc68257fb-cd7f-440e-8ab3-e0d8b8ddfb7a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"d662ce0e-470a-44c7-9d20-4eac724bdc86","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.6411445} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fc789329-343b-41d9-b89f-b5d70ab6ac41","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.6415665} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"33a373f5b6684c4929d3c2a987152fe2","responseTime":23,"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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc68257fb-cd7f-440e-8ab3-e0d8b8ddfb7a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc68257fb-cd7f-440e-8ab3-e0d8b8ddfb7a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:02.641106350Z"}]},"request_id":"ce40f222-1e55-4be9-aa6b-af2972086cff","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.6492076} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"33a373f5b6684c4929d3c2a987152fe2","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"33a373f5b6684c4929d3c2a987152fe2"} gateway-1 | {"time_local":"16/Oct/2024:09:55:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"1347","request_time":"0.070","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"33a373f5b6684c4929d3c2a987152fe2"} device-1 | {"level":"info","message":"POST /devices? 201 64ms","method":"POST","requestID":"33a373f5b6684c4929d3c2a987152fe2","responseTime":64,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY","level":"info","message":"auth send jwt","requestID":"582dfcee7ec778cea6e246beeda6cf04"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"582dfcee7ec778cea6e246beeda6cf04","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"582dfcee7ec778cea6e246beeda6cf04"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":271,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":271,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.344119,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"582dfcee7ec778cea6e246beeda6cf04","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"582dfcee7ec778cea6e246beeda6cf04","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F35f9f93e-5fae-4fcb-8813-18be768b675e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"8b0c05ec-cd1e-4977-8838-67d91013b8af","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.685875} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"582dfcee7ec778cea6e246beeda6cf04","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"816b7a22-bea5-4eea-9d60-efab5e280898","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.6932342} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"582dfcee7ec778cea6e246beeda6cf04","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F35f9f93e-5fae-4fcb-8813-18be768b675e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"24720626-3ec2-400d-8a5b-96ad0a060c68","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.7071571} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"88a0bcfd-e674-4b61-922d-5bfab6588fd9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.7072945} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"582dfcee7ec778cea6e246beeda6cf04","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F35f9f93e-5fae-4fcb-8813-18be768b675e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F35f9f93e-5fae-4fcb-8813-18be768b675e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:02.707121180Z"}]},"request_id":"79b5fb31-f66d-40e6-bd8e-257651b68d6e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.7145736} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"582dfcee7ec778cea6e246beeda6cf04","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"582dfcee7ec778cea6e246beeda6cf04"} gateway-1 | {"time_local":"16/Oct/2024:09:55:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"1070","request_time":"0.062","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"582dfcee7ec778cea6e246beeda6cf04"} device-1 | {"level":"info","message":"POST /devices? 201 57ms","method":"POST","requestID":"582dfcee7ec778cea6e246beeda6cf04","responseTime":57,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY","level":"info","message":"auth send jwt","requestID":"77d8aa7f440eff9e984356e436f4b858"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"77d8aa7f440eff9e984356e436f4b858","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"77d8aa7f440eff9e984356e436f4b858"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":272,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":272,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.291533,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/8fbc1a22-07c7-4ee0-9eb8-b6cfba9ff3c8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"77d8aa7f440eff9e984356e436f4b858","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/8fbc1a22-07c7-4ee0-9eb8-b6cfba9ff3c8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"77d8aa7f440eff9e984356e436f4b858","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8fbc1a22-07c7-4ee0-9eb8-b6cfba9ff3c8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8fbc1a22-07c7-4ee0-9eb8-b6cfba9ff3c8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:02.571491428Z"}]},"request_id":"3811bb2f-6de8-4bc6-b510-d258c70aece1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.7458322} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"77d8aa7f440eff9e984356e436f4b858","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"056543d3-497a-431b-b353-ae7747fa55f8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.753677} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"77d8aa7f440eff9e984356e436f4b858","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8fbc1a22-07c7-4ee0-9eb8-b6cfba9ff3c8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8fbc1a22-07c7-4ee0-9eb8-b6cfba9ff3c8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:02.571491428Z"}]},"request_id":"8af054bc-008e-4c92-884b-0cd9972aec52","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.7678344} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"77d8aa7f440eff9e984356e436f4b858","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"77d8aa7f440eff9e984356e436f4b858"} device-1 | {"level":"info","message":"PATCH /devices/8fbc1a22-07c7-4ee0-9eb8-b6cfba9ff3c8? 200 41ms","method":"PATCH","requestID":"77d8aa7f440eff9e984356e436f4b858","responseTime":41,"status":200,"url":"/devices/8fbc1a22-07c7-4ee0-9eb8-b6cfba9ff3c8?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/8fbc1a22-07c7-4ee0-9eb8-b6cfba9ff3c8? HTTP/1.1","status": "200","body_bytes_sent":"1141","request_time":"0.047","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"77d8aa7f440eff9e984356e436f4b858"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY","level":"info","message":"auth send jwt","requestID":"9e604d2676ba3c36f24512d9d5ecb4b0"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"9e604d2676ba3c36f24512d9d5ecb4b0","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"9e604d2676ba3c36f24512d9d5ecb4b0"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":273,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":273,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.176484,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c68257fb-cd7f-440e-8ab3-e0d8b8ddfb7a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"9e604d2676ba3c36f24512d9d5ecb4b0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c68257fb-cd7f-440e-8ab3-e0d8b8ddfb7a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"9e604d2676ba3c36f24512d9d5ecb4b0","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc68257fb-cd7f-440e-8ab3-e0d8b8ddfb7a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc68257fb-cd7f-440e-8ab3-e0d8b8ddfb7a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:02.641106350Z"}]},"request_id":"e91437b6-4ed8-48e4-958d-b225065fdeb9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.7964113} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"9e604d2676ba3c36f24512d9d5ecb4b0","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"544229bf-6b95-4a3c-b4dd-17337daec3b5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.8063643} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"9e604d2676ba3c36f24512d9d5ecb4b0","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc68257fb-cd7f-440e-8ab3-e0d8b8ddfb7a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc68257fb-cd7f-440e-8ab3-e0d8b8ddfb7a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:02.641106350Z"}]},"request_id":"657baf22-25a1-4249-bf7d-a26deb1005f1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.818027} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9e604d2676ba3c36f24512d9d5ecb4b0","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"9e604d2676ba3c36f24512d9d5ecb4b0"} gateway-1 | {"time_local":"16/Oct/2024:09:55:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/c68257fb-cd7f-440e-8ab3-e0d8b8ddfb7a? HTTP/1.1","status": "200","body_bytes_sent":"1491","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9e604d2676ba3c36f24512d9d5ecb4b0"} device-1 | {"level":"info","message":"PATCH /devices/c68257fb-cd7f-440e-8ab3-e0d8b8ddfb7a? 200 40ms","method":"PATCH","requestID":"9e604d2676ba3c36f24512d9d5ecb4b0","responseTime":40,"status":200,"url":"/devices/c68257fb-cd7f-440e-8ab3-e0d8b8ddfb7a?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY","level":"info","message":"auth send jwt","requestID":"505f247bd1b75e6eb71428b215568967"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"505f247bd1b75e6eb71428b215568967","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"505f247bd1b75e6eb71428b215568967"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":274,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":274,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.158188,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/35f9f93e-5fae-4fcb-8813-18be768b675e","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"505f247bd1b75e6eb71428b215568967","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/35f9f93e-5fae-4fcb-8813-18be768b675e","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"505f247bd1b75e6eb71428b215568967","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F35f9f93e-5fae-4fcb-8813-18be768b675e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F35f9f93e-5fae-4fcb-8813-18be768b675e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:02.707121180Z"}]},"request_id":"841174aa-5245-436c-ae18-a9eff095de0a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.8458478} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"505f247bd1b75e6eb71428b215568967","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"18104655-fae8-4558-95b5-ef58a3457a9e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.8544574} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"505f247bd1b75e6eb71428b215568967","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F35f9f93e-5fae-4fcb-8813-18be768b675e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F35f9f93e-5fae-4fcb-8813-18be768b675e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:02.707121180Z"}]},"request_id":"cfd10191-6b51-4813-8029-ec81112e62c1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.865504} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"505f247bd1b75e6eb71428b215568967","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"505f247bd1b75e6eb71428b215568967"} gateway-1 | {"time_local":"16/Oct/2024:09:55:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/35f9f93e-5fae-4fcb-8813-18be768b675e? 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":"505f247bd1b75e6eb71428b215568967"} device-1 | {"level":"info","message":"PATCH /devices/35f9f93e-5fae-4fcb-8813-18be768b675e? 200 39ms","method":"PATCH","requestID":"505f247bd1b75e6eb71428b215568967","responseTime":39,"status":200,"url":"/devices/35f9f93e-5fae-4fcb-8813-18be768b675e?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY","level":"info","message":"auth send jwt","requestID":"29cc5d506db7551ca23e47860952c7ab"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"29cc5d506db7551ca23e47860952c7ab","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"29cc5d506db7551ca23e47860952c7ab"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":275,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":275,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.308556,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8fbc1a22-07c7-4ee0-9eb8-b6cfba9ff3c8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"29cc5d506db7551ca23e47860952c7ab","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/8fbc1a22-07c7-4ee0-9eb8-b6cfba9ff3c8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"29cc5d506db7551ca23e47860952c7ab","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8fbc1a22-07c7-4ee0-9eb8-b6cfba9ff3c8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8fbc1a22-07c7-4ee0-9eb8-b6cfba9ff3c8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:02.571491428Z"}]},"request_id":"b6da8fbf-239c-4ac4-87d1-a0af2c30d53e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.8910642} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"29cc5d506db7551ca23e47860952c7ab","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":276,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":276,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.147848,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":277,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":277,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.21791,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:59288","level":"info","msg":"Received request.","req_id":278,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:59288","level":"info","msg":"Sent response.","req_id":278,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.160667,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/99c4da4e-009b-4c6c-be13-29be3167f0e5","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"29cc5d506db7551ca23e47860952c7ab","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/99c4da4e-009b-4c6c-be13-29be3167f0e5","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"29cc5d506db7551ca23e47860952c7ab","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/db6760f0-34c1-4a81-b9b7-81377cee3a34","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"29cc5d506db7551ca23e47860952c7ab","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/db6760f0-34c1-4a81-b9b7-81377cee3a34","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"29cc5d506db7551ca23e47860952c7ab","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/57217af0-1806-4937-917b-9ebebebc7a8d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"29cc5d506db7551ca23e47860952c7ab","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/57217af0-1806-4937-917b-9ebebebc7a8d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"29cc5d506db7551ca23e47860952c7ab","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48782","level":"info","msg":"Received request.","req_id":279,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:48782","level":"info","msg":"Sent response.","req_id":279,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.412456,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c68257fb-cd7f-440e-8ab3-e0d8b8ddfb7a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"29cc5d506db7551ca23e47860952c7ab","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c68257fb-cd7f-440e-8ab3-e0d8b8ddfb7a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 14ms","method":"POST","requestID":"29cc5d506db7551ca23e47860952c7ab","responseTime":14,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"29cc5d506db7551ca23e47860952c7ab"} gateway-1 | {"time_local":"16/Oct/2024:09:55:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/8fbc1a22-07c7-4ee0-9eb8-b6cfba9ff3c8? HTTP/1.1","status": "200","body_bytes_sent":"1141","request_time":"0.049","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"29cc5d506db7551ca23e47860952c7ab"} device-1 | {"level":"info","message":"GET /devices/8fbc1a22-07c7-4ee0-9eb8-b6cfba9ff3c8? 200 43ms","method":"GET","requestID":"29cc5d506db7551ca23e47860952c7ab","responseTime":43,"status":200,"url":"/devices/8fbc1a22-07c7-4ee0-9eb8-b6cfba9ff3c8?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY","level":"info","message":"auth send jwt","requestID":"d5ac229188f76d9bfc6a083cab474d18"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"d5ac229188f76d9bfc6a083cab474d18","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d5ac229188f76d9bfc6a083cab474d18"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":280,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":280,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.270465,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c68257fb-cd7f-440e-8ab3-e0d8b8ddfb7a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d5ac229188f76d9bfc6a083cab474d18","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c68257fb-cd7f-440e-8ab3-e0d8b8ddfb7a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d5ac229188f76d9bfc6a083cab474d18","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc68257fb-cd7f-440e-8ab3-e0d8b8ddfb7a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc68257fb-cd7f-440e-8ab3-e0d8b8ddfb7a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:02.641106350Z"}]},"request_id":"3e8505d8-e1fe-40ca-bb72-686b748a9af2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072502.9416683} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"d5ac229188f76d9bfc6a083cab474d18","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":281,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":281,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.109017,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":282,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":282,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.119594,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:59288","level":"info","msg":"Received request.","req_id":283,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:48782","level":"info","msg":"Received request.","req_id":284,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:59288","level":"info","msg":"Sent response.","req_id":283,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.442028,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a71aa625-e9d0-4b6a-b793-11a349f4ab71","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d5ac229188f76d9bfc6a083cab474d18","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a71aa625-e9d0-4b6a-b793-11a349f4ab71","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"d5ac229188f76d9bfc6a083cab474d18","responseTime":12,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3aa11129-140a-479f-b5b6-79e17254b14c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d5ac229188f76d9bfc6a083cab474d18","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/3aa11129-140a-479f-b5b6-79e17254b14c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"d5ac229188f76d9bfc6a083cab474d18","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48782","level":"info","msg":"Sent response.","req_id":284,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.874011,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/99f88d98-8cb0-4b4d-a500-b4d674b31f4d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d5ac229188f76d9bfc6a083cab474d18","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/99f88d98-8cb0-4b4d-a500-b4d674b31f4d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 14ms","method":"POST","requestID":"d5ac229188f76d9bfc6a083cab474d18","responseTime":14,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d740539f-1327-4a96-8bfe-84dc09ca9ab1","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d5ac229188f76d9bfc6a083cab474d18","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/d740539f-1327-4a96-8bfe-84dc09ca9ab1","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 14ms","method":"POST","requestID":"d5ac229188f76d9bfc6a083cab474d18","responseTime":14,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":285,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:48784","level":"info","msg":"Received request.","req_id":286,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":285,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.502172,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/35f9f93e-5fae-4fcb-8813-18be768b675e","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d5ac229188f76d9bfc6a083cab474d18","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/35f9f93e-5fae-4fcb-8813-18be768b675e","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d5ac229188f76d9bfc6a083cab474d18","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48784","level":"info","msg":"Sent response.","req_id":286,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.31788,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8fbc1a22-07c7-4ee0-9eb8-b6cfba9ff3c8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d5ac229188f76d9bfc6a083cab474d18","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/8fbc1a22-07c7-4ee0-9eb8-b6cfba9ff3c8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 15ms","method":"POST","requestID":"d5ac229188f76d9bfc6a083cab474d18","responseTime":15,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d5ac229188f76d9bfc6a083cab474d18"} device-1 | {"level":"info","message":"GET /devices/c68257fb-cd7f-440e-8ab3-e0d8b8ddfb7a? 200 56ms","method":"GET","requestID":"d5ac229188f76d9bfc6a083cab474d18","responseTime":56,"status":200,"url":"/devices/c68257fb-cd7f-440e-8ab3-e0d8b8ddfb7a?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c68257fb-cd7f-440e-8ab3-e0d8b8ddfb7a? HTTP/1.1","status": "200","body_bytes_sent":"1491","request_time":"0.061","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d5ac229188f76d9bfc6a083cab474d18"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY","level":"info","message":"auth send jwt","requestID":"b881de6714b66dcc60b012919834ac0f"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"b881de6714b66dcc60b012919834ac0f","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b881de6714b66dcc60b012919834ac0f"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":287,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":287,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.153365,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:02Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/35f9f93e-5fae-4fcb-8813-18be768b675e","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b881de6714b66dcc60b012919834ac0f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/35f9f93e-5fae-4fcb-8813-18be768b675e","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b881de6714b66dcc60b012919834ac0f","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F35f9f93e-5fae-4fcb-8813-18be768b675e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F35f9f93e-5fae-4fcb-8813-18be768b675e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:02.707121180Z"}]},"request_id":"f04575cd-7b0d-4f4f-a0ca-85cdeb340301","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072503.0048938} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b881de6714b66dcc60b012919834ac0f","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":288,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:03Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":288,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.138759,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:03Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":289,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:03Z"} authorization-1 | {"client_addr":"127.0.0.1:59288","level":"info","msg":"Received request.","req_id":290,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:03Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":289,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.748629,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:03Z"} authorization-1 | {"client_addr":"127.0.0.1:59288","level":"info","msg":"Sent response.","req_id":290,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.860876,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:03Z"} authorization-1 | {"client_addr":"127.0.0.1:48782","level":"info","msg":"Received request.","req_id":291,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:03Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e5f58036-b09f-4a52-bd74-4db94bd167c8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b881de6714b66dcc60b012919834ac0f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/e5f58036-b09f-4a52-bd74-4db94bd167c8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"b881de6714b66dcc60b012919834ac0f","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3fc5fcad-d0d6-4438-b3d6-5899538fcea1","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b881de6714b66dcc60b012919834ac0f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/3fc5fcad-d0d6-4438-b3d6-5899538fcea1","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"b881de6714b66dcc60b012919834ac0f","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/bd5947a0-fdc4-4720-97b8-b08a32e37a83","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b881de6714b66dcc60b012919834ac0f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/bd5947a0-fdc4-4720-97b8-b08a32e37a83","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"b881de6714b66dcc60b012919834ac0f","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48782","level":"info","msg":"Sent response.","req_id":291,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.312456,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:03Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8fbc1a22-07c7-4ee0-9eb8-b6cfba9ff3c8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b881de6714b66dcc60b012919834ac0f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/8fbc1a22-07c7-4ee0-9eb8-b6cfba9ff3c8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072502,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwMn0.hM0NYcawQtV7NQuoF5YY3GFP8XLUfRKMOEcallsWPwY"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"b881de6714b66dcc60b012919834ac0f","responseTime":12,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b881de6714b66dcc60b012919834ac0f"} device-1 | {"level":"info","message":"GET /devices/35f9f93e-5fae-4fcb-8813-18be768b675e? 200 41ms","method":"GET","requestID":"b881de6714b66dcc60b012919834ac0f","responseTime":41,"status":200,"url":"/devices/35f9f93e-5fae-4fcb-8813-18be768b675e?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/35f9f93e-5fae-4fcb-8813-18be768b675e? HTTP/1.1","status": "200","body_bytes_sent":"1142","request_time":"0.047","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b881de6714b66dcc60b012919834ac0f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwM30.0WtvpOl_FO_gRwBg5IrmHYBDHl0RyJDOJCkzMpkoEFY","level":"info","message":"auth send jwt","requestID":"b3d421072d8916b248dcbcba9368938c"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"b3d421072d8916b248dcbcba9368938c","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"b3d421072d8916b248dcbcba9368938c"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":292,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:03Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":292,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.194442,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:03Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b3d421072d8916b248dcbcba9368938c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072503,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwM30.0WtvpOl_FO_gRwBg5IrmHYBDHl0RyJDOJCkzMpkoEFY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b3d421072d8916b248dcbcba9368938c","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc866da01-c9bc-467f-8ec5-0643ec8758d4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"86139a4b-cc8b-44eb-91c2-297d004708b5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072503.0655482} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b3d421072d8916b248dcbcba9368938c","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7b257057-958c-4e9a-9cf0-195b2d5cbe8e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072503.0720224} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"b3d421072d8916b248dcbcba9368938c","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc866da01-c9bc-467f-8ec5-0643ec8758d4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"435db044-b914-489e-a146-f0c054ffe029","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072503.084576} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c02c7f72-e013-4c3a-83e5-9205c84a4e7e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072503.0847807} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"b3d421072d8916b248dcbcba9368938c","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc866da01-c9bc-467f-8ec5-0643ec8758d4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc866da01-c9bc-467f-8ec5-0643ec8758d4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:03.084556601Z"}]},"request_id":"08395f45-06a6-4074-8a79-151043685407","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072503.0902197} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b3d421072d8916b248dcbcba9368938c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"b3d421072d8916b248dcbcba9368938c"} gateway-1 | {"time_local":"16/Oct/2024:09:55:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"284","request_time":"0.055","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b3d421072d8916b248dcbcba9368938c"} device-1 | {"level":"info","message":"POST /devices? 201 49ms","method":"POST","requestID":"b3d421072d8916b248dcbcba9368938c","responseTime":49,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwM30.0WtvpOl_FO_gRwBg5IrmHYBDHl0RyJDOJCkzMpkoEFY","level":"info","message":"auth send jwt","requestID":"edef5aa3f8191abbc059670cf80bf009"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"edef5aa3f8191abbc059670cf80bf009","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"edef5aa3f8191abbc059670cf80bf009"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":293,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:03Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":293,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.81187,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:03Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"edef5aa3f8191abbc059670cf80bf009","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072503,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwM30.0WtvpOl_FO_gRwBg5IrmHYBDHl0RyJDOJCkzMpkoEFY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"edef5aa3f8191abbc059670cf80bf009","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa62fe81c-2a4c-45d7-96de-fd73605e4e4b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"3ae76224-bfa5-4290-a8af-731e400ed6d6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072503.1191957} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"edef5aa3f8191abbc059670cf80bf009","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"95039ab9-4f44-4719-9767-e45280832bd9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072503.1246042} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"edef5aa3f8191abbc059670cf80bf009","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa62fe81c-2a4c-45d7-96de-fd73605e4e4b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"bb71103c-9b8e-4b03-a2ca-784ccbc34958","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072503.1343205} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a635116e-919f-467f-931a-feedc5f30d43","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072503.1344526} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"edef5aa3f8191abbc059670cf80bf009","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa62fe81c-2a4c-45d7-96de-fd73605e4e4b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa62fe81c-2a4c-45d7-96de-fd73605e4e4b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:03.134296135Z"}]},"request_id":"695cb157-8ec6-4f4b-a26d-46cf2b5379f3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072503.143745} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"edef5aa3f8191abbc059670cf80bf009","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"edef5aa3f8191abbc059670cf80bf009"} gateway-1 | {"time_local":"16/Oct/2024:09:55:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"706","request_time":"0.053","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"edef5aa3f8191abbc059670cf80bf009"} device-1 | {"level":"info","message":"POST /devices? 201 48ms","method":"POST","requestID":"edef5aa3f8191abbc059670cf80bf009","responseTime":48,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwM30.0WtvpOl_FO_gRwBg5IrmHYBDHl0RyJDOJCkzMpkoEFY","level":"info","message":"auth send jwt","requestID":"0555eb4ed6334da6e8a6c164ece35779"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"0555eb4ed6334da6e8a6c164ece35779","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"0555eb4ed6334da6e8a6c164ece35779"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":294,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:03Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":294,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.188367,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:03Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0555eb4ed6334da6e8a6c164ece35779","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072503,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwM30.0WtvpOl_FO_gRwBg5IrmHYBDHl0RyJDOJCkzMpkoEFY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0555eb4ed6334da6e8a6c164ece35779","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"7cbfba68-1b45-4c42-94fa-3080ed6566d1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072503.18685} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"0555eb4ed6334da6e8a6c164ece35779","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5d3b3761-1758-4665-a86f-4562e97efc28","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072503.1939726} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"0555eb4ed6334da6e8a6c164ece35779","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"eb13edb7-86e8-4dc9-8f4a-548a2c0fd60f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072503.2071016} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5e7912b9-4166-47e7-9be3-7b02f111e266","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072503.2072845} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"0555eb4ed6334da6e8a6c164ece35779","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:03.207065486Z"}]},"request_id":"a7d91b08-42db-407a-b6e0-53b7f00a2d66","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072503.2136383} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"0555eb4ed6334da6e8a6c164ece35779","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"0555eb4ed6334da6e8a6c164ece35779"} device-1 | {"level":"info","message":"POST /devices? 201 58ms","method":"POST","requestID":"0555eb4ed6334da6e8a6c164ece35779","responseTime":58,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.067","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0555eb4ed6334da6e8a6c164ece35779"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c22a0e28c76981e02a52e84a9a30eb41","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"c22a0e28c76981e02a52e84a9a30eb41","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6/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":"c22a0e28c76981e02a52e84a9a30eb41"} device-1 | {"level":"info","message":"OPTIONS /devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6/websocket 200 1ms","method":"OPTIONS","requestID":"c22a0e28c76981e02a52e84a9a30eb41","responseTime":1,"status":200,"url":"/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s","level":"info","message":"auth send jwt","requestID":"b64f7b581afddb75ee17192b6f19d796"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"b64f7b581afddb75ee17192b6f19d796","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"b64f7b581afddb75ee17192b6f19d796"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7cb26706f1f2663b7c9139b4685e16ec","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":295,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"7cb26706f1f2663b7c9139b4685e16ec","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":295,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.734166,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} gateway-1 | {"time_local":"16/Oct/2024:09:55:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/c866da01-c9bc-467f-8ec5-0643ec8758d4/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":"7cb26706f1f2663b7c9139b4685e16ec"} device-1 | {"level":"info","message":"OPTIONS /devices/c866da01-c9bc-467f-8ec5-0643ec8758d4/websocket 200 1ms","method":"OPTIONS","requestID":"7cb26706f1f2663b7c9139b4685e16ec","responseTime":1,"status":200,"url":"/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4/websocket"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b64f7b581afddb75ee17192b6f19d796","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072505,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b64f7b581afddb75ee17192b6f19d796","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s","level":"info","message":"auth send jwt","requestID":"22cb3f8a7545426a98e641ab6dab7b18"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"22cb3f8a7545426a98e641ab6dab7b18","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"22cb3f8a7545426a98e641ab6dab7b18"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":296,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":296,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.696702,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"22cb3f8a7545426a98e641ab6dab7b18","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072505,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"22cb3f8a7545426a98e641ab6dab7b18","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"b64f7b581afddb75ee17192b6f19d796"} gateway-1 | {"time_local":"16/Oct/2024:09:55:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6/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":"b64f7b581afddb75ee17192b6f19d796"} device-1 | {"level":"info","message":"POST /devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6/websocket 200 21ms","method":"POST","requestID":"b64f7b581afddb75ee17192b6f19d796","responseTime":21,"status":200,"url":"/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"22cb3f8a7545426a98e641ab6dab7b18"} gateway-1 | {"time_local":"16/Oct/2024:09:55:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/c866da01-c9bc-467f-8ec5-0643ec8758d4/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":"22cb3f8a7545426a98e641ab6dab7b18"} device-1 | {"level":"info","message":"POST /devices/c866da01-c9bc-467f-8ec5-0643ec8758d4/websocket 200 21ms","method":"POST","requestID":"22cb3f8a7545426a98e641ab6dab7b18","responseTime":21,"status":200,"url":"/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e1c4462e40fe4840470c9c8ce1e4b278","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"e1c4462e40fe4840470c9c8ce1e4b278","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6? 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":"e1c4462e40fe4840470c9c8ce1e4b278"} device-1 | {"level":"info","message":"OPTIONS /devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6? 200 1ms","method":"OPTIONS","requestID":"e1c4462e40fe4840470c9c8ce1e4b278","responseTime":1,"status":200,"url":"/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"79e41fdc73c83487ffbb3aa26045cc23","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"79e41fdc73c83487ffbb3aa26045cc23","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/c866da01-c9bc-467f-8ec5-0643ec8758d4? 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":"79e41fdc73c83487ffbb3aa26045cc23"} device-1 | {"level":"info","message":"OPTIONS /devices/c866da01-c9bc-467f-8ec5-0643ec8758d4? 200 1ms","method":"OPTIONS","requestID":"79e41fdc73c83487ffbb3aa26045cc23","responseTime":1,"status":200,"url":"/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s","level":"info","message":"auth send jwt","requestID":"927e5a329fd7dfcb2298f68d4d475c0e"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"927e5a329fd7dfcb2298f68d4d475c0e","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"927e5a329fd7dfcb2298f68d4d475c0e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":297,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s","level":"info","message":"auth send jwt","requestID":"4a16ac65a7068216aef8c9c5a2872da6"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":297,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.817163,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"4a16ac65a7068216aef8c9c5a2872da6","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"927e5a329fd7dfcb2298f68d4d475c0e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072505,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"4a16ac65a7068216aef8c9c5a2872da6"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"927e5a329fd7dfcb2298f68d4d475c0e","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":298,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":298,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.710791,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"4a16ac65a7068216aef8c9c5a2872da6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072505,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4a16ac65a7068216aef8c9c5a2872da6","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:03.207065486Z"}]},"request_id":"521ed5a2-f6a2-4ae0-80d7-a463f19794da","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.2755685} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"927e5a329fd7dfcb2298f68d4d475c0e","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc866da01-c9bc-467f-8ec5-0643ec8758d4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc866da01-c9bc-467f-8ec5-0643ec8758d4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:03.084556601Z"}]},"request_id":"3c384e97-583a-4105-9fd5-5cc0510eecfb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.2782295} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4a16ac65a7068216aef8c9c5a2872da6","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ebb5d924-e721-48c5-8feb-548413923d7a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.281358} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"927e5a329fd7dfcb2298f68d4d475c0e","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6d3e698f-fd4a-427c-bfb0-f2b8c28e3355","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.283687} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"4a16ac65a7068216aef8c9c5a2872da6","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc866da01-c9bc-467f-8ec5-0643ec8758d4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc866da01-c9bc-467f-8ec5-0643ec8758d4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:03.084556601Z"}]},"request_id":"a40d6011-09a6-4e8e-a894-a1353a176539","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.301464} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4a16ac65a7068216aef8c9c5a2872da6","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:03.207065486Z"}]},"request_id":"3184d792-be1c-422f-af14-aa47cbd05a8a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.3022313} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"4a16ac65a7068216aef8c9c5a2872da6"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"927e5a329fd7dfcb2298f68d4d475c0e","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"PATCH /devices/c866da01-c9bc-467f-8ec5-0643ec8758d4? 200 34ms","method":"PATCH","requestID":"4a16ac65a7068216aef8c9c5a2872da6","responseTime":34,"status":200,"url":"/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/c866da01-c9bc-467f-8ec5-0643ec8758d4? HTTP/1.1","status": "200","body_bytes_sent":"845","request_time":"0.038","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"4a16ac65a7068216aef8c9c5a2872da6"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"927e5a329fd7dfcb2298f68d4d475c0e"} gateway-1 | {"time_local":"16/Oct/2024:09:55:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6? 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":"927e5a329fd7dfcb2298f68d4d475c0e"} device-1 | {"level":"info","message":"PATCH /devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6? 200 40ms","method":"PATCH","requestID":"927e5a329fd7dfcb2298f68d4d475c0e","responseTime":40,"status":200,"url":"/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s","level":"info","message":"auth send jwt","requestID":"8958326862361059d33764bcb04979e0"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8958326862361059d33764bcb04979e0","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8958326862361059d33764bcb04979e0"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":299,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":299,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.75131,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"8958326862361059d33764bcb04979e0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072505,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8958326862361059d33764bcb04979e0","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:03.207065486Z"}]},"request_id":"e3e17e2a-4e8b-4917-a33b-15c0d7f1cbeb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.322168} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8958326862361059d33764bcb04979e0","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8958326862361059d33764bcb04979e0"} gateway-1 | {"time_local":"16/Oct/2024:09:55:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6? 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":"8958326862361059d33764bcb04979e0"} device-1 | {"level":"info","message":"GET /devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6? 200 13ms","method":"GET","requestID":"8958326862361059d33764bcb04979e0","responseTime":13,"status":200,"url":"/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s","level":"info","message":"auth send jwt","requestID":"8a147af2a471e16b53eb1235c6f81b01"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8a147af2a471e16b53eb1235c6f81b01","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"8a147af2a471e16b53eb1235c6f81b01"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":300,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":300,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.865193,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"8a147af2a471e16b53eb1235c6f81b01","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072505,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"8a147af2a471e16b53eb1235c6f81b01","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b"},"level":"info","message":"Attempting to run experiment","requestID":"8a147af2a471e16b53eb1235c6f81b01"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b"},"level":"info","message":"Attempting to book experiment","requestID":"8a147af2a471e16b53eb1235c6f81b01"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b"},"level":"info","message":"Successfully booked experiment","requestID":"8a147af2a471e16b53eb1235c6f81b01"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b83e4200-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b83e9020-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":301,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":301,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.689563,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a62fe81c-2a4c-45d7-96de-fd73605e4e4b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b83e4200-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a62fe81c-2a4c-45d7-96de-fd73605e4e4b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072505,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b83e4200-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":302,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":302,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.64726,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b83e9020-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072505,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b83e9020-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa62fe81c-2a4c-45d7-96de-fd73605e4e4b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa62fe81c-2a4c-45d7-96de-fd73605e4e4b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:03.134296135Z"}]},"request_id":"87ba1a1a-3341-4e7f-9934-82f947a0746b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.3846843} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b83e4200-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:03.207065486Z"}]},"request_id":"ea070fd5-97ec-4ad4-bcc7-2a5c66fdac71","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.385753} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"b83e9020-8ba4-11ef-a62f-5f7f958aa687","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b83e9020-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6? 200 14ms","method":"GET","requestID":"b83e9020-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":303,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":303,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.729158,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b83e4200-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072505,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b83e4200-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b83e4200-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/a62fe81c-2a4c-45d7-96de-fd73605e4e4b? 200 21ms","method":"GET","requestID":"b83e4200-8ba4-11ef-a62f-5f7f958aa687","responseTime":21,"status":200,"url":"/devices/a62fe81c-2a4c-45d7-96de-fd73605e4e4b?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b"},"level":"info","message":"Setting up experiment","requestID":"8a147af2a471e16b53eb1235c6f81b01"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"8a147af2a471e16b53eb1235c6f81b01"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b"},"level":"info","message":"Successfully locked booking for experiment","requestID":"8a147af2a471e16b53eb1235c6f81b01"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"8a147af2a471e16b53eb1235c6f81b01"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"8a147af2a471e16b53eb1235c6f81b01"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b"},"level":"info","message":"Attempting to update booking for experiment","requestID":"8a147af2a471e16b53eb1235c6f81b01"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b"},"level":"info","message":"Successfully updated booking for experiment","requestID":"8a147af2a471e16b53eb1235c6f81b01"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b"},"level":"info","message":"Successfully set up experiment","requestID":"8a147af2a471e16b53eb1235c6f81b01"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b848a240-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b848f060-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b8491770-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b"},"level":"info","message":"Successfully running experiment","requestID":"8a147af2a471e16b53eb1235c6f81b01"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":304,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":304,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.265587,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":305,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b848a240-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072505,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"b848a240-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":305,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.0253,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"client_addr":"127.0.0.1:59288","level":"info","msg":"Received request.","req_id":306,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b848f060-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072505,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"b848f060-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59288","level":"info","msg":"Sent response.","req_id":306,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.42922,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc866da01-c9bc-467f-8ec5-0643ec8758d4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f02d31c4-c841-4140-a0e2-3b01a42109e6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.4550052} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b8491770-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4","object_type":"device","rebac_allow":false,"scope_allow":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":"b8491770-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b8491770-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc866da01-c9bc-467f-8ec5-0643ec8758d4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc866da01-c9bc-467f-8ec5-0643ec8758d4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:03.084556601Z"}]},"request_id":"af2ede94-88b6-40a5-9913-3de08a00b425","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.462629} device-1 | {"level":"info","message":"POST /devices/c866da01-c9bc-467f-8ec5-0643ec8758d4/signaling 200 17ms","method":"POST","requestID":"b8491770-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"b848a240-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:03.207065486Z"}]},"request_id":"72ae4bf1-d160-4000-811c-8618d3f0e374","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.4643648} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b848f060-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b84c72d0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":307,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b848a240-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/c866da01-c9bc-467f-8ec5-0643ec8758d4? 200 31ms","method":"GET","requestID":"b848a240-8ba4-11ef-a62f-5f7f958aa687","responseTime":31,"status":200,"url":"/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b848f060-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6? 200 30ms","method":"GET","requestID":"b848f060-8ba4-11ef-a62f-5f7f958aa687","responseTime":30,"status":200,"url":"/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4d861c8e-d4fe-49d4-8663-538f179bce49","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.4762266} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":307,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.323938,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b84c72d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","object_type":"device","rebac_allow":false,"scope_allow":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":"b84c72d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5c9e914a-50fd-4c0f-8120-9276ace4891b#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5c9e914a-50fd-4c0f-8120-9276ace4891b","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"d8581754-9b41-4cbf-ad30-96cabee0ec38","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.4780054} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7e421850-1ed0-4336-96d9-dca3124f3f2c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.4782138} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b84df970-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 27ms","method":"POST","requestID":"8a147af2a471e16b53eb1235c6f81b01","responseTime":27,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":308,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b84c72d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6/signaling 200 16ms","method":"POST","requestID":"b84c72d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc866da01-c9bc-467f-8ec5-0643ec8758d4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b80655d9-180b-49ac-8dd3-dc7ee1794950","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.4867332} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":308,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.686159,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b84df970-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4","object_type":"device","rebac_allow":false,"scope_allow":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":"b84df970-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"8a147af2a471e16b53eb1235c6f81b01"} gateway-1 | {"time_local":"16/Oct/2024:09:55:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"808","request_time":"0.163","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8a147af2a471e16b53eb1235c6f81b01"} experiment-1 | {"level":"info","message":"POST /experiments? 201 159ms","method":"POST","requestID":"8a147af2a471e16b53eb1235c6f81b01","responseTime":159,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b84df970-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c866da01-c9bc-467f-8ec5-0643ec8758d4/signaling 200 13ms","method":"POST","requestID":"b84df970-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b8504360-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s","level":"info","message":"auth send jwt","requestID":"7c6367c976e24d0d716eab556e5cb0ff"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"7c6367c976e24d0d716eab556e5cb0ff","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":309,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7c6367c976e24d0d716eab556e5cb0ff"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2294656d-0e08-42df-bce7-d82c264dbbd4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.4999413} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":309,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.019992,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":310,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b8504360-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","object_type":"device","rebac_allow":false,"scope_allow":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":"b8504360-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":310,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.954035,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"7c6367c976e24d0d716eab556e5cb0ff","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072505,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7c6367c976e24d0d716eab556e5cb0ff","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b8504360-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6/signaling 200 12ms","method":"POST","requestID":"b8504360-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6/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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc866da01-c9bc-467f-8ec5-0643ec8758d4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc866da01-c9bc-467f-8ec5-0643ec8758d4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:03.084556601Z"}]},"request_id":"bb906476-3a73-4039-a97c-0f24b9757dec","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.506469} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"8a147af2a471e16b53eb1235c6f81b01"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7c6367c976e24d0d716eab556e5cb0ff","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b8528d50-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b852b460-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7c6367c976e24d0d716eab556e5cb0ff"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":311,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":312,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":311,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.889424,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} gateway-1 | {"time_local":"16/Oct/2024:09:55:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c866da01-c9bc-467f-8ec5-0643ec8758d4? HTTP/1.1","status": "200","body_bytes_sent":"845","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7c6367c976e24d0d716eab556e5cb0ff"} device-1 | {"level":"info","message":"GET /devices/c866da01-c9bc-467f-8ec5-0643ec8758d4? 200 15ms","method":"GET","requestID":"7c6367c976e24d0d716eab556e5cb0ff","responseTime":15,"status":200,"url":"/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b8528d50-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072505,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b8528d50-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":312,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.900211,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b852b460-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072505,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b852b460-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s","level":"info","message":"auth send jwt","requestID":"72cf7db16f171f66b75f39c28fb5d272"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"72cf7db16f171f66b75f39c28fb5d272","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc866da01-c9bc-467f-8ec5-0643ec8758d4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc866da01-c9bc-467f-8ec5-0643ec8758d4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:03.084556601Z"}]},"request_id":"e880b95b-89da-41d4-82e9-f45de65a9c63","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.5169003} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"72cf7db16f171f66b75f39c28fb5d272"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b8528d50-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:03.207065486Z"}]},"request_id":"99e84934-1275-4f4b-bb61-4bc963efba80","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.5182517} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"b852b460-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":313,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":313,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.643366,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"72cf7db16f171f66b75f39c28fb5d272","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072505,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"72cf7db16f171f66b75f39c28fb5d272","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b8528d50-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/c866da01-c9bc-467f-8ec5-0643ec8758d4? 200 14ms","method":"GET","requestID":"b8528d50-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b852b460-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6? 200 15ms","method":"GET","requestID":"b852b460-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:03.207065486Z"}]},"request_id":"30c412ac-af5e-4aeb-a796-ea06d7d9ef4d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.5262764} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b"},"level":"info","message":"Building connection plan","requestID":"8a147af2a471e16b53eb1235c6f81b01"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"28ebacd1-955c-4cd2-abf9-ea8706a72bdf"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"fcdc9418-b8b9-4274-a52c-3d61da9230b3"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"631d8e76-1c66-4045-b7ad-bb79eb49cfe9"}]},"level":"info","message":"Built pairwise service configurations","requestID":"8a147af2a471e16b53eb1235c6f81b01"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"72cf7db16f171f66b75f39c28fb5d272","responseTime":3,"status":200,"url":"/relations/query"} 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/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6"},{"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/c866da01-c9bc-467f-8ec5-0643ec8758d4"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"8a147af2a471e16b53eb1235c6f81b01"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"b8560fc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"72cf7db16f171f66b75f39c28fb5d272"} gateway-1 | {"time_local":"16/Oct/2024:09:55:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6? 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":"72cf7db16f171f66b75f39c28fb5d272"} device-1 | {"level":"info","message":"GET /devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6? 200 17ms","method":"GET","requestID":"72cf7db16f171f66b75f39c28fb5d272","responseTime":17,"status":200,"url":"/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":314,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":314,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.786505,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b8560fc0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072505,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b8560fc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"1164f406-e532-40f4-97b1-2f49db9889b6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.5435586} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"33a9b93a-66f0-438a-a8d3-22c2e87d4bc8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.543915} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"b8560fc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"b8560fc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"b8560fc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/4c33a72b-dc81-47a4-994d-5feeb7e5ed24'","requestID":"b8560fc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/4c33a72b-dc81-47a4-994d-5feeb7e5ed24'","requestID":"b8560fc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"b8560fc0-8ba4-11ef-a62f-5f7f958aa687"} 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":"b8560fc0-8ba4-11ef-a62f-5f7f958aa687","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":"b8560fc0-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"8a147af2a471e16b53eb1235c6f81b01"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b85e7430-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"device":"e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":315,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc866da01-c9bc-467f-8ec5-0643ec8758d4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1a43f52d-8251-4df8-aa41-c8ac97134bf3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.5920064} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":315,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.301757,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b85e7430-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4","object_type":"device","rebac_allow":false,"scope_allow":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":"b85e7430-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b85e7430-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c866da01-c9bc-467f-8ec5-0643ec8758d4/signaling 200 9ms","method":"POST","requestID":"b85e7430-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b86021e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"device":"c866da01-c9bc-467f-8ec5-0643ec8758d4","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"c866da01-c9bc-467f-8ec5-0643ec8758d4","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":316,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8e0bd9be-c74c-4ad9-9312-aeb5302d5fe6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.603737} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":316,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.636067,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b86021e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","object_type":"device","rebac_allow":false,"scope_allow":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":"b86021e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"content":{"sdp":"v=0\r\no=- 7469693577397596154 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:CcKF\r\na=ice-pwd:3JoRXxhBbpWF0bBcfCSTo2a9\r\na=ice-options:trickle\r\na=fingerprint:sha-256 E9:F7:EF:81:EF:E0:13:06:60:A1:F7:8F:5D:49:38:30:E1:6E:70:24:FE:A5:D3:EF:B8:17:6C:D4:78:BD:C2: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":"c866da01-c9bc-467f-8ec5-0643ec8758d4","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b86021e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6/signaling 200 12ms","method":"POST","requestID":"b86021e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 4037205818388835818 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:sJ8/\r\na=ice-pwd:zc1hU3DTp6qxbxBbw1ec4RGP\r\na=ice-options:trickle\r\na=fingerprint:sha-256 1D:C1:D5:63:FA:6C:6B:55:41:44:72:22:1A:62:B9:AA:18:2E:24:07:05:60:B3:A1:E4:80:A1:5B:74:F5:CC:56\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:503514835 1 udp 2113937151 87f7ad3e-351a-48da-8c86-1eb7f421ab58.local 56975 typ host generation 0 ufrag sJ8/ network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","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/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6'"} device-1 | {"content":{"candidate":"candidate:2586733740 1 udp 1677729535 141.24.211.56 56975 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag sJ8/ network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","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/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6'"} device-1 | {"content":{"candidate":"candidate:122702389 1 udp 2113937151 2a97018b-b674-48ab-b6a3-f0251de3cedd.local 58633 typ host generation 0 ufrag CcKF network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"c866da01-c9bc-467f-8ec5-0643ec8758d4","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2206015562 1 udp 1677729535 141.24.211.56 58633 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag CcKF network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"c866da01-c9bc-467f-8ec5-0643ec8758d4","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/c866da01-c9bc-467f-8ec5-0643ec8758d4'"} device-1 | {"device":"c866da01-c9bc-467f-8ec5-0643ec8758d4","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/4c33a72b-dc81-47a4-994d-5feeb7e5ed24' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"4c33a72b-dc81-47a4-994d-5feeb7e5ed24","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","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":"a5ff797592c3b013d5c8c2690693df76","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"c866da01-c9bc-467f-8ec5-0643ec8758d4","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"a5ff797592c3b013d5c8c2690693df76","responseTime":2,"status":200,"url":"/auth"} device-1 | {"device":"e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","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/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6"},{"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/c866da01-c9bc-467f-8ec5-0643ec8758d4"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/4c33a72b-dc81-47a4-994d-5feeb7e5ed24"}}},"level":"info","message":"received a callback","requestID":"a5ff797592c3b013d5c8c2690693df76"} device-1 | {"device":"c866da01-c9bc-467f-8ec5-0643ec8758d4","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 6ms","method":"POST","requestID":"a5ff797592c3b013d5c8c2690693df76","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55:05 +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":"a5ff797592c3b013d5c8c2690693df76"} device-1 | {"device":"e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","deviceName":"JS Device 2","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"4c33a72b-dc81-47a4-994d-5feeb7e5ed24","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"4c33a72b-dc81-47a4-994d-5feeb7e5ed24","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/4c33a72b-dc81-47a4-994d-5feeb7e5ed24' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"4c33a72b-dc81-47a4-994d-5feeb7e5ed24","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"91146f048fcf2850fd163ff7706af988","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"91146f048fcf2850fd163ff7706af988","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/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6"},{"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/c866da01-c9bc-467f-8ec5-0643ec8758d4"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/4c33a72b-dc81-47a4-994d-5feeb7e5ed24"}}},"level":"info","message":"received a callback","requestID":"91146f048fcf2850fd163ff7706af988"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"b86ccc10-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":317,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F4c33a72b-dc81-47a4-994d-5feeb7e5ed24","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8c49d46f-021a-4be5-9acc-fabf1724f146","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.6852522} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":317,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.065422,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/4c33a72b-dc81-47a4-994d-5feeb7e5ed24","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b86ccc10-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/4c33a72b-dc81-47a4-994d-5feeb7e5ed24","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":"b86ccc10-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"b86ccc10-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/4c33a72b-dc81-47a4-994d-5feeb7e5ed24 200 8ms","method":"GET","requestID":"b86ccc10-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/peerconnections/4c33a72b-dc81-47a4-994d-5feeb7e5ed24"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 34ms","method":"POST","requestID":"91146f048fcf2850fd163ff7706af988","responseTime":34,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55:05 +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":"91146f048fcf2850fd163ff7706af988"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b8718700-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":318,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"41fb2d1a-4d77-488f-8fcd-96564409d3bd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.716608} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":318,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.19527,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b8718700-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","object_type":"device","rebac_allow":false,"scope_allow":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":"b8718700-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b8718700-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6/signaling 200 9ms","method":"POST","requestID":"b8718700-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b87382d0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":319,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc866da01-c9bc-467f-8ec5-0643ec8758d4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5890ccdb-2a1a-4b43-bade-b5f1c3037885","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.7301657} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":319,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.243002,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b87382d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4","object_type":"device","rebac_allow":false,"scope_allow":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":"b87382d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b87382d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c866da01-c9bc-467f-8ec5-0643ec8758d4/signaling 200 9ms","method":"POST","requestID":"b87382d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s","level":"info","message":"auth send jwt","requestID":"1fb703d9b62164da85e6cb0268621b58"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"1fb703d9b62164da85e6cb0268621b58","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b","requestID":"1fb703d9b62164da85e6cb0268621b58"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":320,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":320,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.683512,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"1fb703d9b62164da85e6cb0268621b58","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072505,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"1fb703d9b62164da85e6cb0268621b58","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b","requestID":"1fb703d9b62164da85e6cb0268621b58"} gateway-1 | {"time_local":"16/Oct/2024:09:55:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b 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":"1fb703d9b62164da85e6cb0268621b58"} experiment-1 | {"level":"info","message":"GET /experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b 200 11ms","method":"GET","requestID":"1fb703d9b62164da85e6cb0268621b58","responseTime":11,"status":200,"url":"/experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s","level":"info","message":"auth send jwt","requestID":"923cc1489513cca05fed126345014e6c"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"923cc1489513cca05fed126345014e6c","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b","requestID":"923cc1489513cca05fed126345014e6c"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":321,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":321,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.927817,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"923cc1489513cca05fed126345014e6c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072505,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"923cc1489513cca05fed126345014e6c","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b"},"level":"info","message":"Attempting to finish experiment","requestID":"923cc1489513cca05fed126345014e6c"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"b87b4b00-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":322,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":322,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.650442,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/4c33a72b-dc81-47a4-994d-5feeb7e5ed24","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b87b4b00-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/4c33a72b-dc81-47a4-994d-5feeb7e5ed24","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072505,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"b87b4b00-8ba4-11ef-a62f-5f7f958aa687","responseTime":2,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/4c33a72b-dc81-47a4-994d-5feeb7e5ed24","device":"e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/4c33a72b-dc81-47a4-994d-5feeb7e5ed24","device":"c866da01-c9bc-467f-8ec5-0643ec8758d4","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/4c33a72b-dc81-47a4-994d-5feeb7e5ed24' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/4c33a72b-dc81-47a4-994d-5feeb7e5ed24' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"4c33a72b-dc81-47a4-994d-5feeb7e5ed24","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F4c33a72b-dc81-47a4-994d-5feeb7e5ed24': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F4c33a72b-dc81-47a4-994d-5feeb7e5ed24","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"ae1fcebf-835d-4dcd-b38e-ac9b8198c572","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.791036} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"923a9574-2cc0-4c04-9805-6128c26af019","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.7912514} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"37b93012339b337325c006cdef49bdfe","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"37b93012339b337325c006cdef49bdfe","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"b87b4b00-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/relations/update"} 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/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6"},{"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/c866da01-c9bc-467f-8ec5-0643ec8758d4"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/4c33a72b-dc81-47a4-994d-5feeb7e5ed24"}}},"level":"info","message":"received a callback","requestID":"37b93012339b337325c006cdef49bdfe"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"53f8fe8224423af6b157e6301d91d4ea","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"53f8fe8224423af6b157e6301d91d4ea","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/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6"},{"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/c866da01-c9bc-467f-8ec5-0643ec8758d4"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/4c33a72b-dc81-47a4-994d-5feeb7e5ed24"}}},"level":"info","message":"received a callback","requestID":"53f8fe8224423af6b157e6301d91d4ea"} device-1 | {"data":{"peerconnection":"4c33a72b-dc81-47a4-994d-5feeb7e5ed24","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"b87b4b00-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/4c33a72b-dc81-47a4-994d-5feeb7e5ed24 204 34ms","method":"DELETE","requestID":"b87b4b00-8ba4-11ef-a62f-5f7f958aa687","responseTime":34,"status":204,"url":"/peerconnections/4c33a72b-dc81-47a4-994d-5feeb7e5ed24"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b"},"level":"info","message":"Successfully finished experiment","requestID":"923cc1489513cca05fed126345014e6c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b887a710-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":323,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"568a928b-74ca-475f-a7d7-9437fc7f4842","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.865338} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":323,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.196746,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b887a710-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6","object_type":"device","rebac_allow":false,"scope_allow":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":"b887a710-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b887a710-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6/signaling 200 15ms","method":"POST","requestID":"b887a710-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b88a8d40-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5c9e914a-50fd-4c0f-8120-9276ace4891b': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5c9e914a-50fd-4c0f-8120-9276ace4891b","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"7b476a2b-aa8b-426c-89c8-d0723ade63fe","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.881486} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"bc23a6b2-7f74-4f33-9d55-58399f3117c9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.8819468} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":324,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"level":"info","message":"POST /relations/update 200 31ms","method":"POST","requestID":"923cc1489513cca05fed126345014e6c","responseTime":31,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc866da01-c9bc-467f-8ec5-0643ec8758d4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2b84339a-8623-4bbc-a86d-2f15dd8a53b6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.8863351} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":324,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.072776,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b88a8d40-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4","object_type":"device","rebac_allow":false,"scope_allow":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":"b88a8d40-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b88a8d40-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c866da01-c9bc-467f-8ec5-0643ec8758d4/signaling 200 18ms","method":"POST","requestID":"b88a8d40-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b","requestID":"923cc1489513cca05fed126345014e6c"} gateway-1 | {"time_local":"16/Oct/2024:09:55:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.190","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"923cc1489513cca05fed126345014e6c"} experiment-1 | {"level":"info","message":"DELETE /experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b 204 188ms","method":"DELETE","requestID":"923cc1489513cca05fed126345014e6c","responseTime":188,"status":204,"url":"/experiments/5c9e914a-50fd-4c0f-8120-9276ace4891b"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 165ms","method":"POST","requestID":"37b93012339b337325c006cdef49bdfe","responseTime":165,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55:05 +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.167","http_referrer":"","http_user_agent":"node-fetch","requestID":"37b93012339b337325c006cdef49bdfe"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 164ms","method":"POST","requestID":"53f8fe8224423af6b157e6301d91d4ea","responseTime":164,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55:05 +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":"53f8fe8224423af6b157e6301d91d4ea"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s","level":"info","message":"auth send jwt","requestID":"29fe0694cf3a0c710eb6cb51c902c7c3"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"29fe0694cf3a0c710eb6cb51c902c7c3","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"29fe0694cf3a0c710eb6cb51c902c7c3"} gateway-1 | {"time_local":"16/Oct/2024:09:55:05 +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.741","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"57c7d15c889a91b7bbed8cae89949642"} gateway-1 | {"time_local":"16/Oct/2024:09:55:05 +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.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":"e6d7e837423f7295060d3770405008ea"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":325,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":325,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.93631,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:05Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"29fe0694cf3a0c710eb6cb51c902c7c3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072505,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNX0.8k9auc-7OgvO105BQB7vi_ZTSrpXqCGguRscLR4qU4s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"29fe0694cf3a0c710eb6cb51c902c7c3","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/e7811f8e-7a6b-4fe4-9a39-d92a0e6668c6' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/c866da01-c9bc-467f-8ec5-0643ec8758d4' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2931b772-df76-4b70-b859-5280d649c4c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"b30f4701-3da4-4be2-91ec-51d9f3c82c7f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.9954531} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"29fe0694cf3a0c710eb6cb51c902c7c3","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"77eef50c-5766-4f47-860f-33d804d718c7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072505.999171} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"29fe0694cf3a0c710eb6cb51c902c7c3","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2931b772-df76-4b70-b859-5280d649c4c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"a7983605-ef74-4b6b-9ca9-e04ebe84e6e0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072506.0109992} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"18948578-dcb5-4b64-9706-aa10fc3da51b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072506.011138} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"29fe0694cf3a0c710eb6cb51c902c7c3","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2931b772-df76-4b70-b859-5280d649c4c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2931b772-df76-4b70-b859-5280d649c4c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:06.010981834Z"}]},"request_id":"7ed00a96-1c9c-42e4-9901-03f4fa124015","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072506.014734} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"29fe0694cf3a0c710eb6cb51c902c7c3","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"29fe0694cf3a0c710eb6cb51c902c7c3"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.059","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"29fe0694cf3a0c710eb6cb51c902c7c3"} device-1 | {"level":"info","message":"POST /devices? 201 52ms","method":"POST","requestID":"29fe0694cf3a0c710eb6cb51c902c7c3","responseTime":52,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNn0.YLG_9qyfFrGsVcpqc1-ShruoTJRJt9mfQAMowCK1ui4","level":"info","message":"auth send jwt","requestID":"f32ba2c1dc1a223f67ebd8e33dcf42d4"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"f32ba2c1dc1a223f67ebd8e33dcf42d4","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"f32ba2c1dc1a223f67ebd8e33dcf42d4"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":326,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:06Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":326,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.902235,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:06Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f32ba2c1dc1a223f67ebd8e33dcf42d4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072506,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNn0.YLG_9qyfFrGsVcpqc1-ShruoTJRJt9mfQAMowCK1ui4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f32ba2c1dc1a223f67ebd8e33dcf42d4","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"45c6f322-d870-4241-bbe5-cfe5700ae031","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072506.0388067} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"f32ba2c1dc1a223f67ebd8e33dcf42d4","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"319d22ae-88f6-4171-b2fe-d165dfc407ae","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072506.0425518} authorization-1 | {"level":"info","message":"POST /relations/update 200 2ms","method":"POST","requestID":"f32ba2c1dc1a223f67ebd8e33dcf42d4","responseTime":2,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"b24007b8-50d1-4c38-be4f-06186f2f9829","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072506.0522804} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5937b507-91b0-494c-934e-e1d02e4b03c7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072506.0523717} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"f32ba2c1dc1a223f67ebd8e33dcf42d4","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:06.052263062Z"}]},"request_id":"18c0c790-09ab-4491-85ab-c7fbf5141609","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072506.0559633} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"f32ba2c1dc1a223f67ebd8e33dcf42d4","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"f32ba2c1dc1a223f67ebd8e33dcf42d4"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.041","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f32ba2c1dc1a223f67ebd8e33dcf42d4"} device-1 | {"level":"info","message":"POST /devices? 201 36ms","method":"POST","requestID":"f32ba2c1dc1a223f67ebd8e33dcf42d4","responseTime":36,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNn0.YLG_9qyfFrGsVcpqc1-ShruoTJRJt9mfQAMowCK1ui4","level":"info","message":"auth send jwt","requestID":"e680a87105702bc926de283e37de498e"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e680a87105702bc926de283e37de498e","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"e680a87105702bc926de283e37de498e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":327,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:06Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":327,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.623485,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:06Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/2931b772-df76-4b70-b859-5280d649c4c2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e680a87105702bc926de283e37de498e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2931b772-df76-4b70-b859-5280d649c4c2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072506,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNn0.YLG_9qyfFrGsVcpqc1-ShruoTJRJt9mfQAMowCK1ui4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e680a87105702bc926de283e37de498e","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2931b772-df76-4b70-b859-5280d649c4c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2931b772-df76-4b70-b859-5280d649c4c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:06.010981834Z"}]},"request_id":"aa642a39-2550-4f83-8906-09f77662a91f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072506.5347724} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e680a87105702bc926de283e37de498e","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"46c57dee-c9f3-4496-a76b-4cad784cca5e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072506.5393116} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"e680a87105702bc926de283e37de498e","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2931b772-df76-4b70-b859-5280d649c4c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2931b772-df76-4b70-b859-5280d649c4c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:06.010981834Z"}]},"request_id":"2e49f05b-9428-4eb5-9fc3-6b51c001c789","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072506.5531447} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"e680a87105702bc926de283e37de498e","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"e680a87105702bc926de283e37de498e"} device-1 | {"level":"info","message":"PATCH /devices/2931b772-df76-4b70-b859-5280d649c4c2 200 32ms","method":"PATCH","requestID":"e680a87105702bc926de283e37de498e","responseTime":32,"status":200,"url":"/devices/2931b772-df76-4b70-b859-5280d649c4c2"} gateway-1 | {"time_local":"16/Oct/2024:09:55:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/2931b772-df76-4b70-b859-5280d649c4c2 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.036","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"e680a87105702bc926de283e37de498e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNn0.YLG_9qyfFrGsVcpqc1-ShruoTJRJt9mfQAMowCK1ui4","level":"info","message":"auth send jwt","requestID":"0564a016c9d2e80b822d259eeaf0e3dc"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"0564a016c9d2e80b822d259eeaf0e3dc","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"0564a016c9d2e80b822d259eeaf0e3dc"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":328,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:06Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":328,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.311229,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:06Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/2931b772-df76-4b70-b859-5280d649c4c2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0564a016c9d2e80b822d259eeaf0e3dc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2931b772-df76-4b70-b859-5280d649c4c2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072506,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwNn0.YLG_9qyfFrGsVcpqc1-ShruoTJRJt9mfQAMowCK1ui4"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0564a016c9d2e80b822d259eeaf0e3dc","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"0564a016c9d2e80b822d259eeaf0e3dc"} gateway-1 | {"time_local":"16/Oct/2024:09:55:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/2931b772-df76-4b70-b859-5280d649c4c2/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.10","requestID":"0564a016c9d2e80b822d259eeaf0e3dc"} device-1 | {"level":"info","message":"POST /devices/2931b772-df76-4b70-b859-5280d649c4c2/websocket 200 24ms","method":"POST","requestID":"0564a016c9d2e80b822d259eeaf0e3dc","responseTime":24,"status":200,"url":"/devices/2931b772-df76-4b70-b859-5280d649c4c2/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/2931b772-df76-4b70-b859-5280d649c4c2' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"07b31fc8bc973b37ea79d6020a4023ac","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"07b31fc8bc973b37ea79d6020a4023ac","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9/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":"07b31fc8bc973b37ea79d6020a4023ac"} device-1 | {"level":"info","message":"OPTIONS /devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9/websocket 200 1ms","method":"OPTIONS","requestID":"07b31fc8bc973b37ea79d6020a4023ac","responseTime":1,"status":200,"url":"/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwOH0.Oq3xY6Nxz5bGl0oOQ1JtDd-mk1uIKNby6SGI5t0Vyoc","level":"info","message":"auth send jwt","requestID":"8a0e22001c13c31994e1df5f9b45de0f"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"8a0e22001c13c31994e1df5f9b45de0f","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"8a0e22001c13c31994e1df5f9b45de0f"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":329,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":329,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.274675,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"8a0e22001c13c31994e1df5f9b45de0f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072508,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwOH0.Oq3xY6Nxz5bGl0oOQ1JtDd-mk1uIKNby6SGI5t0Vyoc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8a0e22001c13c31994e1df5f9b45de0f","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"8a0e22001c13c31994e1df5f9b45de0f"} device-1 | {"level":"info","message":"POST /devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9/websocket 200 34ms","method":"POST","requestID":"8a0e22001c13c31994e1df5f9b45de0f","responseTime":34,"status":200,"url":"/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:55:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9/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":"8a0e22001c13c31994e1df5f9b45de0f"} device-1 | {"level":"info","message":"device 'http://localhost/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"16bb588c561766d0c049d1915d5c291a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"16bb588c561766d0c049d1915d5c291a","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9? 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":"16bb588c561766d0c049d1915d5c291a"} device-1 | {"level":"info","message":"OPTIONS /devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9? 200 1ms","method":"OPTIONS","requestID":"16bb588c561766d0c049d1915d5c291a","responseTime":1,"status":200,"url":"/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwOH0.Oq3xY6Nxz5bGl0oOQ1JtDd-mk1uIKNby6SGI5t0Vyoc","level":"info","message":"auth send jwt","requestID":"c86613622f18e4870fab13130712292b"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c86613622f18e4870fab13130712292b","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"c86613622f18e4870fab13130712292b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":330,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":330,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.413343,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c86613622f18e4870fab13130712292b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072508,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwOH0.Oq3xY6Nxz5bGl0oOQ1JtDd-mk1uIKNby6SGI5t0Vyoc"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"c86613622f18e4870fab13130712292b","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:06.052263062Z"}]},"request_id":"95b2bf5a-4906-415a-99a5-317baa3113ea","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072508.1914053} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"c86613622f18e4870fab13130712292b","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b08cdee3-180c-4576-ab8a-7ddcd5401db7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072508.2021608} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"c86613622f18e4870fab13130712292b","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:06.052263062Z"}]},"request_id":"13940001-a9d8-451b-9b01-0937e7958dc2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072508.2133517} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c86613622f18e4870fab13130712292b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"c86613622f18e4870fab13130712292b"} gateway-1 | {"time_local":"16/Oct/2024:09:55:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9? 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":"c86613622f18e4870fab13130712292b"} device-1 | {"level":"info","message":"PATCH /devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9? 200 43ms","method":"PATCH","requestID":"c86613622f18e4870fab13130712292b","responseTime":43,"status":200,"url":"/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwOH0.Oq3xY6Nxz5bGl0oOQ1JtDd-mk1uIKNby6SGI5t0Vyoc","level":"info","message":"auth send jwt","requestID":"c152165a5b73171d05fd8389da7ebf9f"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"c152165a5b73171d05fd8389da7ebf9f","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c152165a5b73171d05fd8389da7ebf9f"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":331,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":331,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.283214,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2931b772-df76-4b70-b859-5280d649c4c2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c152165a5b73171d05fd8389da7ebf9f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2931b772-df76-4b70-b859-5280d649c4c2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072508,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwOH0.Oq3xY6Nxz5bGl0oOQ1JtDd-mk1uIKNby6SGI5t0Vyoc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"c152165a5b73171d05fd8389da7ebf9f","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2931b772-df76-4b70-b859-5280d649c4c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2931b772-df76-4b70-b859-5280d649c4c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:06.010981834Z"}]},"request_id":"b370ef6c-4ba6-48a0-abc0-469777fd4694","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072508.2428677} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c152165a5b73171d05fd8389da7ebf9f","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c152165a5b73171d05fd8389da7ebf9f"} device-1 | {"level":"info","message":"GET /devices/2931b772-df76-4b70-b859-5280d649c4c2? 200 23ms","method":"GET","requestID":"c152165a5b73171d05fd8389da7ebf9f","responseTime":23,"status":200,"url":"/devices/2931b772-df76-4b70-b859-5280d649c4c2?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/2931b772-df76-4b70-b859-5280d649c4c2? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.028","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c152165a5b73171d05fd8389da7ebf9f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwOH0.Oq3xY6Nxz5bGl0oOQ1JtDd-mk1uIKNby6SGI5t0Vyoc","level":"info","message":"auth send jwt","requestID":"af78deb44245fde97d6271cdd64b0d7e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"af78deb44245fde97d6271cdd64b0d7e","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"af78deb44245fde97d6271cdd64b0d7e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":332,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":332,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.003843,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"af78deb44245fde97d6271cdd64b0d7e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072508,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwOH0.Oq3xY6Nxz5bGl0oOQ1JtDd-mk1uIKNby6SGI5t0Vyoc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"af78deb44245fde97d6271cdd64b0d7e","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:06.052263062Z"}]},"request_id":"4973ec7e-54f2-481e-a65c-ce7fc55f0081","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072508.272771} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"af78deb44245fde97d6271cdd64b0d7e","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"af78deb44245fde97d6271cdd64b0d7e"} gateway-1 | {"time_local":"16/Oct/2024:09:55:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9? 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":"af78deb44245fde97d6271cdd64b0d7e"} device-1 | {"level":"info","message":"GET /devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9? 200 17ms","method":"GET","requestID":"af78deb44245fde97d6271cdd64b0d7e","responseTime":17,"status":200,"url":"/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwOH0.Oq3xY6Nxz5bGl0oOQ1JtDd-mk1uIKNby6SGI5t0Vyoc","level":"info","message":"auth send jwt","requestID":"7058bb8abc44cfa0b70427346afbe2f3"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"7058bb8abc44cfa0b70427346afbe2f3","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"7058bb8abc44cfa0b70427346afbe2f3"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":333,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":333,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.172507,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"7058bb8abc44cfa0b70427346afbe2f3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072508,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwOH0.Oq3xY6Nxz5bGl0oOQ1JtDd-mk1uIKNby6SGI5t0Vyoc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7058bb8abc44cfa0b70427346afbe2f3","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6"},"level":"info","message":"Attempting to run experiment","requestID":"7058bb8abc44cfa0b70427346afbe2f3"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6"},"level":"info","message":"Attempting to book experiment","requestID":"7058bb8abc44cfa0b70427346afbe2f3"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6"},"level":"info","message":"Successfully booked experiment","requestID":"7058bb8abc44cfa0b70427346afbe2f3"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ba01c3f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ba021210-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":334,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":334,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.170285,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2931b772-df76-4b70-b859-5280d649c4c2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ba01c3f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2931b772-df76-4b70-b859-5280d649c4c2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072508,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwOH0.Oq3xY6Nxz5bGl0oOQ1JtDd-mk1uIKNby6SGI5t0Vyoc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ba01c3f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":335,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":335,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.139265,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ba021210-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072508,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwOH0.Oq3xY6Nxz5bGl0oOQ1JtDd-mk1uIKNby6SGI5t0Vyoc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ba021210-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2931b772-df76-4b70-b859-5280d649c4c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2931b772-df76-4b70-b859-5280d649c4c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:06.010981834Z"}]},"request_id":"2a35eea7-3bf8-4dff-83b9-e6511e9fc1b2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072508.3484268} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"ba01c3f0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:06.052263062Z"}]},"request_id":"6da6424c-7f6f-45c1-870c-2169da294dcb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072508.3506157} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"ba021210-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ba01c3f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/2931b772-df76-4b70-b859-5280d649c4c2? 200 24ms","method":"GET","requestID":"ba01c3f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":24,"status":200,"url":"/devices/2931b772-df76-4b70-b859-5280d649c4c2?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ba021210-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9? 200 23ms","method":"GET","requestID":"ba021210-8ba4-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6"},"level":"info","message":"Setting up experiment","requestID":"7058bb8abc44cfa0b70427346afbe2f3"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"7058bb8abc44cfa0b70427346afbe2f3"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6"},"level":"info","message":"Successfully locked booking for experiment","requestID":"7058bb8abc44cfa0b70427346afbe2f3"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"7058bb8abc44cfa0b70427346afbe2f3"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"7058bb8abc44cfa0b70427346afbe2f3"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6"},"level":"info","message":"Attempting to update booking for experiment","requestID":"7058bb8abc44cfa0b70427346afbe2f3"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6"},"level":"info","message":"Successfully updated booking for experiment","requestID":"7058bb8abc44cfa0b70427346afbe2f3"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6"},"level":"info","message":"Successfully set up experiment","requestID":"7058bb8abc44cfa0b70427346afbe2f3"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ba0e9530-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ba0f0a60-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6"},"level":"info","message":"Successfully running experiment","requestID":"7058bb8abc44cfa0b70427346afbe2f3"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ba0f7f90-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":336,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":337,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":336,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.664181,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2931b772-df76-4b70-b859-5280d649c4c2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ba0e9530-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2931b772-df76-4b70-b859-5280d649c4c2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072508,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwOH0.Oq3xY6Nxz5bGl0oOQ1JtDd-mk1uIKNby6SGI5t0Vyoc"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"ba0e9530-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":337,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.10305,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"client_addr":"127.0.0.1:59288","level":"info","msg":"Received request.","req_id":338,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ba0f0a60-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072508,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwOH0.Oq3xY6Nxz5bGl0oOQ1JtDd-mk1uIKNby6SGI5t0Vyoc"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"ba0f0a60-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59288","level":"info","msg":"Sent response.","req_id":338,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.869839,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2931b772-df76-4b70-b859-5280d649c4c2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"26c20de2-1b22-415f-bae1-8ea8efaa078c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072508.4331665} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2931b772-df76-4b70-b859-5280d649c4c2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ba0f7f90-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2931b772-df76-4b70-b859-5280d649c4c2","object_type":"device","rebac_allow":false,"scope_allow":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":"ba0f7f90-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ba0f7f90-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/2931b772-df76-4b70-b859-5280d649c4c2/signaling 200 18ms","method":"POST","requestID":"ba0f7f90-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/2931b772-df76-4b70-b859-5280d649c4c2/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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2931b772-df76-4b70-b859-5280d649c4c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2931b772-df76-4b70-b859-5280d649c4c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:06.010981834Z"}]},"request_id":"bba42cf1-33ca-48ea-b899-d80d12ddfd9e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072508.4420445} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"ba0e9530-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:06.052263062Z"}]},"request_id":"338ee773-c1e2-4b93-b670-ea8c21f287f8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072508.4443765} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ba0f0a60-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ba12b3e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ba0e9530-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/2931b772-df76-4b70-b859-5280d649c4c2? 200 33ms","method":"GET","requestID":"ba0e9530-8ba4-11ef-a62f-5f7f958aa687","responseTime":33,"status":200,"url":"/devices/2931b772-df76-4b70-b859-5280d649c4c2?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":339,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":339,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.767405,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b443eba4-44ff-4aea-bd40-5eae77e14581","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072508.4519613} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ba0f0a60-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F06370bc2-cd5a-4806-ba2d-7c0211f079d6#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F06370bc2-cd5a-4806-ba2d-7c0211f079d6","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"84db6e73-edf8-4e60-9d36-4ab9341db02a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072508.4530463} device-1 | {"level":"info","message":"GET /devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9? 200 32ms","method":"GET","requestID":"ba0f0a60-8ba4-11ef-a62f-5f7f958aa687","responseTime":32,"status":200,"url":"/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9?"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ba12b3e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","object_type":"device","rebac_allow":false,"scope_allow":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":"ba12b3e0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3d5bc67b-cd29-49df-81c5-b50515c0ed78","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072508.4533157} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ba1488a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 32ms","method":"POST","requestID":"7058bb8abc44cfa0b70427346afbe2f3","responseTime":32,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ba12b3e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9/signaling 200 17ms","method":"POST","requestID":"ba12b3e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9/signaling"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":340,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2931b772-df76-4b70-b859-5280d649c4c2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a5490c9c-5c07-42f9-87f9-a83007f7cb36","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072508.4648886} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":340,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.086181,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2931b772-df76-4b70-b859-5280d649c4c2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ba1488a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2931b772-df76-4b70-b859-5280d649c4c2","object_type":"device","rebac_allow":false,"scope_allow":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":"ba1488a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ba1488a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/2931b772-df76-4b70-b859-5280d649c4c2/signaling 200 12ms","method":"POST","requestID":"ba1488a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/2931b772-df76-4b70-b859-5280d649c4c2/signaling"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"7058bb8abc44cfa0b70427346afbe2f3"} experiment-1 | {"level":"info","message":"POST /experiments? 201 183ms","method":"POST","requestID":"7058bb8abc44cfa0b70427346afbe2f3","responseTime":183,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:08 +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":"7058bb8abc44cfa0b70427346afbe2f3"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ba1720b0-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwOH0.Oq3xY6Nxz5bGl0oOQ1JtDd-mk1uIKNby6SGI5t0Vyoc","level":"info","message":"auth send jwt","requestID":"8c0bea0500f5509a1ce780900f38c29d"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8c0bea0500f5509a1ce780900f38c29d","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":341,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:08Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8c0bea0500f5509a1ce780900f38c29d"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"129dccfb-359a-48c0-8392-8ca51dc199f1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072508.4808671} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":341,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.592141,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":342,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ba1720b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","object_type":"device","rebac_allow":false,"scope_allow":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":"ba1720b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":342,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.812445,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2931b772-df76-4b70-b859-5280d649c4c2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"8c0bea0500f5509a1ce780900f38c29d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2931b772-df76-4b70-b859-5280d649c4c2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072508,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwOH0.Oq3xY6Nxz5bGl0oOQ1JtDd-mk1uIKNby6SGI5t0Vyoc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"8c0bea0500f5509a1ce780900f38c29d","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ba1720b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9/signaling 200 12ms","method":"POST","requestID":"ba1720b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9/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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2931b772-df76-4b70-b859-5280d649c4c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2931b772-df76-4b70-b859-5280d649c4c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:06.010981834Z"}]},"request_id":"67b7dbab-cd11-41b5-8aa9-97f9d8d77635","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072508.4882622} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"7058bb8abc44cfa0b70427346afbe2f3"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8c0bea0500f5509a1ce780900f38c29d","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ba1991b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ba19b8c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8c0bea0500f5509a1ce780900f38c29d"} gateway-1 | {"time_local":"16/Oct/2024:09:55:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/2931b772-df76-4b70-b859-5280d649c4c2? 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":"8c0bea0500f5509a1ce780900f38c29d"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":343,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:08Z"} device-1 | {"level":"info","message":"GET /devices/2931b772-df76-4b70-b859-5280d649c4c2? 200 16ms","method":"GET","requestID":"8c0bea0500f5509a1ce780900f38c29d","responseTime":16,"status":200,"url":"/devices/2931b772-df76-4b70-b859-5280d649c4c2?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":343,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.639298,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Received request.","req_id":344,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2931b772-df76-4b70-b859-5280d649c4c2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ba1991b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2931b772-df76-4b70-b859-5280d649c4c2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072508,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwOH0.Oq3xY6Nxz5bGl0oOQ1JtDd-mk1uIKNby6SGI5t0Vyoc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ba1991b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59278","level":"info","msg":"Sent response.","req_id":344,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.743949,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ba19b8c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072508,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwOH0.Oq3xY6Nxz5bGl0oOQ1JtDd-mk1uIKNby6SGI5t0Vyoc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ba19b8c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwOH0.Oq3xY6Nxz5bGl0oOQ1JtDd-mk1uIKNby6SGI5t0Vyoc","level":"info","message":"auth send jwt","requestID":"91ffeeb408ce2913022c23a1b288d2d4"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"91ffeeb408ce2913022c23a1b288d2d4","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"91ffeeb408ce2913022c23a1b288d2d4"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2931b772-df76-4b70-b859-5280d649c4c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2931b772-df76-4b70-b859-5280d649c4c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:06.010981834Z"}]},"request_id":"83e03d18-2b59-46be-ba9f-09aab8e0f113","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072508.5006514} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ba1991b0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:06.052263062Z"}]},"request_id":"98c8cc77-df36-494b-aa64-9c8e28700ebe","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072508.5021017} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"ba19b8c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ba1991b0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":345,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":345,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.714849,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:08Z"} device-1 | {"level":"info","message":"GET /devices/2931b772-df76-4b70-b859-5280d649c4c2? 200 14ms","method":"GET","requestID":"ba1991b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/2931b772-df76-4b70-b859-5280d649c4c2?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"91ffeeb408ce2913022c23a1b288d2d4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072508,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwOH0.Oq3xY6Nxz5bGl0oOQ1JtDd-mk1uIKNby6SGI5t0Vyoc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"91ffeeb408ce2913022c23a1b288d2d4","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ba19b8c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9? 200 17ms","method":"GET","requestID":"ba19b8c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:06.052263062Z"}]},"request_id":"7ee4be69-a591-49da-9183-5de9a445245e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072508.5098102} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6"},"level":"info","message":"Building connection plan","requestID":"7058bb8abc44cfa0b70427346afbe2f3"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"4c53689a-d52b-4785-a160-108c784cbdd1"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"6bd8dc80-f421-498d-ab60-b5d12eccf1f8"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"f50757e4-35a2-4490-97e8-f033c929f7d1"}]},"level":"info","message":"Built pairwise service configurations","requestID":"7058bb8abc44cfa0b70427346afbe2f3"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"91ffeeb408ce2913022c23a1b288d2d4","responseTime":3,"status":200,"url":"/relations/query"} 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/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9"},{"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/2931b772-df76-4b70-b859-5280d649c4c2"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"7058bb8abc44cfa0b70427346afbe2f3"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"ba1cc600-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"91ffeeb408ce2913022c23a1b288d2d4"} gateway-1 | {"time_local":"16/Oct/2024:09:55:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9? 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":"91ffeeb408ce2913022c23a1b288d2d4"} device-1 | {"level":"info","message":"GET /devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9? 200 15ms","method":"GET","requestID":"91ffeeb408ce2913022c23a1b288d2d4","responseTime":15,"status":200,"url":"/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":346,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":346,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.748453,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ba1cc600-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072508,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUwOH0.Oq3xY6Nxz5bGl0oOQ1JtDd-mk1uIKNby6SGI5t0Vyoc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ba1cc600-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"e734703a-ce74-47e7-8759-b336b90382e5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072508.5244796} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d7bd7369-d93e-4fef-9b54-cad1250cbb72","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072508.5248065} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"ba1cc600-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"ba1cc600-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"ba1cc600-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/82377d2b-8125-44c6-9481-d683f3ef72bb'","requestID":"ba1cc600-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/82377d2b-8125-44c6-9481-d683f3ef72bb'","requestID":"ba1cc600-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"ba1cc600-8ba4-11ef-a62f-5f7f958aa687"} 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":"ba1cc600-8ba4-11ef-a62f-5f7f958aa687","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":"ba1cc600-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"7058bb8abc44cfa0b70427346afbe2f3"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ba250360-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":347,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2931b772-df76-4b70-b859-5280d649c4c2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9c861ddf-e3bc-404a-ab7d-c283008b19f9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072508.5705721} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":347,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.184092,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2931b772-df76-4b70-b859-5280d649c4c2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ba250360-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2931b772-df76-4b70-b859-5280d649c4c2","object_type":"device","rebac_allow":false,"scope_allow":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":"ba250360-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ba250360-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/2931b772-df76-4b70-b859-5280d649c4c2/signaling 200 8ms","method":"POST","requestID":"ba250360-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/2931b772-df76-4b70-b859-5280d649c4c2/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ba268a00-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":348,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c2e7f352-1aa9-4cb8-b374-6b7ef2924863","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072508.581325} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":348,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.899007,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ba268a00-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","object_type":"device","rebac_allow":false,"scope_allow":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":"ba268a00-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ba268a00-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9/signaling 200 9ms","method":"POST","requestID":"ba268a00-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9/signaling"} device-1 | {"device":"0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"device":"2931b772-df76-4b70-b859-5280d649c4c2","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":"82377d2b-8125-44c6-9481-d683f3ef72bb","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 4929644148461424877 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:A8vx\r\na=ice-pwd:054V0KL/HBdd7wTmXdV7wZ2r\r\na=ice-options:trickle\r\na=fingerprint:sha-256 1C:9F:E4:D4:09:0B:BC:4B:B5:3B:57:30:DD:7D:BC:CC:5D:68:11:86:45:26:2D:0B:EE:91:B3:DF:F1:BE:13:4E\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"device":"0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:3614383797 1 udp 2113937151 cd2ed01a-71d1-400a-ac6f-a3090cb98ec1.local 56174 typ host generation 0 ufrag A8vx network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1396864202 1 udp 1677729535 141.24.211.56 56174 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag A8vx network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","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/82377d2b-8125-44c6-9481-d683f3ef72bb' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"82377d2b-8125-44c6-9481-d683f3ef72bb","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","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/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9'"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"54dba8e8b6dfbeb63292e7af15ddce40","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9'"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"54dba8e8b6dfbeb63292e7af15ddce40","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/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9"},{"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/2931b772-df76-4b70-b859-5280d649c4c2"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/82377d2b-8125-44c6-9481-d683f3ef72bb"}}},"level":"info","message":"received a callback","requestID":"54dba8e8b6dfbeb63292e7af15ddce40"} device-1 | {"device":"2931b772-df76-4b70-b859-5280d649c4c2","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":"2931b772-df76-4b70-b859-5280d649c4c2","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":"2931b772-df76-4b70-b859-5280d649c4c2","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 9ms","method":"POST","requestID":"54dba8e8b6dfbeb63292e7af15ddce40","responseTime":9,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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":"54dba8e8b6dfbeb63292e7af15ddce40"} device-1 | {"data":{"peerconnection":"82377d2b-8125-44c6-9481-d683f3ef72bb","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"2931b772-df76-4b70-b859-5280d649c4c2","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":"0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"2931b772-df76-4b70-b859-5280d649c4c2","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":"82377d2b-8125-44c6-9481-d683f3ef72bb","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","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/82377d2b-8125-44c6-9481-d683f3ef72bb' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"82377d2b-8125-44c6-9481-d683f3ef72bb","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"82cac577e4faf9ff132ecda3c9e4b0d7","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"82cac577e4faf9ff132ecda3c9e4b0d7","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/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9"},{"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/2931b772-df76-4b70-b859-5280d649c4c2"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/82377d2b-8125-44c6-9481-d683f3ef72bb"}}},"level":"info","message":"received a callback","requestID":"82cac577e4faf9ff132ecda3c9e4b0d7"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"bb6599b0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":349,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:10Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F82377d2b-8125-44c6-9481-d683f3ef72bb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dec8d5cb-5860-412a-aee4-0aff5077f755","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072510.6738324} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":349,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.176984,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:10Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/82377d2b-8125-44c6-9481-d683f3ef72bb","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bb6599b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/82377d2b-8125-44c6-9481-d683f3ef72bb","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":"bb6599b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"bb6599b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/82377d2b-8125-44c6-9481-d683f3ef72bb 200 12ms","method":"GET","requestID":"bb6599b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/peerconnections/82377d2b-8125-44c6-9481-d683f3ef72bb"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 51ms","method":"POST","requestID":"82cac577e4faf9ff132ecda3c9e4b0d7","responseTime":51,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.056","http_referrer":"","http_user_agent":"node-fetch","requestID":"82cac577e4faf9ff132ecda3c9e4b0d7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"bb6c9e90-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":350,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:10Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"130e430b-8dac-4d70-a886-dec2f8f8b19c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072510.7196124} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":350,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.472407,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bb6c9e90-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","object_type":"device","rebac_allow":false,"scope_allow":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":"bb6c9e90-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"bb6c9e90-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9/signaling 200 12ms","method":"POST","requestID":"bb6c9e90-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"bb6ee880-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":351,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:10Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2931b772-df76-4b70-b859-5280d649c4c2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"66140e38-7133-4dbf-a231-33a20ba98d78","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072510.7340572} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":351,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.215922,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2931b772-df76-4b70-b859-5280d649c4c2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bb6ee880-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2931b772-df76-4b70-b859-5280d649c4c2","object_type":"device","rebac_allow":false,"scope_allow":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":"bb6ee880-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"bb6ee880-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/2931b772-df76-4b70-b859-5280d649c4c2/signaling 200 15ms","method":"POST","requestID":"bb6ee880-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/2931b772-df76-4b70-b859-5280d649c4c2/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxMH0.mojGWODBE3ToKrbyM6MIY3rqYeMn_U1Q3t39K03QnKE","level":"info","message":"auth send jwt","requestID":"2651411ae49149a5607cc77b22c94872"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"2651411ae49149a5607cc77b22c94872","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6","requestID":"2651411ae49149a5607cc77b22c94872"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":352,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:10Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":352,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.215818,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:10Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"2651411ae49149a5607cc77b22c94872","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072510,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxMH0.mojGWODBE3ToKrbyM6MIY3rqYeMn_U1Q3t39K03QnKE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2651411ae49149a5607cc77b22c94872","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6","requestID":"2651411ae49149a5607cc77b22c94872"} gateway-1 | {"time_local":"16/Oct/2024:09:55:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6 HTTP/1.1","status": "200","body_bytes_sent":"885","request_time":"0.028","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2651411ae49149a5607cc77b22c94872"} experiment-1 | {"level":"info","message":"GET /experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6 200 21ms","method":"GET","requestID":"2651411ae49149a5607cc77b22c94872","responseTime":21,"status":200,"url":"/experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxMH0.mojGWODBE3ToKrbyM6MIY3rqYeMn_U1Q3t39K03QnKE","level":"info","message":"auth send jwt","requestID":"4e678ea7dd78eb9860e4f79d178c16ab"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"4e678ea7dd78eb9860e4f79d178c16ab","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6","requestID":"4e678ea7dd78eb9860e4f79d178c16ab"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":353,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:10Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":353,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.532049,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:10Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"4e678ea7dd78eb9860e4f79d178c16ab","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072510,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxMH0.mojGWODBE3ToKrbyM6MIY3rqYeMn_U1Q3t39K03QnKE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4e678ea7dd78eb9860e4f79d178c16ab","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6"},"level":"info","message":"Attempting to finish experiment","requestID":"4e678ea7dd78eb9860e4f79d178c16ab"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"bb899c70-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":354,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:10Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":354,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.327748,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:10Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/82377d2b-8125-44c6-9481-d683f3ef72bb","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bb899c70-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/82377d2b-8125-44c6-9481-d683f3ef72bb","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072510,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxMH0.mojGWODBE3ToKrbyM6MIY3rqYeMn_U1Q3t39K03QnKE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"bb899c70-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/82377d2b-8125-44c6-9481-d683f3ef72bb","device":"0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"2931b772-df76-4b70-b859-5280d649c4c2","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":"2931b772-df76-4b70-b859-5280d649c4c2","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":"2931b772-df76-4b70-b859-5280d649c4c2","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/82377d2b-8125-44c6-9481-d683f3ef72bb' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/82377d2b-8125-44c6-9481-d683f3ef72bb' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"82377d2b-8125-44c6-9481-d683f3ef72bb","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9ddf06a4d37386eed9bec55d3a328ffc","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"9ddf06a4d37386eed9bec55d3a328ffc","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F82377d2b-8125-44c6-9481-d683f3ef72bb': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F82377d2b-8125-44c6-9481-d683f3ef72bb","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"8aade75d-549a-4d10-a3c1-a7c92264599e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072510.9368138} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7ec9ecb3bf4691387aa3d1cfc5f2ed34","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"aa06f316-4670-47f7-992b-c62f98208173","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072510.937618} 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/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9"},{"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/2931b772-df76-4b70-b859-5280d649c4c2"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/82377d2b-8125-44c6-9481-d683f3ef72bb"}}},"level":"info","message":"received a callback","requestID":"9ddf06a4d37386eed9bec55d3a328ffc"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"7ec9ecb3bf4691387aa3d1cfc5f2ed34","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"bb899c70-8ba4-11ef-a62f-5f7f958aa687","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/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9"},{"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/2931b772-df76-4b70-b859-5280d649c4c2"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/82377d2b-8125-44c6-9481-d683f3ef72bb"}}},"level":"info","message":"received a callback","requestID":"7ec9ecb3bf4691387aa3d1cfc5f2ed34"} device-1 | {"data":{"peerconnection":"82377d2b-8125-44c6-9481-d683f3ef72bb","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"bb899c70-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/82377d2b-8125-44c6-9481-d683f3ef72bb 204 56ms","method":"DELETE","requestID":"bb899c70-8ba4-11ef-a62f-5f7f958aa687","responseTime":56,"status":204,"url":"/peerconnections/82377d2b-8125-44c6-9481-d683f3ef72bb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6"},"level":"info","message":"Successfully finished experiment","requestID":"4e678ea7dd78eb9860e4f79d178c16ab"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"bb96bbd0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":355,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:10Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b3e618b8-e8b4-48f2-bb28-21f58aea830d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072510.9963324} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":355,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.734328,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bb96bbd0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9","object_type":"device","rebac_allow":false,"scope_allow":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":"bb96bbd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"bb96bbd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9/signaling 200 16ms","method":"POST","requestID":"bb96bbd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F06370bc2-cd5a-4806-ba2d-7c0211f079d6': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F06370bc2-cd5a-4806-ba2d-7c0211f079d6","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"2b1d51f3-bf13-48d0-a7c1-550f54e6d7f4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072511.004083} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"27480b36-d536-439a-81e9-8cc860674458","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072511.004649} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"4e678ea7dd78eb9860e4f79d178c16ab","responseTime":21,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"bb99c910-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":356,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:11Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2931b772-df76-4b70-b859-5280d649c4c2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6135081c-dcf8-479d-941a-bb20c55028fe","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072511.015931} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":356,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.862778,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:11Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2931b772-df76-4b70-b859-5280d649c4c2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bb99c910-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2931b772-df76-4b70-b859-5280d649c4c2","object_type":"device","rebac_allow":false,"scope_allow":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":"bb99c910-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"bb99c910-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/2931b772-df76-4b70-b859-5280d649c4c2/signaling 200 14ms","method":"POST","requestID":"bb99c910-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/2931b772-df76-4b70-b859-5280d649c4c2/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6","requestID":"4e678ea7dd78eb9860e4f79d178c16ab"} gateway-1 | {"time_local":"16/Oct/2024:09:55:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6 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":"4e678ea7dd78eb9860e4f79d178c16ab"} gateway-1 | {"time_local":"16/Oct/2024:09:55:11 +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.496","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"a6565375b5f95a6aa1944844e9184683"} experiment-1 | {"level":"info","message":"DELETE /experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6 204 201ms","method":"DELETE","requestID":"4e678ea7dd78eb9860e4f79d178c16ab","responseTime":201,"status":204,"url":"/experiments/06370bc2-cd5a-4806-ba2d-7c0211f079d6"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 151ms","method":"POST","requestID":"9ddf06a4d37386eed9bec55d3a328ffc","responseTime":151,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.156","http_referrer":"","http_user_agent":"node-fetch","requestID":"9ddf06a4d37386eed9bec55d3a328ffc"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 149ms","method":"POST","requestID":"7ec9ecb3bf4691387aa3d1cfc5f2ed34","responseTime":149,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.158","http_referrer":"","http_user_agent":"node-fetch","requestID":"7ec9ecb3bf4691387aa3d1cfc5f2ed34"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxMX0.E_kK9FVaa4UU-y3mfEHcJMxl9khNmi0wKDjGLXvOBDw","level":"info","message":"auth send jwt","requestID":"3c6dbab34070c6ef9c1e940336a3fcc7"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"3c6dbab34070c6ef9c1e940336a3fcc7","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"3c6dbab34070c6ef9c1e940336a3fcc7"} gateway-1 | {"time_local":"16/Oct/2024:09:55:11 +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.970","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"67c52b44e1df847cf3462a8a693a80a6"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":357,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:11Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":357,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.892768,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:11Z"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/2931b772-df76-4b70-b859-5280d649c4c2' closed"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3c6dbab34070c6ef9c1e940336a3fcc7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072511,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxMX0.E_kK9FVaa4UU-y3mfEHcJMxl9khNmi0wKDjGLXvOBDw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3c6dbab34070c6ef9c1e940336a3fcc7","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/0e4864b8-0c92-4e15-bfbc-7d53b732ebe9' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da97c8b-7dbc-4cea-864a-833d83b4053c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"e69c91e3-9a55-4492-b184-3780ec200fc9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072511.116522} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3c6dbab34070c6ef9c1e940336a3fcc7","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fdcd18a4-58a7-4a9b-b852-502a17e3f287","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072511.1225433} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"3c6dbab34070c6ef9c1e940336a3fcc7","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da97c8b-7dbc-4cea-864a-833d83b4053c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"447ae900-44fb-46b1-a1b2-9a826622ec70","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072511.1325002} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ed08c102-82da-470f-a606-65f1c6096f69","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072511.1325634} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"3c6dbab34070c6ef9c1e940336a3fcc7","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da97c8b-7dbc-4cea-864a-833d83b4053c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da97c8b-7dbc-4cea-864a-833d83b4053c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:11.132481004Z"}]},"request_id":"38392a80-88d8-468b-b3cf-4da3b048313e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072511.1378176} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"3c6dbab34070c6ef9c1e940336a3fcc7","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"3c6dbab34070c6ef9c1e940336a3fcc7"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.053","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3c6dbab34070c6ef9c1e940336a3fcc7"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"3c6dbab34070c6ef9c1e940336a3fcc7","responseTime":46,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxMX0.E_kK9FVaa4UU-y3mfEHcJMxl9khNmi0wKDjGLXvOBDw","level":"info","message":"auth send jwt","requestID":"def1b94f36a3661feae704ed31ca297c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"def1b94f36a3661feae704ed31ca297c","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"def1b94f36a3661feae704ed31ca297c"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":358,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:11Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":358,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.674142,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:11Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"def1b94f36a3661feae704ed31ca297c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072511,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxMX0.E_kK9FVaa4UU-y3mfEHcJMxl9khNmi0wKDjGLXvOBDw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"def1b94f36a3661feae704ed31ca297c","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F946711af-5a09-4abe-96e3-3c3f5361b5a2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"f2410048-26e4-417b-bc89-5c0a8041b620","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072511.163345} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"def1b94f36a3661feae704ed31ca297c","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"dd05b0af-4c5e-47cc-87ec-d66e2315d3d4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072511.1686544} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"def1b94f36a3661feae704ed31ca297c","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F946711af-5a09-4abe-96e3-3c3f5361b5a2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"6579da8a-4dd0-452c-8034-d25a322afb38","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072511.1860714} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"029c6130-becf-411a-b0a6-9ed76e1e6c11","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072511.1861138} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"def1b94f36a3661feae704ed31ca297c","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F946711af-5a09-4abe-96e3-3c3f5361b5a2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F946711af-5a09-4abe-96e3-3c3f5361b5a2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:11.186045648Z"}]},"request_id":"3b6bdda2-034e-413a-883e-91b4f46725be","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072511.1906686} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"def1b94f36a3661feae704ed31ca297c","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"def1b94f36a3661feae704ed31ca297c"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"def1b94f36a3661feae704ed31ca297c","responseTime":46,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.051","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"def1b94f36a3661feae704ed31ca297c"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"845d1b5df345c9f50d5dd300dda62e00","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"845d1b5df345c9f50d5dd300dda62e00","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/6da97c8b-7dbc-4cea-864a-833d83b4053c/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":"845d1b5df345c9f50d5dd300dda62e00"} device-1 | {"level":"info","message":"OPTIONS /devices/6da97c8b-7dbc-4cea-864a-833d83b4053c/websocket 200 1ms","method":"OPTIONS","requestID":"845d1b5df345c9f50d5dd300dda62e00","responseTime":1,"status":200,"url":"/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxM30.Muyb6iOOvohlLgC0QYYEIyCpIUbNjO7Wp-rAk4Svgus","level":"info","message":"auth send jwt","requestID":"93bd6e382aa106345a38b075f0fdd9a6"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"93bd6e382aa106345a38b075f0fdd9a6","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"93bd6e382aa106345a38b075f0fdd9a6"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":359,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":359,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.673988,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"93bd6e382aa106345a38b075f0fdd9a6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072513,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxM30.Muyb6iOOvohlLgC0QYYEIyCpIUbNjO7Wp-rAk4Svgus"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"93bd6e382aa106345a38b075f0fdd9a6","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7ced5cd2d3c73701c9b43e85a960297d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"7ced5cd2d3c73701c9b43e85a960297d","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/946711af-5a09-4abe-96e3-3c3f5361b5a2/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":"7ced5cd2d3c73701c9b43e85a960297d"} device-1 | {"level":"info","message":"OPTIONS /devices/946711af-5a09-4abe-96e3-3c3f5361b5a2/websocket 200 1ms","method":"OPTIONS","requestID":"7ced5cd2d3c73701c9b43e85a960297d","responseTime":1,"status":200,"url":"/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxM30.Muyb6iOOvohlLgC0QYYEIyCpIUbNjO7Wp-rAk4Svgus","level":"info","message":"auth send jwt","requestID":"ff2b8888530084c4a3a822f966d67f51"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ff2b8888530084c4a3a822f966d67f51","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"ff2b8888530084c4a3a822f966d67f51"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"93bd6e382aa106345a38b075f0fdd9a6"} gateway-1 | {"time_local":"16/Oct/2024:09:55:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/6da97c8b-7dbc-4cea-864a-833d83b4053c/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":"93bd6e382aa106345a38b075f0fdd9a6"} device-1 | {"level":"info","message":"POST /devices/6da97c8b-7dbc-4cea-864a-833d83b4053c/websocket 200 26ms","method":"POST","requestID":"93bd6e382aa106345a38b075f0fdd9a6","responseTime":26,"status":200,"url":"/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c/websocket"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":360,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":360,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.051044,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ff2b8888530084c4a3a822f966d67f51","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072513,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxM30.Muyb6iOOvohlLgC0QYYEIyCpIUbNjO7Wp-rAk4Svgus"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ff2b8888530084c4a3a822f966d67f51","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"ff2b8888530084c4a3a822f966d67f51"} gateway-1 | {"time_local":"16/Oct/2024:09:55:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/946711af-5a09-4abe-96e3-3c3f5361b5a2/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":"ff2b8888530084c4a3a822f966d67f51"} device-1 | {"level":"info","message":"POST /devices/946711af-5a09-4abe-96e3-3c3f5361b5a2/websocket 200 26ms","method":"POST","requestID":"ff2b8888530084c4a3a822f966d67f51","responseTime":26,"status":200,"url":"/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"758848650cf2e12a03ca824dc1a649fd","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"758848650cf2e12a03ca824dc1a649fd","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/6da97c8b-7dbc-4cea-864a-833d83b4053c? 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":"758848650cf2e12a03ca824dc1a649fd"} device-1 | {"level":"info","message":"OPTIONS /devices/6da97c8b-7dbc-4cea-864a-833d83b4053c? 200 1ms","method":"OPTIONS","requestID":"758848650cf2e12a03ca824dc1a649fd","responseTime":1,"status":200,"url":"/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a94330ff9b1153cab58e9fee922cc2e4","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"a94330ff9b1153cab58e9fee922cc2e4","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/946711af-5a09-4abe-96e3-3c3f5361b5a2? 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":"a94330ff9b1153cab58e9fee922cc2e4"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxM30.Muyb6iOOvohlLgC0QYYEIyCpIUbNjO7Wp-rAk4Svgus","level":"info","message":"auth send jwt","requestID":"815b929be76928440d7701e9ab275d94"} device-1 | {"level":"info","message":"OPTIONS /devices/946711af-5a09-4abe-96e3-3c3f5361b5a2? 200 1ms","method":"OPTIONS","requestID":"a94330ff9b1153cab58e9fee922cc2e4","responseTime":1,"status":200,"url":"/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2?"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"815b929be76928440d7701e9ab275d94","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"815b929be76928440d7701e9ab275d94"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":361,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:13Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxM30.Muyb6iOOvohlLgC0QYYEIyCpIUbNjO7Wp-rAk4Svgus","level":"info","message":"auth send jwt","requestID":"7c369044d9316afae50bc6337a2c38e0"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"7c369044d9316afae50bc6337a2c38e0","responseTime":4,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":361,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.450727,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:13Z"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"7c369044d9316afae50bc6337a2c38e0"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"815b929be76928440d7701e9ab275d94","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072513,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxM30.Muyb6iOOvohlLgC0QYYEIyCpIUbNjO7Wp-rAk4Svgus"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"815b929be76928440d7701e9ab275d94","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":362,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":362,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.395113,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"7c369044d9316afae50bc6337a2c38e0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072513,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxM30.Muyb6iOOvohlLgC0QYYEIyCpIUbNjO7Wp-rAk4Svgus"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7c369044d9316afae50bc6337a2c38e0","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da97c8b-7dbc-4cea-864a-833d83b4053c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da97c8b-7dbc-4cea-864a-833d83b4053c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:11.132481004Z"}]},"request_id":"d0e9b783-e871-47ea-95dc-0f8446a79db5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.293126} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"815b929be76928440d7701e9ab275d94","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F946711af-5a09-4abe-96e3-3c3f5361b5a2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F946711af-5a09-4abe-96e3-3c3f5361b5a2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:11.186045648Z"}]},"request_id":"8c04adb2-02ef-4d5a-944e-781b735dee83","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.295342} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"7c369044d9316afae50bc6337a2c38e0","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c7cd67c9-0d40-45f0-9f19-172b784ee4a3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.3014293} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"815b929be76928440d7701e9ab275d94","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f3fad290-47d0-4fac-b3b4-4c62c34497a2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.3039372} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"7c369044d9316afae50bc6337a2c38e0","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F946711af-5a09-4abe-96e3-3c3f5361b5a2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F946711af-5a09-4abe-96e3-3c3f5361b5a2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:11.186045648Z"}]},"request_id":"e9598f3d-4de4-4987-93aa-4b8e10abc84c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.3093877} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"7c369044d9316afae50bc6337a2c38e0","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"7c369044d9316afae50bc6337a2c38e0"} device-1 | {"level":"info","message":"PATCH /devices/946711af-5a09-4abe-96e3-3c3f5361b5a2? 200 31ms","method":"PATCH","requestID":"7c369044d9316afae50bc6337a2c38e0","responseTime":31,"status":200,"url":"/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/946711af-5a09-4abe-96e3-3c3f5361b5a2? 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":"7c369044d9316afae50bc6337a2c38e0"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da97c8b-7dbc-4cea-864a-833d83b4053c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da97c8b-7dbc-4cea-864a-833d83b4053c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:11.132481004Z"}]},"request_id":"d2225045-a36b-46cd-af6c-910e18af4405","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.3211517} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"815b929be76928440d7701e9ab275d94","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"815b929be76928440d7701e9ab275d94"} gateway-1 | {"time_local":"16/Oct/2024:09:55:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/6da97c8b-7dbc-4cea-864a-833d83b4053c? 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":"815b929be76928440d7701e9ab275d94"} device-1 | {"level":"info","message":"PATCH /devices/6da97c8b-7dbc-4cea-864a-833d83b4053c? 200 49ms","method":"PATCH","requestID":"815b929be76928440d7701e9ab275d94","responseTime":49,"status":200,"url":"/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxM30.Muyb6iOOvohlLgC0QYYEIyCpIUbNjO7Wp-rAk4Svgus","level":"info","message":"auth send jwt","requestID":"7590472047d102d345f3c89fa3ca1442"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"7590472047d102d345f3c89fa3ca1442","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7590472047d102d345f3c89fa3ca1442"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":363,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":363,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.339919,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"7590472047d102d345f3c89fa3ca1442","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072513,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxM30.Muyb6iOOvohlLgC0QYYEIyCpIUbNjO7Wp-rAk4Svgus"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7590472047d102d345f3c89fa3ca1442","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da97c8b-7dbc-4cea-864a-833d83b4053c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da97c8b-7dbc-4cea-864a-833d83b4053c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:11.132481004Z"}]},"request_id":"a6d24525-124d-472b-a438-1ea2ce0467aa","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.3507369} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"7590472047d102d345f3c89fa3ca1442","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7590472047d102d345f3c89fa3ca1442"} gateway-1 | {"time_local":"16/Oct/2024:09:55:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6da97c8b-7dbc-4cea-864a-833d83b4053c? 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":"7590472047d102d345f3c89fa3ca1442"} device-1 | {"level":"info","message":"GET /devices/6da97c8b-7dbc-4cea-864a-833d83b4053c? 200 18ms","method":"GET","requestID":"7590472047d102d345f3c89fa3ca1442","responseTime":18,"status":200,"url":"/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxM30.Muyb6iOOvohlLgC0QYYEIyCpIUbNjO7Wp-rAk4Svgus","level":"info","message":"auth send jwt","requestID":"5157400a3a6cd109e767e3f4466126f1"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"5157400a3a6cd109e767e3f4466126f1","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5157400a3a6cd109e767e3f4466126f1"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":364,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":364,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.256128,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"5157400a3a6cd109e767e3f4466126f1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072513,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxM30.Muyb6iOOvohlLgC0QYYEIyCpIUbNjO7Wp-rAk4Svgus"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"5157400a3a6cd109e767e3f4466126f1","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F946711af-5a09-4abe-96e3-3c3f5361b5a2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F946711af-5a09-4abe-96e3-3c3f5361b5a2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:11.186045648Z"}]},"request_id":"176c5282-d9a6-48e2-88c6-79281b3f0d62","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.3779967} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"5157400a3a6cd109e767e3f4466126f1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5157400a3a6cd109e767e3f4466126f1"} gateway-1 | {"time_local":"16/Oct/2024:09:55:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/946711af-5a09-4abe-96e3-3c3f5361b5a2? 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":"5157400a3a6cd109e767e3f4466126f1"} device-1 | {"level":"info","message":"GET /devices/946711af-5a09-4abe-96e3-3c3f5361b5a2? 200 17ms","method":"GET","requestID":"5157400a3a6cd109e767e3f4466126f1","responseTime":17,"status":200,"url":"/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxM30.Muyb6iOOvohlLgC0QYYEIyCpIUbNjO7Wp-rAk4Svgus","level":"info","message":"auth send jwt","requestID":"80bd371891c21aa37bd7f36b79a0ed7e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"80bd371891c21aa37bd7f36b79a0ed7e","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"80bd371891c21aa37bd7f36b79a0ed7e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":365,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":365,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.097281,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"80bd371891c21aa37bd7f36b79a0ed7e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072513,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxM30.Muyb6iOOvohlLgC0QYYEIyCpIUbNjO7Wp-rAk4Svgus"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"80bd371891c21aa37bd7f36b79a0ed7e","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e"},"level":"info","message":"Attempting to run experiment","requestID":"80bd371891c21aa37bd7f36b79a0ed7e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e"},"level":"info","message":"Attempting to book experiment","requestID":"80bd371891c21aa37bd7f36b79a0ed7e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e"},"level":"info","message":"Successfully booked experiment","requestID":"80bd371891c21aa37bd7f36b79a0ed7e"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"bd0ce110-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"bd0d2f30-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":366,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":366,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.079228,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bd0ce110-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072513,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxM30.Muyb6iOOvohlLgC0QYYEIyCpIUbNjO7Wp-rAk4Svgus"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"bd0ce110-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:43590","level":"info","msg":"Received request.","req_id":367,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"client_addr":"127.0.0.1:43590","level":"info","msg":"Sent response.","req_id":367,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.344038,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bd0d2f30-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072513,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxM30.Muyb6iOOvohlLgC0QYYEIyCpIUbNjO7Wp-rAk4Svgus"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"bd0d2f30-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da97c8b-7dbc-4cea-864a-833d83b4053c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da97c8b-7dbc-4cea-864a-833d83b4053c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:11.132481004Z"}]},"request_id":"72252fcb-c3bf-487c-b5c3-0c54abd74b6e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.4545932} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"bd0ce110-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F946711af-5a09-4abe-96e3-3c3f5361b5a2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F946711af-5a09-4abe-96e3-3c3f5361b5a2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:11.186045648Z"}]},"request_id":"af6aebaa-7da4-4672-97ab-5b8257c826df","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.4597237} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"bd0ce110-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"bd0d2f30-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/6da97c8b-7dbc-4cea-864a-833d83b4053c? 200 21ms","method":"GET","requestID":"bd0ce110-8ba4-11ef-a62f-5f7f958aa687","responseTime":21,"status":200,"url":"/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"bd0d2f30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/946711af-5a09-4abe-96e3-3c3f5361b5a2? 200 24ms","method":"GET","requestID":"bd0d2f30-8ba4-11ef-a62f-5f7f958aa687","responseTime":24,"status":200,"url":"/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e"},"level":"info","message":"Setting up experiment","requestID":"80bd371891c21aa37bd7f36b79a0ed7e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"80bd371891c21aa37bd7f36b79a0ed7e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e"},"level":"info","message":"Successfully locked booking for experiment","requestID":"80bd371891c21aa37bd7f36b79a0ed7e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"80bd371891c21aa37bd7f36b79a0ed7e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"80bd371891c21aa37bd7f36b79a0ed7e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e"},"level":"info","message":"Attempting to update booking for experiment","requestID":"80bd371891c21aa37bd7f36b79a0ed7e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e"},"level":"info","message":"Successfully updated booking for experiment","requestID":"80bd371891c21aa37bd7f36b79a0ed7e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e"},"level":"info","message":"Successfully set up experiment","requestID":"80bd371891c21aa37bd7f36b79a0ed7e"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"bd193d20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"bd19b250-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"bd1a0070-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e"},"level":"info","message":"Successfully running experiment","requestID":"80bd371891c21aa37bd7f36b79a0ed7e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":368,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":368,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.666432,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bd193d20-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072513,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxM30.Muyb6iOOvohlLgC0QYYEIyCpIUbNjO7Wp-rAk4Svgus"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"bd193d20-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:43590","level":"info","msg":"Received request.","req_id":369,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"client_addr":"127.0.0.1:43590","level":"info","msg":"Sent response.","req_id":369,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.513949,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bd19b250-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072513,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxM30.Muyb6iOOvohlLgC0QYYEIyCpIUbNjO7Wp-rAk4Svgus"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"bd19b250-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":370,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da97c8b-7dbc-4cea-864a-833d83b4053c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5ce2b099-35ee-463e-b0d1-7968c9f7bca5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.5343895} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":370,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.450695,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bd1a0070-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c","object_type":"device","rebac_allow":false,"scope_allow":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":"bd1a0070-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da97c8b-7dbc-4cea-864a-833d83b4053c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da97c8b-7dbc-4cea-864a-833d83b4053c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:11.132481004Z"}]},"request_id":"c7c81cc8-7a8b-4ef1-8506-3d7dfd47ae1f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.5375044} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"bd193d20-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F946711af-5a09-4abe-96e3-3c3f5361b5a2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F946711af-5a09-4abe-96e3-3c3f5361b5a2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:11.186045648Z"}]},"request_id":"9e772aa4-6f26-400b-982a-aa85a6980304","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.5403118} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"bd19b250-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"bd1a0070-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/6da97c8b-7dbc-4cea-864a-833d83b4053c/signaling 200 15ms","method":"POST","requestID":"bd1a0070-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"bd1cbf90-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"bd193d20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/6da97c8b-7dbc-4cea-864a-833d83b4053c? 200 25ms","method":"GET","requestID":"bd193d20-8ba4-11ef-a62f-5f7f958aa687","responseTime":25,"status":200,"url":"/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"bd19b250-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/946711af-5a09-4abe-96e3-3c3f5361b5a2? 200 24ms","method":"GET","requestID":"bd19b250-8ba4-11ef-a62f-5f7f958aa687","responseTime":24,"status":200,"url":"/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":371,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F946711af-5a09-4abe-96e3-3c3f5361b5a2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4d2087e7-d4ee-49bd-afda-c0e18ba86b16","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.550752} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff78cebe8-e5a6-47c8-ba01-b89a71ad355e#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff78cebe8-e5a6-47c8-ba01-b89a71ad355e","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"03996032-0cfb-4bb1-b898-94f2468ca14f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.5514557} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":371,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.303964,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bd1cbf90-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2","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":"bd1dd100-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"bd1cbf90-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8bd34c9a-453f-415b-a316-fa78fad32df5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.5521307} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"80bd371891c21aa37bd7f36b79a0ed7e","responseTime":22,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":372,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:13Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"bd1cbf90-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/946711af-5a09-4abe-96e3-3c3f5361b5a2/signaling 200 11ms","method":"POST","requestID":"bd1cbf90-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da97c8b-7dbc-4cea-864a-833d83b4053c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"73765e0a-9b18-4f7a-b732-52cd8b769904","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.5575464} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":372,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.77025,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bd1dd100-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c","object_type":"device","rebac_allow":false,"scope_allow":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":"bd1dd100-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"80bd371891c21aa37bd7f36b79a0ed7e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"bd1dd100-8ba4-11ef-a62f-5f7f958aa687"} gateway-1 | {"time_local":"16/Oct/2024:09:55:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"778","request_time":"0.177","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"80bd371891c21aa37bd7f36b79a0ed7e"} experiment-1 | {"level":"info","message":"POST /experiments? 201 170ms","method":"POST","requestID":"80bd371891c21aa37bd7f36b79a0ed7e","responseTime":170,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"POST /devices/6da97c8b-7dbc-4cea-864a-833d83b4053c/signaling 200 10ms","method":"POST","requestID":"bd1dd100-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"bd1fccd0-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxM30.Muyb6iOOvohlLgC0QYYEIyCpIUbNjO7Wp-rAk4Svgus","level":"info","message":"auth send jwt","requestID":"c9718af3ab4fe3677734229ec099a9af"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c9718af3ab4fe3677734229ec099a9af","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c9718af3ab4fe3677734229ec099a9af"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":373,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F946711af-5a09-4abe-96e3-3c3f5361b5a2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5a32c422-c632-4c81-be4f-8491018c7318","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.5708003} authorization-1 | {"client_addr":"127.0.0.1:43590","level":"info","msg":"Received request.","req_id":374,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":373,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.312765,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bd1fccd0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2","object_type":"device","rebac_allow":false,"scope_allow":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":"bd1fccd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:43590","level":"info","msg":"Sent response.","req_id":374,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.828817,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c9718af3ab4fe3677734229ec099a9af","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072513,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxM30.Muyb6iOOvohlLgC0QYYEIyCpIUbNjO7Wp-rAk4Svgus"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"c9718af3ab4fe3677734229ec099a9af","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da97c8b-7dbc-4cea-864a-833d83b4053c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da97c8b-7dbc-4cea-864a-833d83b4053c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:11.132481004Z"}]},"request_id":"cd0fec98-003e-456a-9086-b3154d88fe9b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.5775588} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c9718af3ab4fe3677734229ec099a9af","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"bd1fccd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/946711af-5a09-4abe-96e3-3c3f5361b5a2/signaling 200 14ms","method":"POST","requestID":"bd1fccd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"80bd371891c21aa37bd7f36b79a0ed7e"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c9718af3ab4fe3677734229ec099a9af"} gateway-1 | {"time_local":"16/Oct/2024:09:55:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6da97c8b-7dbc-4cea-864a-833d83b4053c? 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":"c9718af3ab4fe3677734229ec099a9af"} device-1 | {"level":"info","message":"GET /devices/6da97c8b-7dbc-4cea-864a-833d83b4053c? 200 14ms","method":"GET","requestID":"c9718af3ab4fe3677734229ec099a9af","responseTime":14,"status":200,"url":"/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c?"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"bd228bf0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"bd22b300-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":375,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":375,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.804989,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"client_addr":"127.0.0.1:43590","level":"info","msg":"Received request.","req_id":376,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bd228bf0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072513,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxM30.Muyb6iOOvohlLgC0QYYEIyCpIUbNjO7Wp-rAk4Svgus"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxM30.Muyb6iOOvohlLgC0QYYEIyCpIUbNjO7Wp-rAk4Svgus","level":"info","message":"auth send jwt","requestID":"6c69b7b20f7b8a1c35169b78ae4d4c2d"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"bd228bf0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:43590","level":"info","msg":"Sent response.","req_id":376,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.633383,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:13Z"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"6c69b7b20f7b8a1c35169b78ae4d4c2d","responseTime":4,"status":200,"url":"/auth"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bd22b300-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072513,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxM30.Muyb6iOOvohlLgC0QYYEIyCpIUbNjO7Wp-rAk4Svgus"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"bd22b300-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6c69b7b20f7b8a1c35169b78ae4d4c2d"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da97c8b-7dbc-4cea-864a-833d83b4053c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da97c8b-7dbc-4cea-864a-833d83b4053c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:11.132481004Z"}]},"request_id":"beb908cb-7df3-4611-966e-70d36bf23375","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.5911248} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"bd228bf0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F946711af-5a09-4abe-96e3-3c3f5361b5a2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F946711af-5a09-4abe-96e3-3c3f5361b5a2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:11.186045648Z"}]},"request_id":"9a56b8ee-8c6f-48a2-a531-06070ca32e27","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.5929818} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"bd22b300-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":377,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":377,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.694881,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"6c69b7b20f7b8a1c35169b78ae4d4c2d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072513,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxM30.Muyb6iOOvohlLgC0QYYEIyCpIUbNjO7Wp-rAk4Svgus"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"bd228bf0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6c69b7b20f7b8a1c35169b78ae4d4c2d","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"GET /devices/6da97c8b-7dbc-4cea-864a-833d83b4053c? 200 15ms","method":"GET","requestID":"bd228bf0-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"bd22b300-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/946711af-5a09-4abe-96e3-3c3f5361b5a2? 200 18ms","method":"GET","requestID":"bd22b300-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F946711af-5a09-4abe-96e3-3c3f5361b5a2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F946711af-5a09-4abe-96e3-3c3f5361b5a2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:11.186045648Z"}]},"request_id":"da2941d2-0344-4b46-a797-5f30d0b3d9de","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.602421} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e"},"level":"info","message":"Building connection plan","requestID":"80bd371891c21aa37bd7f36b79a0ed7e"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"b5d3f346-9f16-49cb-addf-a2ed4678c4b9"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"5b311b25-0eb0-4375-b7a8-d5c1cc5131c9"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/file","uuid":"6360877f-92ef-4362-afbb-4193fdbf5b3d"}]},"level":"info","message":"Built pairwise service configurations","requestID":"80bd371891c21aa37bd7f36b79a0ed7e"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6c69b7b20f7b8a1c35169b78ae4d4c2d","responseTime":3,"status":200,"url":"/relations/query"} 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/6da97c8b-7dbc-4cea-864a-833d83b4053c"},{"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/946711af-5a09-4abe-96e3-3c3f5361b5a2"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"80bd371891c21aa37bd7f36b79a0ed7e"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"bd25e750-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6c69b7b20f7b8a1c35169b78ae4d4c2d"} gateway-1 | {"time_local":"16/Oct/2024:09:55:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/946711af-5a09-4abe-96e3-3c3f5361b5a2? 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":"6c69b7b20f7b8a1c35169b78ae4d4c2d"} device-1 | {"level":"info","message":"GET /devices/946711af-5a09-4abe-96e3-3c3f5361b5a2? 200 17ms","method":"GET","requestID":"6c69b7b20f7b8a1c35169b78ae4d4c2d","responseTime":17,"status":200,"url":"/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":378,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":378,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.794777,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bd25e750-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072513,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxM30.Muyb6iOOvohlLgC0QYYEIyCpIUbNjO7Wp-rAk4Svgus"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"bd25e750-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"a880255b-4e07-4efc-978f-6554e7cdecbd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.6191545} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3bf7471e-63cc-4a0a-8642-d02170c826c9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.6193871} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"bd25e750-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"bd25e750-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"bd25e750-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/f4f55d61-3fa0-40b0-b28d-d9d87546bd33'","requestID":"bd25e750-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/f4f55d61-3fa0-40b0-b28d-d9d87546bd33'","requestID":"bd25e750-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"bd25e750-8ba4-11ef-a62f-5f7f958aa687"} 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":"bd25e750-8ba4-11ef-a62f-5f7f958aa687","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":"bd25e750-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"80bd371891c21aa37bd7f36b79a0ed7e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"bd2e72d0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":379,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da97c8b-7dbc-4cea-864a-833d83b4053c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"48d9fac4-ee67-4509-ad18-4e8a933444f5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.6661253} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":379,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.567346,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bd2e72d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c","object_type":"device","rebac_allow":false,"scope_allow":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":"bd2e72d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"bd2e72d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/6da97c8b-7dbc-4cea-864a-833d83b4053c/signaling 200 11ms","method":"POST","requestID":"bd2e72d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c/signaling"} device-1 | {"device":"6da97c8b-7dbc-4cea-864a-833d83b4053c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"6da97c8b-7dbc-4cea-864a-833d83b4053c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"bd3095b0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":380,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F946711af-5a09-4abe-96e3-3c3f5361b5a2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6b4b3db9-5ab9-4884-958d-2fd914d10863","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.6798728} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":380,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.757619,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:13Z"} device-1 | {"device":"946711af-5a09-4abe-96e3-3c3f5361b5a2","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"946711af-5a09-4abe-96e3-3c3f5361b5a2","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bd3095b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2","object_type":"device","rebac_allow":false,"scope_allow":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":"bd3095b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"bd3095b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/946711af-5a09-4abe-96e3-3c3f5361b5a2/signaling 200 11ms","method":"POST","requestID":"bd3095b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 8936616108088035030 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:BEBk\r\na=ice-pwd:XJ89XQ4tKi+AVVvnzeFXQA91\r\na=ice-options:trickle\r\na=fingerprint:sha-256 F0:1C:1F:B9:90:AE:1F:06:08:C6:1C:4B:99:09:81:6B:61:C7:15:16:DA:AE:FA:F4:8E:B8:D5:F8:09:B8:6D:59\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"946711af-5a09-4abe-96e3-3c3f5361b5a2","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/946711af-5a09-4abe-96e3-3c3f5361b5a2'"} device-1 | {"content":{"sdp":"v=0\r\no=- 6702482923397290530 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+wJ\r\na=ice-pwd:N1o85swkHA0swmivPbe420px\r\na=ice-options:trickle\r\na=fingerprint:sha-256 3F:BE:8B:0C:D1:12:EC:04:E6:CD:D2:BC:8C:B7:62:0E:E9:5F:30:DF:31:C8:F1:C2:DD:59:FC:F7:23:D3:E7:46\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"6da97c8b-7dbc-4cea-864a-833d83b4053c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:2826324398 1 udp 2113937151 578db7b5-4015-440b-af18-119959001773.local 50892 typ host generation 0 ufrag d+wJ network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"6da97c8b-7dbc-4cea-864a-833d83b4053c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:996010173 1 udp 1677729535 141.24.211.56 50892 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag d+wJ network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"6da97c8b-7dbc-4cea-864a-833d83b4053c","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/6da97c8b-7dbc-4cea-864a-833d83b4053c'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c'"} device-1 | {"content":{"candidate":"candidate:519890043 1 udp 2113937151 e7a35e6d-02e1-4387-959d-8b4fe9dab6e9.local 40355 typ host generation 0 ufrag BEBk network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"946711af-5a09-4abe-96e3-3c3f5361b5a2","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2379695464 1 udp 1677729535 141.24.211.56 40355 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag BEBk network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"946711af-5a09-4abe-96e3-3c3f5361b5a2","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/946711af-5a09-4abe-96e3-3c3f5361b5a2'"} device-1 | {"device":"946711af-5a09-4abe-96e3-3c3f5361b5a2","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"946711af-5a09-4abe-96e3-3c3f5361b5a2","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"6da97c8b-7dbc-4cea-864a-833d83b4053c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"6da97c8b-7dbc-4cea-864a-833d83b4053c","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/f4f55d61-3fa0-40b0-b28d-d9d87546bd33' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"f4f55d61-3fa0-40b0-b28d-d9d87546bd33","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f3dd6c9d1153f1cd4230bbdeb061a606","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"6da97c8b-7dbc-4cea-864a-833d83b4053c","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":"f3dd6c9d1153f1cd4230bbdeb061a606","responseTime":1,"status":200,"url":"/auth"} device-1 | {"device":"946711af-5a09-4abe-96e3-3c3f5361b5a2","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":[{"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":"new","url":"http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c"},{"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":"connecting","url":"http://localhost/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/f4f55d61-3fa0-40b0-b28d-d9d87546bd33"}}},"level":"info","message":"received a callback","requestID":"f3dd6c9d1153f1cd4230bbdeb061a606"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 7ms","method":"POST","requestID":"f3dd6c9d1153f1cd4230bbdeb061a606","responseTime":7,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.009","http_referrer":"","http_user_agent":"node-fetch","requestID":"f3dd6c9d1153f1cd4230bbdeb061a606"} device-1 | {"device":"6da97c8b-7dbc-4cea-864a-833d83b4053c","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"f4f55d61-3fa0-40b0-b28d-d9d87546bd33","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"f4f55d61-3fa0-40b0-b28d-d9d87546bd33","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/f4f55d61-3fa0-40b0-b28d-d9d87546bd33' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"f4f55d61-3fa0-40b0-b28d-d9d87546bd33","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"13c48a01eeac4b10b834045b90011179","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"13c48a01eeac4b10b834045b90011179","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/6da97c8b-7dbc-4cea-864a-833d83b4053c"},{"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/946711af-5a09-4abe-96e3-3c3f5361b5a2"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/f4f55d61-3fa0-40b0-b28d-d9d87546bd33"}}},"level":"info","message":"received a callback","requestID":"13c48a01eeac4b10b834045b90011179"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"bd3d8e00-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":381,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ff4f55d61-3fa0-40b0-b28d-d9d87546bd33","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"913d9af8-f63b-4093-880b-84bc8b47b45b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.765627} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":381,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.597758,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/f4f55d61-3fa0-40b0-b28d-d9d87546bd33","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bd3d8e00-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/f4f55d61-3fa0-40b0-b28d-d9d87546bd33","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":"bd3d8e00-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"bd3d8e00-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/f4f55d61-3fa0-40b0-b28d-d9d87546bd33 200 10ms","method":"GET","requestID":"bd3d8e00-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/peerconnections/f4f55d61-3fa0-40b0-b28d-d9d87546bd33"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 45ms","method":"POST","requestID":"13c48a01eeac4b10b834045b90011179","responseTime":45,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.048","http_referrer":"","http_user_agent":"node-fetch","requestID":"13c48a01eeac4b10b834045b90011179"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"bd438170-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":382,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da97c8b-7dbc-4cea-864a-833d83b4053c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0a97dade-6790-494c-b1c7-91d11f75bafb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.8044527} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":382,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.720096,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bd438170-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c","object_type":"device","rebac_allow":false,"scope_allow":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":"bd438170-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"bd438170-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/6da97c8b-7dbc-4cea-864a-833d83b4053c/signaling 200 10ms","method":"POST","requestID":"bd438170-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"bd457d40-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":383,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F946711af-5a09-4abe-96e3-3c3f5361b5a2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"203f779e-c608-4812-987d-7eb15870ac60","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072513.8168557} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":383,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.114271,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bd457d40-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2","object_type":"device","rebac_allow":false,"scope_allow":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":"bd457d40-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"bd457d40-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/946711af-5a09-4abe-96e3-3c3f5361b5a2/signaling 200 20ms","method":"POST","requestID":"bd457d40-8ba4-11ef-a62f-5f7f958aa687","responseTime":20,"status":200,"url":"/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxM30.Muyb6iOOvohlLgC0QYYEIyCpIUbNjO7Wp-rAk4Svgus","level":"info","message":"auth send jwt","requestID":"07cac5f96146d13add4530d21502b8b7"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"07cac5f96146d13add4530d21502b8b7","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e","requestID":"07cac5f96146d13add4530d21502b8b7"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":384,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":384,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.330904,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"07cac5f96146d13add4530d21502b8b7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072513,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxM30.Muyb6iOOvohlLgC0QYYEIyCpIUbNjO7Wp-rAk4Svgus"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"07cac5f96146d13add4530d21502b8b7","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e","requestID":"07cac5f96146d13add4530d21502b8b7"} gateway-1 | {"time_local":"16/Oct/2024:09:55:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e 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":"07cac5f96146d13add4530d21502b8b7"} experiment-1 | {"level":"info","message":"GET /experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e 200 16ms","method":"GET","requestID":"07cac5f96146d13add4530d21502b8b7","responseTime":16,"status":200,"url":"/experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNH0.2vZxaX6Gvs9yStgMEa2khNIiUp0EU5GXU02WI556Wms","level":"info","message":"auth send jwt","requestID":"2bb080e5310fd4b425f2784deccbf338"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"2bb080e5310fd4b425f2784deccbf338","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e","requestID":"2bb080e5310fd4b425f2784deccbf338"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":385,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:14Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":385,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.785844,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:14Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"2bb080e5310fd4b425f2784deccbf338","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072514,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNH0.2vZxaX6Gvs9yStgMEa2khNIiUp0EU5GXU02WI556Wms"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2bb080e5310fd4b425f2784deccbf338","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e"},"level":"info","message":"Attempting to finish experiment","requestID":"2bb080e5310fd4b425f2784deccbf338"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"bd653a40-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":386,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:14Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":386,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.405172,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:14Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/f4f55d61-3fa0-40b0-b28d-d9d87546bd33","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bd653a40-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/f4f55d61-3fa0-40b0-b28d-d9d87546bd33","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072514,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNH0.2vZxaX6Gvs9yStgMEa2khNIiUp0EU5GXU02WI556Wms"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"bd653a40-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/f4f55d61-3fa0-40b0-b28d-d9d87546bd33","device":"946711af-5a09-4abe-96e3-3c3f5361b5a2","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/f4f55d61-3fa0-40b0-b28d-d9d87546bd33","device":"6da97c8b-7dbc-4cea-864a-833d83b4053c","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/f4f55d61-3fa0-40b0-b28d-d9d87546bd33' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/f4f55d61-3fa0-40b0-b28d-d9d87546bd33' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"f4f55d61-3fa0-40b0-b28d-d9d87546bd33","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ff4f55d61-3fa0-40b0-b28d-d9d87546bd33': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ff4f55d61-3fa0-40b0-b28d-d9d87546bd33","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"a1463e96-6039-4e22-9fc2-b1644e357a50","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072514.0447717} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"dedb0d14-5daa-43da-8d6e-4d845a7d7c6f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072514.045176} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b3b9f73ff93223d989b6b57fde1d5969","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"b3b9f73ff93223d989b6b57fde1d5969","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"bd653a40-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"92d40b68345f159f557405ce3db4ce2e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":["webrtc"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c"},{"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/946711af-5a09-4abe-96e3-3c3f5361b5a2"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/f4f55d61-3fa0-40b0-b28d-d9d87546bd33"}}},"level":"info","message":"received a callback","requestID":"b3b9f73ff93223d989b6b57fde1d5969"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"92d40b68345f159f557405ce3db4ce2e","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/6da97c8b-7dbc-4cea-864a-833d83b4053c"},{"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/946711af-5a09-4abe-96e3-3c3f5361b5a2"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/f4f55d61-3fa0-40b0-b28d-d9d87546bd33"}}},"level":"info","message":"received a callback","requestID":"92d40b68345f159f557405ce3db4ce2e"} device-1 | {"data":{"peerconnection":"f4f55d61-3fa0-40b0-b28d-d9d87546bd33","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"bd653a40-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/f4f55d61-3fa0-40b0-b28d-d9d87546bd33 204 46ms","method":"DELETE","requestID":"bd653a40-8ba4-11ef-a62f-5f7f958aa687","responseTime":46,"status":204,"url":"/peerconnections/f4f55d61-3fa0-40b0-b28d-d9d87546bd33"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e"},"level":"info","message":"Successfully finished experiment","requestID":"2bb080e5310fd4b425f2784deccbf338"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"bd6f7370-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":387,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:14Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da97c8b-7dbc-4cea-864a-833d83b4053c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"822faf49-0948-494d-863e-6c5089761286","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072514.0948129} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":387,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.241708,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:14Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bd6f7370-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c","object_type":"device","rebac_allow":false,"scope_allow":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":"bd6f7370-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff78cebe8-e5a6-47c8-ba01-b89a71ad355e': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff78cebe8-e5a6-47c8-ba01-b89a71ad355e","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"e284624c-bf40-49b4-bf2f-8f3690ad0932","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072514.1009533} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"bd6f7370-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/6da97c8b-7dbc-4cea-864a-833d83b4053c/signaling 200 15ms","method":"POST","requestID":"bd6f7370-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/6da97c8b-7dbc-4cea-864a-833d83b4053c/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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"90bb7c9f-505a-4912-bf37-eb767bd8dda7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072514.101403} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"2bb080e5310fd4b425f2784deccbf338","responseTime":17,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"bd723290-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":388,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:14Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F946711af-5a09-4abe-96e3-3c3f5361b5a2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"559f391a-3495-461b-8934-927655189136","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072514.11133} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":388,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.161213,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:14Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bd723290-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2","object_type":"device","rebac_allow":false,"scope_allow":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":"bd723290-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"bd723290-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/946711af-5a09-4abe-96e3-3c3f5361b5a2/signaling 200 14ms","method":"POST","requestID":"bd723290-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/946711af-5a09-4abe-96e3-3c3f5361b5a2/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e","requestID":"2bb080e5310fd4b425f2784deccbf338"} gateway-1 | {"time_local":"16/Oct/2024:09:55:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e 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":"2bb080e5310fd4b425f2784deccbf338"} experiment-1 | {"level":"info","message":"DELETE /experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e 204 180ms","method":"DELETE","requestID":"2bb080e5310fd4b425f2784deccbf338","responseTime":180,"status":204,"url":"/experiments/f78cebe8-e5a6-47c8-ba01-b89a71ad355e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 140ms","method":"POST","requestID":"b3b9f73ff93223d989b6b57fde1d5969","responseTime":140,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.143","http_referrer":"","http_user_agent":"node-fetch","requestID":"b3b9f73ff93223d989b6b57fde1d5969"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 139ms","method":"POST","requestID":"92d40b68345f159f557405ce3db4ce2e","responseTime":139,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.144","http_referrer":"","http_user_agent":"node-fetch","requestID":"92d40b68345f159f557405ce3db4ce2e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNH0.2vZxaX6Gvs9yStgMEa2khNIiUp0EU5GXU02WI556Wms","level":"info","message":"auth send jwt","requestID":"fe6d6ad692e25da1dc904fdc335d5337"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"fe6d6ad692e25da1dc904fdc335d5337","responseTime":5,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:14 +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.977","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"1a152267c6b4e7f7c3e3eee8d020793d"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":389,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:14Z"} device-1 | {"level":"info","message":"postDevices called","requestID":"fe6d6ad692e25da1dc904fdc335d5337"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":389,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.842141,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:14Z"} gateway-1 | {"time_local":"16/Oct/2024:09:55:14 +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.959","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"79b4090e174491a2d431f417b661b31c"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fe6d6ad692e25da1dc904fdc335d5337","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072514,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNH0.2vZxaX6Gvs9yStgMEa2khNIiUp0EU5GXU02WI556Wms"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"fe6d6ad692e25da1dc904fdc335d5337","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/946711af-5a09-4abe-96e3-3c3f5361b5a2' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff3426c34-e644-49d2-b784-7a9aca494334","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"910f5db9-045a-4dc7-9771-cccd48dba111","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072514.2102306} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"fe6d6ad692e25da1dc904fdc335d5337","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/6da97c8b-7dbc-4cea-864a-833d83b4053c' 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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8f61513e-0a71-401e-a3fa-fc04aab202dc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072514.2148256} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"fe6d6ad692e25da1dc904fdc335d5337","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff3426c34-e644-49d2-b784-7a9aca494334","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"71aafc8e-232b-4f94-97f2-1573a00f1694","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072514.2261667} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"aeae0795-7eaf-4623-a7dc-ef46ab2be67f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072514.2263017} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"fe6d6ad692e25da1dc904fdc335d5337","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff3426c34-e644-49d2-b784-7a9aca494334","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff3426c34-e644-49d2-b784-7a9aca494334","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:14.226142752Z"}]},"request_id":"6718a094-f417-492e-bf63-37f891c85827","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072514.230544} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"fe6d6ad692e25da1dc904fdc335d5337","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"fe6d6ad692e25da1dc904fdc335d5337"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"fe6d6ad692e25da1dc904fdc335d5337"} device-1 | {"level":"info","message":"POST /devices? 201 40ms","method":"POST","requestID":"fe6d6ad692e25da1dc904fdc335d5337","responseTime":40,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNH0.2vZxaX6Gvs9yStgMEa2khNIiUp0EU5GXU02WI556Wms","level":"info","message":"auth send jwt","requestID":"4ce097a36a4b7d5111841ee2079330a4"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"4ce097a36a4b7d5111841ee2079330a4","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"4ce097a36a4b7d5111841ee2079330a4"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":390,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:14Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":390,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.795263,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:14Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"4ce097a36a4b7d5111841ee2079330a4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072514,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNH0.2vZxaX6Gvs9yStgMEa2khNIiUp0EU5GXU02WI556Wms"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4ce097a36a4b7d5111841ee2079330a4","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3eed8f7-ca9e-4325-b4c5-d166930dc168","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"f8936a77-4d49-48f9-9412-09a9c2133f51","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072514.2527208} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4ce097a36a4b7d5111841ee2079330a4","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9915c21a-8b46-46e5-b048-00a786774be4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072514.257705} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"4ce097a36a4b7d5111841ee2079330a4","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3eed8f7-ca9e-4325-b4c5-d166930dc168","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"e8e05316-158b-4819-87d4-21d1a03b66ad","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072514.273703} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"204e2885-94fc-4bdc-a560-b97412ace868","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072514.2739284} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"4ce097a36a4b7d5111841ee2079330a4","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3eed8f7-ca9e-4325-b4c5-d166930dc168","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3eed8f7-ca9e-4325-b4c5-d166930dc168","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:14.273678443Z"}]},"request_id":"d23c3369-fce5-4b7d-989c-81f0f1ac8197","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072514.2777174} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"4ce097a36a4b7d5111841ee2079330a4","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"4ce097a36a4b7d5111841ee2079330a4"} device-1 | {"level":"info","message":"POST /devices? 201 42ms","method":"POST","requestID":"4ce097a36a4b7d5111841ee2079330a4","responseTime":42,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:14 +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":"4ce097a36a4b7d5111841ee2079330a4"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNH0.2vZxaX6Gvs9yStgMEa2khNIiUp0EU5GXU02WI556Wms","level":"info","message":"auth send jwt","requestID":"9639bc578683cd2304bdd483f60a8419"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"9639bc578683cd2304bdd483f60a8419","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"9639bc578683cd2304bdd483f60a8419"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":391,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:14Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":391,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.773973,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:14Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"9639bc578683cd2304bdd483f60a8419","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072514,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNH0.2vZxaX6Gvs9yStgMEa2khNIiUp0EU5GXU02WI556Wms"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9639bc578683cd2304bdd483f60a8419","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3eed8f7-ca9e-4325-b4c5-d166930dc168","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3eed8f7-ca9e-4325-b4c5-d166930dc168","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:14.273678443Z"}]},"request_id":"0fe72c23-d24c-4b90-bb7c-e06b098d41ae","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072514.7796519} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9639bc578683cd2304bdd483f60a8419","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d3abf72d-641f-4532-8885-d0491f516c62","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072514.7851944} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"9639bc578683cd2304bdd483f60a8419","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3eed8f7-ca9e-4325-b4c5-d166930dc168","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3eed8f7-ca9e-4325-b4c5-d166930dc168","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:14.273678443Z"}]},"request_id":"40192b20-5b87-4f42-98c8-aa91e107a66b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072514.7979894} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9639bc578683cd2304bdd483f60a8419","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"9639bc578683cd2304bdd483f60a8419"} device-1 | {"level":"info","message":"PATCH /devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168 200 32ms","method":"PATCH","requestID":"9639bc578683cd2304bdd483f60a8419","responseTime":32,"status":200,"url":"/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168"} gateway-1 | {"time_local":"16/Oct/2024:09:55:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.039","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"9639bc578683cd2304bdd483f60a8419"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNH0.2vZxaX6Gvs9yStgMEa2khNIiUp0EU5GXU02WI556Wms","level":"info","message":"auth send jwt","requestID":"64106fd62b890cd440fa9639df4c2a1d"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"64106fd62b890cd440fa9639df4c2a1d","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"64106fd62b890cd440fa9639df4c2a1d"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":392,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:14Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":392,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.63672,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:14Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"64106fd62b890cd440fa9639df4c2a1d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072514,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNH0.2vZxaX6Gvs9yStgMEa2khNIiUp0EU5GXU02WI556Wms"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"64106fd62b890cd440fa9639df4c2a1d","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"64106fd62b890cd440fa9639df4c2a1d"} gateway-1 | {"time_local":"16/Oct/2024:09:55:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168/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.10","requestID":"64106fd62b890cd440fa9639df4c2a1d"} device-1 | {"level":"info","message":"POST /devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168/websocket 200 15ms","method":"POST","requestID":"64106fd62b890cd440fa9639df4c2a1d","responseTime":15,"status":200,"url":"/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"640c5e7c3a0f8dcad727194135660b55","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"640c5e7c3a0f8dcad727194135660b55","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/f3426c34-e644-49d2-b784-7a9aca494334/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":"640c5e7c3a0f8dcad727194135660b55"} device-1 | {"level":"info","message":"OPTIONS /devices/f3426c34-e644-49d2-b784-7a9aca494334/websocket 200 1ms","method":"OPTIONS","requestID":"640c5e7c3a0f8dcad727194135660b55","responseTime":1,"status":200,"url":"/devices/f3426c34-e644-49d2-b784-7a9aca494334/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNn0.1TWUP4OuP8xKDF9d72jqFCWYpwsixD2QdjWVTzaId-4","level":"info","message":"auth send jwt","requestID":"0e042d40b28c220df8f59508ceb24b87"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0e042d40b28c220df8f59508ceb24b87","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"0e042d40b28c220df8f59508ceb24b87"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":393,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":393,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.148006,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f3426c34-e644-49d2-b784-7a9aca494334","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0e042d40b28c220df8f59508ceb24b87","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f3426c34-e644-49d2-b784-7a9aca494334","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072516,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNn0.1TWUP4OuP8xKDF9d72jqFCWYpwsixD2QdjWVTzaId-4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0e042d40b28c220df8f59508ceb24b87","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"0e042d40b28c220df8f59508ceb24b87"} gateway-1 | {"time_local":"16/Oct/2024:09:55:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/f3426c34-e644-49d2-b784-7a9aca494334/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":"0e042d40b28c220df8f59508ceb24b87"} device-1 | {"level":"info","message":"POST /devices/f3426c34-e644-49d2-b784-7a9aca494334/websocket 200 23ms","method":"POST","requestID":"0e042d40b28c220df8f59508ceb24b87","responseTime":23,"status":200,"url":"/devices/f3426c34-e644-49d2-b784-7a9aca494334/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/f3426c34-e644-49d2-b784-7a9aca494334' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"dc84ddc7137149860fe6a3f5f181b870","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"dc84ddc7137149860fe6a3f5f181b870","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/f3426c34-e644-49d2-b784-7a9aca494334? 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":"dc84ddc7137149860fe6a3f5f181b870"} device-1 | {"level":"info","message":"OPTIONS /devices/f3426c34-e644-49d2-b784-7a9aca494334? 200 1ms","method":"OPTIONS","requestID":"dc84ddc7137149860fe6a3f5f181b870","responseTime":1,"status":200,"url":"/devices/f3426c34-e644-49d2-b784-7a9aca494334?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNn0.1TWUP4OuP8xKDF9d72jqFCWYpwsixD2QdjWVTzaId-4","level":"info","message":"auth send jwt","requestID":"b4fcb2256c254e33d3cb4ff25c86da4d"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"b4fcb2256c254e33d3cb4ff25c86da4d","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"b4fcb2256c254e33d3cb4ff25c86da4d"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":394,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":394,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.167925,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f3426c34-e644-49d2-b784-7a9aca494334","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b4fcb2256c254e33d3cb4ff25c86da4d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f3426c34-e644-49d2-b784-7a9aca494334","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072516,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNn0.1TWUP4OuP8xKDF9d72jqFCWYpwsixD2QdjWVTzaId-4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b4fcb2256c254e33d3cb4ff25c86da4d","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff3426c34-e644-49d2-b784-7a9aca494334","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff3426c34-e644-49d2-b784-7a9aca494334","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:14.226142752Z"}]},"request_id":"e351ec7d-19f5-498f-a04d-dfbaf3b352ad","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072516.4250097} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b4fcb2256c254e33d3cb4ff25c86da4d","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"46247160-15c5-4c0a-8168-ed6e89b126de","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072516.432531} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"b4fcb2256c254e33d3cb4ff25c86da4d","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff3426c34-e644-49d2-b784-7a9aca494334","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff3426c34-e644-49d2-b784-7a9aca494334","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:14.226142752Z"}]},"request_id":"0823b2c4-5a33-48d1-95e4-ae004475eebf","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072516.4444196} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"b4fcb2256c254e33d3cb4ff25c86da4d","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"b4fcb2256c254e33d3cb4ff25c86da4d"} gateway-1 | {"time_local":"16/Oct/2024:09:55:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/f3426c34-e644-49d2-b784-7a9aca494334? 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":"b4fcb2256c254e33d3cb4ff25c86da4d"} device-1 | {"level":"info","message":"PATCH /devices/f3426c34-e644-49d2-b784-7a9aca494334? 200 39ms","method":"PATCH","requestID":"b4fcb2256c254e33d3cb4ff25c86da4d","responseTime":39,"status":200,"url":"/devices/f3426c34-e644-49d2-b784-7a9aca494334?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNn0.1TWUP4OuP8xKDF9d72jqFCWYpwsixD2QdjWVTzaId-4","level":"info","message":"auth send jwt","requestID":"1bea47fad4f9948f6ca585713789fc9e"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"1bea47fad4f9948f6ca585713789fc9e","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1bea47fad4f9948f6ca585713789fc9e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":395,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":395,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.949615,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f3426c34-e644-49d2-b784-7a9aca494334","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"1bea47fad4f9948f6ca585713789fc9e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f3426c34-e644-49d2-b784-7a9aca494334","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072516,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNn0.1TWUP4OuP8xKDF9d72jqFCWYpwsixD2QdjWVTzaId-4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1bea47fad4f9948f6ca585713789fc9e","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff3426c34-e644-49d2-b784-7a9aca494334","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff3426c34-e644-49d2-b784-7a9aca494334","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:14.226142752Z"}]},"request_id":"0d403652-5858-4d78-8ab8-109ea94d21ad","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072516.4752212} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"1bea47fad4f9948f6ca585713789fc9e","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1bea47fad4f9948f6ca585713789fc9e"} gateway-1 | {"time_local":"16/Oct/2024:09:55:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f3426c34-e644-49d2-b784-7a9aca494334? 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":"1bea47fad4f9948f6ca585713789fc9e"} device-1 | {"level":"info","message":"GET /devices/f3426c34-e644-49d2-b784-7a9aca494334? 200 18ms","method":"GET","requestID":"1bea47fad4f9948f6ca585713789fc9e","responseTime":18,"status":200,"url":"/devices/f3426c34-e644-49d2-b784-7a9aca494334?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNn0.1TWUP4OuP8xKDF9d72jqFCWYpwsixD2QdjWVTzaId-4","level":"info","message":"auth send jwt","requestID":"f617a00e81725bd3db4e332f01d20c61"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"f617a00e81725bd3db4e332f01d20c61","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f617a00e81725bd3db4e332f01d20c61"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":396,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":396,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.208084,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f617a00e81725bd3db4e332f01d20c61","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072516,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNn0.1TWUP4OuP8xKDF9d72jqFCWYpwsixD2QdjWVTzaId-4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f617a00e81725bd3db4e332f01d20c61","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3eed8f7-ca9e-4325-b4c5-d166930dc168","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3eed8f7-ca9e-4325-b4c5-d166930dc168","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:14.273678443Z"}]},"request_id":"ec68537e-9b25-43d8-abb0-4f5334710276","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072516.5017035} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f617a00e81725bd3db4e332f01d20c61","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f617a00e81725bd3db4e332f01d20c61"} gateway-1 | {"time_local":"16/Oct/2024:09:55:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168? 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":"f617a00e81725bd3db4e332f01d20c61"} device-1 | {"level":"info","message":"GET /devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168? 200 19ms","method":"GET","requestID":"f617a00e81725bd3db4e332f01d20c61","responseTime":19,"status":200,"url":"/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNn0.1TWUP4OuP8xKDF9d72jqFCWYpwsixD2QdjWVTzaId-4","level":"info","message":"auth send jwt","requestID":"d47ffe078bbd8565d27007ec82d984bb"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d47ffe078bbd8565d27007ec82d984bb","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"d47ffe078bbd8565d27007ec82d984bb"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":397,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":397,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":2.016323,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d47ffe078bbd8565d27007ec82d984bb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072516,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNn0.1TWUP4OuP8xKDF9d72jqFCWYpwsixD2QdjWVTzaId-4"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d47ffe078bbd8565d27007ec82d984bb","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9"},"level":"info","message":"Attempting to run experiment","requestID":"d47ffe078bbd8565d27007ec82d984bb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9"},"level":"info","message":"Attempting to book experiment","requestID":"d47ffe078bbd8565d27007ec82d984bb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9"},"level":"info","message":"Successfully booked experiment","requestID":"d47ffe078bbd8565d27007ec82d984bb"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"bee94230-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"bee99050-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":398,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":398,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.324083,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"client_addr":"127.0.0.1:43590","level":"info","msg":"Received request.","req_id":399,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f3426c34-e644-49d2-b784-7a9aca494334","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bee94230-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f3426c34-e644-49d2-b784-7a9aca494334","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072516,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNn0.1TWUP4OuP8xKDF9d72jqFCWYpwsixD2QdjWVTzaId-4"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"bee94230-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:43590","level":"info","msg":"Sent response.","req_id":399,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.337306,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bee99050-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072516,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNn0.1TWUP4OuP8xKDF9d72jqFCWYpwsixD2QdjWVTzaId-4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"bee99050-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff3426c34-e644-49d2-b784-7a9aca494334","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff3426c34-e644-49d2-b784-7a9aca494334","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:14.226142752Z"}]},"request_id":"44920c0a-914a-44f2-92d8-47fece8e3102","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072516.575502} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"bee94230-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3eed8f7-ca9e-4325-b4c5-d166930dc168","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3eed8f7-ca9e-4325-b4c5-d166930dc168","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:14.273678443Z"}]},"request_id":"4b342037-dcb3-42c6-8a60-bdfcd2b697b4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072516.577242} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"bee99050-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"bee94230-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/f3426c34-e644-49d2-b784-7a9aca494334? 200 21ms","method":"GET","requestID":"bee94230-8ba4-11ef-a62f-5f7f958aa687","responseTime":21,"status":200,"url":"/devices/f3426c34-e644-49d2-b784-7a9aca494334?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"bee99050-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168? 200 21ms","method":"GET","requestID":"bee99050-8ba4-11ef-a62f-5f7f958aa687","responseTime":21,"status":200,"url":"/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9"},"level":"info","message":"Setting up experiment","requestID":"d47ffe078bbd8565d27007ec82d984bb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"d47ffe078bbd8565d27007ec82d984bb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9"},"level":"info","message":"Successfully locked booking for experiment","requestID":"d47ffe078bbd8565d27007ec82d984bb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"d47ffe078bbd8565d27007ec82d984bb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"d47ffe078bbd8565d27007ec82d984bb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9"},"level":"info","message":"Attempting to update booking for experiment","requestID":"d47ffe078bbd8565d27007ec82d984bb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9"},"level":"info","message":"Successfully updated booking for experiment","requestID":"d47ffe078bbd8565d27007ec82d984bb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9"},"level":"info","message":"Successfully set up experiment","requestID":"d47ffe078bbd8565d27007ec82d984bb"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"bef50200-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"bef57730-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":400,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:16Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"bef5c550-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9"},"level":"info","message":"Successfully running experiment","requestID":"d47ffe078bbd8565d27007ec82d984bb"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":400,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.317447,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"client_addr":"127.0.0.1:43590","level":"info","msg":"Received request.","req_id":401,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f3426c34-e644-49d2-b784-7a9aca494334","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bef50200-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f3426c34-e644-49d2-b784-7a9aca494334","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072516,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNn0.1TWUP4OuP8xKDF9d72jqFCWYpwsixD2QdjWVTzaId-4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"bef50200-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:43590","level":"info","msg":"Sent response.","req_id":401,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.311827,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bef57730-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072516,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNn0.1TWUP4OuP8xKDF9d72jqFCWYpwsixD2QdjWVTzaId-4"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"bef57730-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":402,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff3426c34-e644-49d2-b784-7a9aca494334","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2bcc8ff0-7055-41fe-a500-60db76d50042","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072516.65308} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":402,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.849002,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f3426c34-e644-49d2-b784-7a9aca494334","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bef5c550-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f3426c34-e644-49d2-b784-7a9aca494334","object_type":"device","rebac_allow":false,"scope_allow":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":"bef5c550-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff3426c34-e644-49d2-b784-7a9aca494334","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff3426c34-e644-49d2-b784-7a9aca494334","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:14.226142752Z"}]},"request_id":"e69ca8fe-1f16-4f1e-91d7-01c4d0468436","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072516.65594} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"bef50200-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3eed8f7-ca9e-4325-b4c5-d166930dc168","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3eed8f7-ca9e-4325-b4c5-d166930dc168","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:14.273678443Z"}]},"request_id":"893a9994-3c99-433e-9fe1-a7e92eae7071","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072516.6590402} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"bef57730-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"bef5c550-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f3426c34-e644-49d2-b784-7a9aca494334/signaling 200 16ms","method":"POST","requestID":"bef5c550-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/f3426c34-e644-49d2-b784-7a9aca494334/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"bef88470-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":403,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:16Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"bef50200-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/f3426c34-e644-49d2-b784-7a9aca494334? 200 28ms","method":"GET","requestID":"bef50200-8ba4-11ef-a62f-5f7f958aa687","responseTime":28,"status":200,"url":"/devices/f3426c34-e644-49d2-b784-7a9aca494334?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"bef57730-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3eed8f7-ca9e-4325-b4c5-d166930dc168","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"203c9dcd-da4a-4011-ac1d-d1371043889b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072516.668503} device-1 | {"level":"info","message":"GET /devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168? 200 26ms","method":"GET","requestID":"bef57730-8ba4-11ef-a62f-5f7f958aa687","responseTime":26,"status":200,"url":"/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":403,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.862666,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bef88470-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168","object_type":"device","rebac_allow":false,"scope_allow":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":"bef88470-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F227c508c-e5ab-46f6-813d-463ef05ce4d9#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F227c508c-e5ab-46f6-813d-463ef05ce4d9","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"65aacb07-a352-4aaa-afd1-cb972c5478f4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072516.6713786} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"bef9e400-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7cba47df-83ff-440a-84e8-5b2fe6382504","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072516.671551} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"d47ffe078bbd8565d27007ec82d984bb","responseTime":22,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":404,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:16Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"bef88470-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168/signaling 200 14ms","method":"POST","requestID":"bef88470-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff3426c34-e644-49d2-b784-7a9aca494334","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a72293dd-5a83-4a0d-93a1-fae064954bc3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072516.6786506} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":404,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.195914,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f3426c34-e644-49d2-b784-7a9aca494334","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bef9e400-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f3426c34-e644-49d2-b784-7a9aca494334","object_type":"device","rebac_allow":false,"scope_allow":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":"bef9e400-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"d47ffe078bbd8565d27007ec82d984bb"} gateway-1 | {"time_local":"16/Oct/2024:09:55:16 +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":"d47ffe078bbd8565d27007ec82d984bb"} experiment-1 | {"level":"info","message":"POST /experiments? 201 168ms","method":"POST","requestID":"d47ffe078bbd8565d27007ec82d984bb","responseTime":168,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"bef9e400-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f3426c34-e644-49d2-b784-7a9aca494334/signaling 200 12ms","method":"POST","requestID":"bef9e400-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/f3426c34-e644-49d2-b784-7a9aca494334/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"befc06e0-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNn0.1TWUP4OuP8xKDF9d72jqFCWYpwsixD2QdjWVTzaId-4","level":"info","message":"auth send jwt","requestID":"b6e4c7f95349931690d528aba172af14"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"b6e4c7f95349931690d528aba172af14","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b6e4c7f95349931690d528aba172af14"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":405,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"client_addr":"127.0.0.1:43590","level":"info","msg":"Received request.","req_id":406,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"client_addr":"127.0.0.1:43590","level":"info","msg":"Sent response.","req_id":406,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.716205,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f3426c34-e644-49d2-b784-7a9aca494334","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b6e4c7f95349931690d528aba172af14","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f3426c34-e644-49d2-b784-7a9aca494334","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072516,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNn0.1TWUP4OuP8xKDF9d72jqFCWYpwsixD2QdjWVTzaId-4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b6e4c7f95349931690d528aba172af14","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3eed8f7-ca9e-4325-b4c5-d166930dc168","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e85fe930-b4ae-4265-bf45-95c8683e7624","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072516.691058} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":405,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.339017,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"befc06e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168","object_type":"device","rebac_allow":false,"scope_allow":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":"befc06e0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff3426c34-e644-49d2-b784-7a9aca494334","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff3426c34-e644-49d2-b784-7a9aca494334","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:14.226142752Z"}]},"request_id":"c479ff77-8412-4eff-b6af-0d36dd4f5527","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072516.6960108} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"befc06e0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b6e4c7f95349931690d528aba172af14","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"POST /devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168/signaling 200 11ms","method":"POST","requestID":"befc06e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"d47ffe078bbd8565d27007ec82d984bb"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"befe02b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b6e4c7f95349931690d528aba172af14"} gateway-1 | {"time_local":"16/Oct/2024:09:55:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f3426c34-e644-49d2-b784-7a9aca494334? 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":"b6e4c7f95349931690d528aba172af14"} device-1 | {"level":"info","message":"GET /devices/f3426c34-e644-49d2-b784-7a9aca494334? 200 13ms","method":"GET","requestID":"b6e4c7f95349931690d528aba172af14","responseTime":13,"status":200,"url":"/devices/f3426c34-e644-49d2-b784-7a9aca494334?"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"befe77e0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":407,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":407,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.808071,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f3426c34-e644-49d2-b784-7a9aca494334","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"befe02b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f3426c34-e644-49d2-b784-7a9aca494334","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072516,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNn0.1TWUP4OuP8xKDF9d72jqFCWYpwsixD2QdjWVTzaId-4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"befe02b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNn0.1TWUP4OuP8xKDF9d72jqFCWYpwsixD2QdjWVTzaId-4","level":"info","message":"auth send jwt","requestID":"c0839204b309fa4f26ee92e239c241b1"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c0839204b309fa4f26ee92e239c241b1","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c0839204b309fa4f26ee92e239c241b1"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":408,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":408,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.608964,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"befe77e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072516,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNn0.1TWUP4OuP8xKDF9d72jqFCWYpwsixD2QdjWVTzaId-4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"befe77e0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff3426c34-e644-49d2-b784-7a9aca494334","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff3426c34-e644-49d2-b784-7a9aca494334","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:14.226142752Z"}]},"request_id":"b95fa10d-3679-49f1-9510-7815265c8906","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072516.7083852} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"befe02b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":409,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":409,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.73258,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:16Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"befe02b0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c0839204b309fa4f26ee92e239c241b1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072516,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNn0.1TWUP4OuP8xKDF9d72jqFCWYpwsixD2QdjWVTzaId-4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"c0839204b309fa4f26ee92e239c241b1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"GET /devices/f3426c34-e644-49d2-b784-7a9aca494334? 200 16ms","method":"GET","requestID":"befe02b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/f3426c34-e644-49d2-b784-7a9aca494334?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3eed8f7-ca9e-4325-b4c5-d166930dc168","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3eed8f7-ca9e-4325-b4c5-d166930dc168","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:14.273678443Z"}]},"request_id":"8af82d26-16d7-41f7-aba2-6cbda5a4af69","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072516.7139063} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"befe77e0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3eed8f7-ca9e-4325-b4c5-d166930dc168","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3eed8f7-ca9e-4325-b4c5-d166930dc168","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:14.273678443Z"}]},"request_id":"3d11217c-1614-4fba-8701-affeddad4e94","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072516.719056} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"befe77e0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c0839204b309fa4f26ee92e239c241b1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168? 200 18ms","method":"GET","requestID":"befe77e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9"},"level":"info","message":"Building connection plan","requestID":"d47ffe078bbd8565d27007ec82d984bb"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"ed795c33-7dea-4bce-aa1b-35d33b761d02"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"b526f8fd-c4f3-4ea8-bad3-c85409684a9d"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/file","uuid":"72ac0f51-e3fb-4ffa-b146-6ba30596d7b9"}]},"level":"info","message":"Built pairwise service configurations","requestID":"d47ffe078bbd8565d27007ec82d984bb"} 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/f3426c34-e644-49d2-b784-7a9aca494334"},{"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/b3eed8f7-ca9e-4325-b4c5-d166930dc168"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"d47ffe078bbd8565d27007ec82d984bb"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c0839204b309fa4f26ee92e239c241b1"} device-1 | {"level":"info","message":"GET /devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168? 200 17ms","method":"GET","requestID":"c0839204b309fa4f26ee92e239c241b1","responseTime":17,"status":200,"url":"/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168? 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":"c0839204b309fa4f26ee92e239c241b1"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"bf01ac30-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":410,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":410,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.638852,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bf01ac30-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072516,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxNn0.1TWUP4OuP8xKDF9d72jqFCWYpwsixD2QdjWVTzaId-4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"bf01ac30-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"99bac6cf-16a2-4d2a-9378-0029f225e873","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072516.7363598} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fedbb268-7ba5-49a3-8bd5-a468a3d4449b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072516.7366714} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"bf01ac30-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"bf01ac30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"bf01ac30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/dfaf38d6-904e-47ca-8880-33a225876570'","requestID":"bf01ac30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/dfaf38d6-904e-47ca-8880-33a225876570'","requestID":"bf01ac30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"bf01ac30-8ba4-11ef-a62f-5f7f958aa687"} 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":"bf01ac30-8ba4-11ef-a62f-5f7f958aa687","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":"bf01ac30-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"d47ffe078bbd8565d27007ec82d984bb"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"bf0b4920-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":411,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff3426c34-e644-49d2-b784-7a9aca494334","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"689c4d9e-f80c-4be9-8b14-1ef2f640c529","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072516.7904944} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":411,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.248679,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f3426c34-e644-49d2-b784-7a9aca494334","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bf0b4920-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f3426c34-e644-49d2-b784-7a9aca494334","object_type":"device","rebac_allow":false,"scope_allow":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":"bf0b4920-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"bf0b4920-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f3426c34-e644-49d2-b784-7a9aca494334/signaling 200 8ms","method":"POST","requestID":"bf0b4920-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/f3426c34-e644-49d2-b784-7a9aca494334/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"bf0cf6d0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":412,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:16Z"} device-1 | {"device":"f3426c34-e644-49d2-b784-7a9aca494334","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"f3426c34-e644-49d2-b784-7a9aca494334","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3eed8f7-ca9e-4325-b4c5-d166930dc168","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d931d654-8698-4fb5-9573-0d7f73bc1a75","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072516.802544} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":412,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.589574,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bf0cf6d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168","object_type":"device","rebac_allow":false,"scope_allow":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":"bf0cf6d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"bf0cf6d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168/signaling 200 11ms","method":"POST","requestID":"bf0cf6d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168/signaling"} device-1 | {"device":"b3eed8f7-ca9e-4325-b4c5-d166930dc168","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":"dfaf38d6-904e-47ca-8880-33a225876570","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 7882660379116338835 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:6eGG\r\na=ice-pwd:gySEcikBroZa6XSaKw0EvOlL\r\na=ice-options:trickle\r\na=fingerprint:sha-256 04:F8:0D:D9:EA:F5:23:95:E0:96:DA:69:2E:E0:B3:16:F3:B5:F7:44:E7:D5:70:1A:2B:30:85:76:0E:B3:09:06\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"f3426c34-e644-49d2-b784-7a9aca494334","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:2687528393 1 udp 2113937151 41dc5879-fc47-411c-bc88-6849c623a0d0.local 35351 typ host generation 0 ufrag 6eGG network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"f3426c34-e644-49d2-b784-7a9aca494334","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"f3426c34-e644-49d2-b784-7a9aca494334","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:605882294 1 udp 1677729535 141.24.211.56 35351 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag 6eGG network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"f3426c34-e644-49d2-b784-7a9aca494334","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/dfaf38d6-904e-47ca-8880-33a225876570' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"dfaf38d6-904e-47ca-8880-33a225876570","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c655a540743765eb6afe7c38a533c30f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"c655a540743765eb6afe7c38a533c30f","responseTime":1,"status":200,"url":"/auth"} device-1 | {"device":"f3426c34-e644-49d2-b784-7a9aca494334","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} 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/f3426c34-e644-49d2-b784-7a9aca494334"},{"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/b3eed8f7-ca9e-4325-b4c5-d166930dc168"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/dfaf38d6-904e-47ca-8880-33a225876570"}}},"level":"info","message":"received a callback","requestID":"c655a540743765eb6afe7c38a533c30f"} device-1 | {"device":"b3eed8f7-ca9e-4325-b4c5-d166930dc168","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":"b3eed8f7-ca9e-4325-b4c5-d166930dc168","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":"b3eed8f7-ca9e-4325-b4c5-d166930dc168","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":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/f3426c34-e644-49d2-b784-7a9aca494334'"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 6ms","method":"POST","requestID":"c655a540743765eb6afe7c38a533c30f","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.009","http_referrer":"","http_user_agent":"node-fetch","requestID":"c655a540743765eb6afe7c38a533c30f"} device-1 | {"data":{"peerconnection":"dfaf38d6-904e-47ca-8880-33a225876570","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"b3eed8f7-ca9e-4325-b4c5-d166930dc168","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":"f3426c34-e644-49d2-b784-7a9aca494334","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"b3eed8f7-ca9e-4325-b4c5-d166930dc168","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":"dfaf38d6-904e-47ca-8880-33a225876570","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"f3426c34-e644-49d2-b784-7a9aca494334","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/dfaf38d6-904e-47ca-8880-33a225876570' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"dfaf38d6-904e-47ca-8880-33a225876570","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6f85f3eddda4639e48402c1228d14ed9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"6f85f3eddda4639e48402c1228d14ed9","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/f3426c34-e644-49d2-b784-7a9aca494334"},{"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/b3eed8f7-ca9e-4325-b4c5-d166930dc168"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/dfaf38d6-904e-47ca-8880-33a225876570"}}},"level":"info","message":"received a callback","requestID":"6f85f3eddda4639e48402c1228d14ed9"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"c0509a60-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":413,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:18Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fdfaf38d6-904e-47ca-8880-33a225876570","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2445c1ac-899f-45f1-8ad1-8325304bc0e6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072518.9246578} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":413,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.026212,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/dfaf38d6-904e-47ca-8880-33a225876570","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c0509a60-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/dfaf38d6-904e-47ca-8880-33a225876570","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":"c0509a60-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"c0509a60-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/dfaf38d6-904e-47ca-8880-33a225876570 200 12ms","method":"GET","requestID":"c0509a60-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/peerconnections/dfaf38d6-904e-47ca-8880-33a225876570"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 38ms","method":"POST","requestID":"6f85f3eddda4639e48402c1228d14ed9","responseTime":38,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.042","http_referrer":"","http_user_agent":"node-fetch","requestID":"6f85f3eddda4639e48402c1228d14ed9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c0555550-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":414,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:18Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff3426c34-e644-49d2-b784-7a9aca494334","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1ef9df25-410d-47dd-ac33-cb9d78f47d24","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072518.9549696} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":414,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.716753,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f3426c34-e644-49d2-b784-7a9aca494334","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c0555550-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f3426c34-e644-49d2-b784-7a9aca494334","object_type":"device","rebac_allow":false,"scope_allow":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":"c0555550-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c0555550-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f3426c34-e644-49d2-b784-7a9aca494334/signaling 200 11ms","method":"POST","requestID":"c0555550-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/f3426c34-e644-49d2-b784-7a9aca494334/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c0575120-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":415,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:18Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3eed8f7-ca9e-4325-b4c5-d166930dc168","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2240c6c4-4701-47d0-851d-80f6bd8a73b0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072518.9667623} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":415,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.504507,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c0575120-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168","object_type":"device","rebac_allow":false,"scope_allow":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":"c0575120-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c0575120-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168/signaling 200 10ms","method":"POST","requestID":"c0575120-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxOX0.Y7R-PpLlgkX-9rgjVzPWztDsOdj5Pa2XGaaf5wlSMeE","level":"info","message":"auth send jwt","requestID":"1c3b86d71099e22492b969f83db5f084"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"1c3b86d71099e22492b969f83db5f084","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9","requestID":"1c3b86d71099e22492b969f83db5f084"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":416,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:19Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":416,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.395292,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"1c3b86d71099e22492b969f83db5f084","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072519,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxOX0.Y7R-PpLlgkX-9rgjVzPWztDsOdj5Pa2XGaaf5wlSMeE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1c3b86d71099e22492b969f83db5f084","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9","requestID":"1c3b86d71099e22492b969f83db5f084"} gateway-1 | {"time_local":"16/Oct/2024:09:55:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9 HTTP/1.1","status": "200","body_bytes_sent":"855","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1c3b86d71099e22492b969f83db5f084"} experiment-1 | {"level":"info","message":"GET /experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9 200 18ms","method":"GET","requestID":"1c3b86d71099e22492b969f83db5f084","responseTime":18,"status":200,"url":"/experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxOX0.Y7R-PpLlgkX-9rgjVzPWztDsOdj5Pa2XGaaf5wlSMeE","level":"info","message":"auth send jwt","requestID":"34bd3b0c52ce8750005343f1e09cd452"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"34bd3b0c52ce8750005343f1e09cd452","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9","requestID":"34bd3b0c52ce8750005343f1e09cd452"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":417,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:19Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":417,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.330917,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:19Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"34bd3b0c52ce8750005343f1e09cd452","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072519,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxOX0.Y7R-PpLlgkX-9rgjVzPWztDsOdj5Pa2XGaaf5wlSMeE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"34bd3b0c52ce8750005343f1e09cd452","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9"},"level":"info","message":"Attempting to finish experiment","requestID":"34bd3b0c52ce8750005343f1e09cd452"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"c080d220-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":418,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:19Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":418,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.798602,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:19Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/dfaf38d6-904e-47ca-8880-33a225876570","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c080d220-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/dfaf38d6-904e-47ca-8880-33a225876570","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072519,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxOX0.Y7R-PpLlgkX-9rgjVzPWztDsOdj5Pa2XGaaf5wlSMeE"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"c080d220-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/dfaf38d6-904e-47ca-8880-33a225876570","device":"f3426c34-e644-49d2-b784-7a9aca494334","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"b3eed8f7-ca9e-4325-b4c5-d166930dc168","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":"b3eed8f7-ca9e-4325-b4c5-d166930dc168","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":"b3eed8f7-ca9e-4325-b4c5-d166930dc168","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/dfaf38d6-904e-47ca-8880-33a225876570' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/dfaf38d6-904e-47ca-8880-33a225876570' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"dfaf38d6-904e-47ca-8880-33a225876570","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fdfaf38d6-904e-47ca-8880-33a225876570': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fdfaf38d6-904e-47ca-8880-33a225876570","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"1a8e1597-e372-4954-bfdb-cddcc20509a7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072519.2573843} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fbcd4772-7b6e-480b-a0c3-004795240003","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072519.257585} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"c080d220-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"35b6311bb902834ceb91793fc16cd7da","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"35b6311bb902834ceb91793fc16cd7da","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/f3426c34-e644-49d2-b784-7a9aca494334"},{"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/b3eed8f7-ca9e-4325-b4c5-d166930dc168"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/dfaf38d6-904e-47ca-8880-33a225876570"}}},"level":"info","message":"received a callback","requestID":"35b6311bb902834ceb91793fc16cd7da"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f3d0024b383a24c28622a00f4dc67d97","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"f3d0024b383a24c28622a00f4dc67d97","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"c080d220-8ba4-11ef-a62f-5f7f958aa687"} 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/f3426c34-e644-49d2-b784-7a9aca494334"},{"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/b3eed8f7-ca9e-4325-b4c5-d166930dc168"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/dfaf38d6-904e-47ca-8880-33a225876570"}}},"level":"info","message":"received a callback","requestID":"f3d0024b383a24c28622a00f4dc67d97"} device-1 | {"level":"info","message":"DELETE /peerconnections/dfaf38d6-904e-47ca-8880-33a225876570 204 30ms","method":"DELETE","requestID":"c080d220-8ba4-11ef-a62f-5f7f958aa687","responseTime":30,"status":204,"url":"/peerconnections/dfaf38d6-904e-47ca-8880-33a225876570"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/f3426c34-e644-49d2-b784-7a9aca494334'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9"},"level":"info","message":"Successfully finished experiment","requestID":"34bd3b0c52ce8750005343f1e09cd452"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c087d700-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":419,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:19Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff3426c34-e644-49d2-b784-7a9aca494334","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"37803067-2c2f-4209-8c5e-fe3b390dbbbd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072519.2855425} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":419,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.130555,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f3426c34-e644-49d2-b784-7a9aca494334","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c087d700-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f3426c34-e644-49d2-b784-7a9aca494334","object_type":"device","rebac_allow":false,"scope_allow":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":"c087d700-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c087d700-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f3426c34-e644-49d2-b784-7a9aca494334/signaling 200 9ms","method":"POST","requestID":"c087d700-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/f3426c34-e644-49d2-b784-7a9aca494334/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c089abc0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F227c508c-e5ab-46f6-813d-463ef05ce4d9': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F227c508c-e5ab-46f6-813d-463ef05ce4d9","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"12df4e62-b970-47ea-81df-13b7e41a6775","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072519.294571} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"661a2fe7-8748-48a6-b971-9663feccb62f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072519.2947671} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"34bd3b0c52ce8750005343f1e09cd452","responseTime":18,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":420,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:19Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3eed8f7-ca9e-4325-b4c5-d166930dc168","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"970d8f69-7867-446f-bb7e-0c8132c7e153","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072519.2980409} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":420,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.412241,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c089abc0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168","object_type":"device","rebac_allow":false,"scope_allow":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":"c089abc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c089abc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168/signaling 200 10ms","method":"POST","requestID":"c089abc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/b3eed8f7-ca9e-4325-b4c5-d166930dc168/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9","requestID":"34bd3b0c52ce8750005343f1e09cd452"} gateway-1 | {"time_local":"16/Oct/2024:09:55:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.142","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"34bd3b0c52ce8750005343f1e09cd452"} gateway-1 | {"time_local":"16/Oct/2024:09:55:19 +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.530","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"d0a1a7a7e6b40591f841f47a83a5ed3a"} experiment-1 | {"level":"info","message":"DELETE /experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9 204 138ms","method":"DELETE","requestID":"34bd3b0c52ce8750005343f1e09cd452","responseTime":138,"status":204,"url":"/experiments/227c508c-e5ab-46f6-813d-463ef05ce4d9"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 96ms","method":"POST","requestID":"35b6311bb902834ceb91793fc16cd7da","responseTime":96,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.098","http_referrer":"","http_user_agent":"node-fetch","requestID":"35b6311bb902834ceb91793fc16cd7da"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 94ms","method":"POST","requestID":"f3d0024b383a24c28622a00f4dc67d97","responseTime":94,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.097","http_referrer":"","http_user_agent":"node-fetch","requestID":"f3d0024b383a24c28622a00f4dc67d97"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxOX0.Y7R-PpLlgkX-9rgjVzPWztDsOdj5Pa2XGaaf5wlSMeE","level":"info","message":"auth send jwt","requestID":"84df210c0c51415c1efc83add2f93efb"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"84df210c0c51415c1efc83add2f93efb","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"84df210c0c51415c1efc83add2f93efb"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":421,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:19Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":421,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.052463,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:19Z"} gateway-1 | {"time_local":"16/Oct/2024:09:55:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2462","request_time":"3.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":"f3294b054dd6078ce4da9f042b4528b6"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"84df210c0c51415c1efc83add2f93efb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072519,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxOX0.Y7R-PpLlgkX-9rgjVzPWztDsOdj5Pa2XGaaf5wlSMeE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"84df210c0c51415c1efc83add2f93efb","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/b3eed8f7-ca9e-4325-b4c5-d166930dc168' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdb6ff4db-1ebf-4262-b141-206285cf9b12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"31a5821f-9f02-4b46-bdf4-eee14bbe3296","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072519.3818092} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"84df210c0c51415c1efc83add2f93efb","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"80fd108e-afbd-4fdb-bab8-4ee8785da188","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072519.3865728} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"84df210c0c51415c1efc83add2f93efb","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/f3426c34-e644-49d2-b784-7a9aca494334' closed"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdb6ff4db-1ebf-4262-b141-206285cf9b12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"e68b2da3-7783-4199-9932-ce999924d440","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072519.3974974} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4c80018f-7225-40dd-90e0-add8bd1ee906","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072519.397748} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"84df210c0c51415c1efc83add2f93efb","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdb6ff4db-1ebf-4262-b141-206285cf9b12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdb6ff4db-1ebf-4262-b141-206285cf9b12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:19.397472097Z"}]},"request_id":"202e96fc-c212-454f-a0c3-fd0dd8f84153","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072519.4023364} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"84df210c0c51415c1efc83add2f93efb","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"84df210c0c51415c1efc83add2f93efb"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.049","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"84df210c0c51415c1efc83add2f93efb"} device-1 | {"level":"info","message":"POST /devices? 201 42ms","method":"POST","requestID":"84df210c0c51415c1efc83add2f93efb","responseTime":42,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxOX0.Y7R-PpLlgkX-9rgjVzPWztDsOdj5Pa2XGaaf5wlSMeE","level":"info","message":"auth send jwt","requestID":"4db7e86ce030f98523f06720cc51c323"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"4db7e86ce030f98523f06720cc51c323","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"4db7e86ce030f98523f06720cc51c323"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":422,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:19Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":422,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.703953,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:19Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"4db7e86ce030f98523f06720cc51c323","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072519,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxOX0.Y7R-PpLlgkX-9rgjVzPWztDsOdj5Pa2XGaaf5wlSMeE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4db7e86ce030f98523f06720cc51c323","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"b9db0cdf-8eab-4872-afe9-a4a3f1f188ad","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072519.4255714} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4db7e86ce030f98523f06720cc51c323","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cfba0c18-dffa-467e-8f28-9fa6c6ef4210","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072519.4303098} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"4db7e86ce030f98523f06720cc51c323","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"4cec52c4-cfd1-4f57-8a17-966924e29ad9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072519.446519} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2aee5554-7693-4ed1-ad79-b5d8dba3ef4b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072519.4466836} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"4db7e86ce030f98523f06720cc51c323","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:19.446492853Z"}]},"request_id":"5c06c59a-dcc2-4c27-bb75-89e24b9883bb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072519.4510472} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4db7e86ce030f98523f06720cc51c323","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"4db7e86ce030f98523f06720cc51c323"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4db7e86ce030f98523f06720cc51c323"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"4db7e86ce030f98523f06720cc51c323","responseTime":44,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxOX0.Y7R-PpLlgkX-9rgjVzPWztDsOdj5Pa2XGaaf5wlSMeE","level":"info","message":"auth send jwt","requestID":"fa96236d270321be30238ab74ef289da"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"fa96236d270321be30238ab74ef289da","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"fa96236d270321be30238ab74ef289da"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":423,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:19Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":423,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.81826,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:19Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/db6ff4db-1ebf-4262-b141-206285cf9b12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fa96236d270321be30238ab74ef289da","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/db6ff4db-1ebf-4262-b141-206285cf9b12","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072519,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxOX0.Y7R-PpLlgkX-9rgjVzPWztDsOdj5Pa2XGaaf5wlSMeE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"fa96236d270321be30238ab74ef289da","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdb6ff4db-1ebf-4262-b141-206285cf9b12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdb6ff4db-1ebf-4262-b141-206285cf9b12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:19.397472097Z"}]},"request_id":"141dac8c-324d-4098-95df-137f518eb90e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072519.9318578} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"fa96236d270321be30238ab74ef289da","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5fae53d9-8798-4889-b7d6-1bbf16ae64d1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072519.937473} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"fa96236d270321be30238ab74ef289da","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdb6ff4db-1ebf-4262-b141-206285cf9b12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdb6ff4db-1ebf-4262-b141-206285cf9b12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:19.397472097Z"}]},"request_id":"b6d5eba3-9e64-4fcc-bc85-c0bfd2e4fa80","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072519.949995} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"fa96236d270321be30238ab74ef289da","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"fa96236d270321be30238ab74ef289da"} gateway-1 | {"time_local":"16/Oct/2024:09:55:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/db6ff4db-1ebf-4262-b141-206285cf9b12 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.039","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"fa96236d270321be30238ab74ef289da"} device-1 | {"level":"info","message":"PATCH /devices/db6ff4db-1ebf-4262-b141-206285cf9b12 200 33ms","method":"PATCH","requestID":"fa96236d270321be30238ab74ef289da","responseTime":33,"status":200,"url":"/devices/db6ff4db-1ebf-4262-b141-206285cf9b12"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxOX0.Y7R-PpLlgkX-9rgjVzPWztDsOdj5Pa2XGaaf5wlSMeE","level":"info","message":"auth send jwt","requestID":"bb1de319572b824801134dfafb85904c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"bb1de319572b824801134dfafb85904c","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"bb1de319572b824801134dfafb85904c"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":424,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:19Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":424,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.146241,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:19Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/db6ff4db-1ebf-4262-b141-206285cf9b12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bb1de319572b824801134dfafb85904c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/db6ff4db-1ebf-4262-b141-206285cf9b12","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072519,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUxOX0.Y7R-PpLlgkX-9rgjVzPWztDsOdj5Pa2XGaaf5wlSMeE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"bb1de319572b824801134dfafb85904c","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"bb1de319572b824801134dfafb85904c"} device-1 | {"level":"info","message":"POST /devices/db6ff4db-1ebf-4262-b141-206285cf9b12/websocket 200 15ms","method":"POST","requestID":"bb1de319572b824801134dfafb85904c","responseTime":15,"status":200,"url":"/devices/db6ff4db-1ebf-4262-b141-206285cf9b12/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:55:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/db6ff4db-1ebf-4262-b141-206285cf9b12/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.10","requestID":"bb1de319572b824801134dfafb85904c"} device-1 | {"level":"info","message":"device 'http://localhost/devices/db6ff4db-1ebf-4262-b141-206285cf9b12' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f5ba2e31881034f01b90232b5b72e514","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"f5ba2e31881034f01b90232b5b72e514","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12/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":"f5ba2e31881034f01b90232b5b72e514"} device-1 | {"level":"info","message":"OPTIONS /devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12/websocket 200 1ms","method":"OPTIONS","requestID":"f5ba2e31881034f01b90232b5b72e514","responseTime":1,"status":200,"url":"/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyMX0.suSqw9oNh6cJqP6md_V5aNx6reRwQlrdwH7mJ3Z5FPc","level":"info","message":"auth send jwt","requestID":"00432bdd764567ae1fbad09f5b58a0ee"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"00432bdd764567ae1fbad09f5b58a0ee","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"00432bdd764567ae1fbad09f5b58a0ee"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":425,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":425,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.19455,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"00432bdd764567ae1fbad09f5b58a0ee","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072521,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyMX0.suSqw9oNh6cJqP6md_V5aNx6reRwQlrdwH7mJ3Z5FPc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"00432bdd764567ae1fbad09f5b58a0ee","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"00432bdd764567ae1fbad09f5b58a0ee"} gateway-1 | {"time_local":"16/Oct/2024:09:55:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12/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":"00432bdd764567ae1fbad09f5b58a0ee"} device-1 | {"level":"info","message":"POST /devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12/websocket 200 23ms","method":"POST","requestID":"00432bdd764567ae1fbad09f5b58a0ee","responseTime":23,"status":200,"url":"/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"841567056dcbbb0aefc816c26912eedc","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"841567056dcbbb0aefc816c26912eedc","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12? 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":"841567056dcbbb0aefc816c26912eedc"} device-1 | {"level":"info","message":"OPTIONS /devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12? 200 1ms","method":"OPTIONS","requestID":"841567056dcbbb0aefc816c26912eedc","responseTime":1,"status":200,"url":"/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyMX0.suSqw9oNh6cJqP6md_V5aNx6reRwQlrdwH7mJ3Z5FPc","level":"info","message":"auth send jwt","requestID":"4c0b9849c222ab69dc4e6c370a1638fc"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"4c0b9849c222ab69dc4e6c370a1638fc","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"4c0b9849c222ab69dc4e6c370a1638fc"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":426,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":426,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.202557,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"4c0b9849c222ab69dc4e6c370a1638fc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072521,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyMX0.suSqw9oNh6cJqP6md_V5aNx6reRwQlrdwH7mJ3Z5FPc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4c0b9849c222ab69dc4e6c370a1638fc","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:19.446492853Z"}]},"request_id":"0014aa8a-b913-4204-966d-f9068030795e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072521.5754225} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"4c0b9849c222ab69dc4e6c370a1638fc","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"53b13a31-488f-4646-8ce2-c07c35d8e064","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072521.58437} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"4c0b9849c222ab69dc4e6c370a1638fc","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:19.446492853Z"}]},"request_id":"59fa63d1-2a12-41da-b728-f9f911c6c3cc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072521.5986972} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"4c0b9849c222ab69dc4e6c370a1638fc","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"4c0b9849c222ab69dc4e6c370a1638fc"} device-1 | {"level":"info","message":"PATCH /devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12? 200 43ms","method":"PATCH","requestID":"4c0b9849c222ab69dc4e6c370a1638fc","responseTime":43,"status":200,"url":"/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12? 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":"4c0b9849c222ab69dc4e6c370a1638fc"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyMX0.suSqw9oNh6cJqP6md_V5aNx6reRwQlrdwH7mJ3Z5FPc","level":"info","message":"auth send jwt","requestID":"084fe0b8687027097e49a7375667115f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"084fe0b8687027097e49a7375667115f","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"084fe0b8687027097e49a7375667115f"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":427,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":427,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.245274,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/db6ff4db-1ebf-4262-b141-206285cf9b12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"084fe0b8687027097e49a7375667115f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/db6ff4db-1ebf-4262-b141-206285cf9b12","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072521,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyMX0.suSqw9oNh6cJqP6md_V5aNx6reRwQlrdwH7mJ3Z5FPc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"084fe0b8687027097e49a7375667115f","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdb6ff4db-1ebf-4262-b141-206285cf9b12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdb6ff4db-1ebf-4262-b141-206285cf9b12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:19.397472097Z"}]},"request_id":"b6ca40fd-0b94-4d70-8c78-a38a5224062c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072521.6288536} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"084fe0b8687027097e49a7375667115f","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"084fe0b8687027097e49a7375667115f"} gateway-1 | {"time_local":"16/Oct/2024:09:55:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/db6ff4db-1ebf-4262-b141-206285cf9b12? 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":"084fe0b8687027097e49a7375667115f"} device-1 | {"level":"info","message":"GET /devices/db6ff4db-1ebf-4262-b141-206285cf9b12? 200 19ms","method":"GET","requestID":"084fe0b8687027097e49a7375667115f","responseTime":19,"status":200,"url":"/devices/db6ff4db-1ebf-4262-b141-206285cf9b12?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyMX0.suSqw9oNh6cJqP6md_V5aNx6reRwQlrdwH7mJ3Z5FPc","level":"info","message":"auth send jwt","requestID":"55ba2985d5539dd590bde6868da2d2fa"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"55ba2985d5539dd590bde6868da2d2fa","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"55ba2985d5539dd590bde6868da2d2fa"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":428,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":428,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.299641,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"55ba2985d5539dd590bde6868da2d2fa","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072521,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyMX0.suSqw9oNh6cJqP6md_V5aNx6reRwQlrdwH7mJ3Z5FPc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"55ba2985d5539dd590bde6868da2d2fa","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:19.446492853Z"}]},"request_id":"10cc3d4b-2fe5-446d-b543-2f66b1dd8c99","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072521.6531615} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"55ba2985d5539dd590bde6868da2d2fa","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"55ba2985d5539dd590bde6868da2d2fa"} device-1 | {"level":"info","message":"GET /devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12? 200 18ms","method":"GET","requestID":"55ba2985d5539dd590bde6868da2d2fa","responseTime":18,"status":200,"url":"/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12? 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":"55ba2985d5539dd590bde6868da2d2fa"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyMX0.suSqw9oNh6cJqP6md_V5aNx6reRwQlrdwH7mJ3Z5FPc","level":"info","message":"auth send jwt","requestID":"a95e35bb39aa3dcba992a7586c9f01af"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"a95e35bb39aa3dcba992a7586c9f01af","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"a95e35bb39aa3dcba992a7586c9f01af"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":429,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":429,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.267592,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a95e35bb39aa3dcba992a7586c9f01af","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072521,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyMX0.suSqw9oNh6cJqP6md_V5aNx6reRwQlrdwH7mJ3Z5FPc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a95e35bb39aa3dcba992a7586c9f01af","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401"},"level":"info","message":"Attempting to run experiment","requestID":"a95e35bb39aa3dcba992a7586c9f01af"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401"},"level":"info","message":"Attempting to book experiment","requestID":"a95e35bb39aa3dcba992a7586c9f01af"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401"},"level":"info","message":"Successfully booked experiment","requestID":"a95e35bb39aa3dcba992a7586c9f01af"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c1faef00-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c1fb3d20-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":430,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":430,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.842216,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/db6ff4db-1ebf-4262-b141-206285cf9b12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c1faef00-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/db6ff4db-1ebf-4262-b141-206285cf9b12","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072521,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyMX0.suSqw9oNh6cJqP6md_V5aNx6reRwQlrdwH7mJ3Z5FPc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c1faef00-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59224","level":"info","msg":"Received request.","req_id":431,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"client_addr":"127.0.0.1:59224","level":"info","msg":"Sent response.","req_id":431,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.532453,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c1fb3d20-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072521,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyMX0.suSqw9oNh6cJqP6md_V5aNx6reRwQlrdwH7mJ3Z5FPc"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"c1fb3d20-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdb6ff4db-1ebf-4262-b141-206285cf9b12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdb6ff4db-1ebf-4262-b141-206285cf9b12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:19.397472097Z"}]},"request_id":"e8509be3-7b23-4b32-aafc-be776939fbf9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072521.722993} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c1faef00-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:19.446492853Z"}]},"request_id":"50fc60c9-8e90-4046-9ce7-6fd1927d3523","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072521.7274055} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c1faef00-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c1fb3d20-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/db6ff4db-1ebf-4262-b141-206285cf9b12? 200 17ms","method":"GET","requestID":"c1faef00-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/db6ff4db-1ebf-4262-b141-206285cf9b12?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c1fb3d20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12? 200 20ms","method":"GET","requestID":"c1fb3d20-8ba4-11ef-a62f-5f7f958aa687","responseTime":20,"status":200,"url":"/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401"},"level":"info","message":"Setting up experiment","requestID":"a95e35bb39aa3dcba992a7586c9f01af"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"a95e35bb39aa3dcba992a7586c9f01af"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401"},"level":"info","message":"Successfully locked booking for experiment","requestID":"a95e35bb39aa3dcba992a7586c9f01af"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"a95e35bb39aa3dcba992a7586c9f01af"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"a95e35bb39aa3dcba992a7586c9f01af"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401"},"level":"info","message":"Attempting to update booking for experiment","requestID":"a95e35bb39aa3dcba992a7586c9f01af"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401"},"level":"info","message":"Successfully updated booking for experiment","requestID":"a95e35bb39aa3dcba992a7586c9f01af"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401"},"level":"info","message":"Successfully set up experiment","requestID":"a95e35bb39aa3dcba992a7586c9f01af"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c206fcf0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c2074b10-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c207e750-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401"},"level":"info","message":"Successfully running experiment","requestID":"a95e35bb39aa3dcba992a7586c9f01af"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":432,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":432,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.073355,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"client_addr":"127.0.0.1:59224","level":"info","msg":"Received request.","req_id":433,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/db6ff4db-1ebf-4262-b141-206285cf9b12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c206fcf0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/db6ff4db-1ebf-4262-b141-206285cf9b12","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072521,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyMX0.suSqw9oNh6cJqP6md_V5aNx6reRwQlrdwH7mJ3Z5FPc"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"c206fcf0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59224","level":"info","msg":"Sent response.","req_id":433,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.93023,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c2074b10-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072521,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyMX0.suSqw9oNh6cJqP6md_V5aNx6reRwQlrdwH7mJ3Z5FPc"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"c2074b10-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":434,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdb6ff4db-1ebf-4262-b141-206285cf9b12","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"608bc1ef-53d3-423d-b2df-e44f50a2f0e2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072521.8063848} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":434,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.302938,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/db6ff4db-1ebf-4262-b141-206285cf9b12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c207e750-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/db6ff4db-1ebf-4262-b141-206285cf9b12","object_type":"device","rebac_allow":false,"scope_allow":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":"c207e750-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:19.446492853Z"}]},"request_id":"c66b5990-bd72-49d8-8933-10123c19c521","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072521.811283} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"c2074b10-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c207e750-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdb6ff4db-1ebf-4262-b141-206285cf9b12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdb6ff4db-1ebf-4262-b141-206285cf9b12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:19.397472097Z"}]},"request_id":"c031a6aa-c7dd-474c-87c9-fbcee4d3d6cc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072521.8157406} device-1 | {"level":"info","message":"POST /devices/db6ff4db-1ebf-4262-b141-206285cf9b12/signaling 200 19ms","method":"POST","requestID":"c207e750-8ba4-11ef-a62f-5f7f958aa687","responseTime":19,"status":200,"url":"/devices/db6ff4db-1ebf-4262-b141-206285cf9b12/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"c206fcf0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c20b90d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c2074b10-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"c332e9d2-019d-4ab2-8df3-8d70d4b377ac","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072521.8245482} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"daf20a57-0881-4110-a7d8-cc6cec7b41d3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072521.824719} device-1 | {"level":"info","message":"GET /devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12? 200 33ms","method":"GET","requestID":"c2074b10-8ba4-11ef-a62f-5f7f958aa687","responseTime":33,"status":200,"url":"/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c206fcf0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/db6ff4db-1ebf-4262-b141-206285cf9b12? 200 36ms","method":"GET","requestID":"c206fcf0-8ba4-11ef-a62f-5f7f958aa687","responseTime":36,"status":200,"url":"/devices/db6ff4db-1ebf-4262-b141-206285cf9b12?"} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"a95e35bb39aa3dcba992a7586c9f01af","responseTime":22,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":435,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"522260a5-f5a6-4e93-9b97-8d52e68c354c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072521.828067} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":435,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.251625,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c20b90d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","object_type":"device","rebac_allow":false,"scope_allow":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":"c20b90d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c20cf060-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":436,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:21Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c20b90d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12/signaling 200 14ms","method":"POST","requestID":"c20b90d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdb6ff4db-1ebf-4262-b141-206285cf9b12","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5dd99e36-2270-46f8-ba57-4efa7df3041c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072521.8360322} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":436,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.452855,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/db6ff4db-1ebf-4262-b141-206285cf9b12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c20cf060-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/db6ff4db-1ebf-4262-b141-206285cf9b12","object_type":"device","rebac_allow":false,"scope_allow":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":"c20cf060-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"a95e35bb39aa3dcba992a7586c9f01af"} gateway-1 | {"time_local":"16/Oct/2024:09:55:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"782","request_time":"0.177","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a95e35bb39aa3dcba992a7586c9f01af"} experiment-1 | {"level":"info","message":"POST /experiments? 201 173ms","method":"POST","requestID":"a95e35bb39aa3dcba992a7586c9f01af","responseTime":173,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c20cf060-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/db6ff4db-1ebf-4262-b141-206285cf9b12/signaling 200 11ms","method":"POST","requestID":"c20cf060-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/db6ff4db-1ebf-4262-b141-206285cf9b12/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyMX0.suSqw9oNh6cJqP6md_V5aNx6reRwQlrdwH7mJ3Z5FPc","level":"info","message":"auth send jwt","requestID":"5fcbc12164cc45806c98514ec4ba8b15"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"5fcbc12164cc45806c98514ec4ba8b15","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c20f1340-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5fcbc12164cc45806c98514ec4ba8b15"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":437,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"client_addr":"127.0.0.1:59224","level":"info","msg":"Received request.","req_id":438,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ee2a4758-a9b1-466e-bc37-588446bcd593","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072521.8481288} authorization-1 | {"client_addr":"127.0.0.1:59224","level":"info","msg":"Sent response.","req_id":438,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.786528,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/db6ff4db-1ebf-4262-b141-206285cf9b12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"5fcbc12164cc45806c98514ec4ba8b15","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/db6ff4db-1ebf-4262-b141-206285cf9b12","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072521,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyMX0.suSqw9oNh6cJqP6md_V5aNx6reRwQlrdwH7mJ3Z5FPc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5fcbc12164cc45806c98514ec4ba8b15","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":437,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.165521,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c20f1340-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","object_type":"device","rebac_allow":false,"scope_allow":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":"c20f1340-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdb6ff4db-1ebf-4262-b141-206285cf9b12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdb6ff4db-1ebf-4262-b141-206285cf9b12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:19.397472097Z"}]},"request_id":"db4ebbe8-3c47-49d5-8c63-27d7c258e600","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072521.85323} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c20f1340-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5fcbc12164cc45806c98514ec4ba8b15","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"POST /devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12/signaling 200 10ms","method":"POST","requestID":"c20f1340-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"a95e35bb39aa3dcba992a7586c9f01af"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c210e800-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c2113620-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5fcbc12164cc45806c98514ec4ba8b15"} gateway-1 | {"time_local":"16/Oct/2024:09:55:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/db6ff4db-1ebf-4262-b141-206285cf9b12? 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":"5fcbc12164cc45806c98514ec4ba8b15"} device-1 | {"level":"info","message":"GET /devices/db6ff4db-1ebf-4262-b141-206285cf9b12? 200 15ms","method":"GET","requestID":"5fcbc12164cc45806c98514ec4ba8b15","responseTime":15,"status":200,"url":"/devices/db6ff4db-1ebf-4262-b141-206285cf9b12?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":439,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":439,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.694685,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/db6ff4db-1ebf-4262-b141-206285cf9b12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c210e800-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/db6ff4db-1ebf-4262-b141-206285cf9b12","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072521,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyMX0.suSqw9oNh6cJqP6md_V5aNx6reRwQlrdwH7mJ3Z5FPc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c210e800-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59224","level":"info","msg":"Received request.","req_id":440,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"client_addr":"127.0.0.1:59224","level":"info","msg":"Sent response.","req_id":440,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.896554,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c2113620-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072521,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyMX0.suSqw9oNh6cJqP6md_V5aNx6reRwQlrdwH7mJ3Z5FPc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"c2113620-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyMX0.suSqw9oNh6cJqP6md_V5aNx6reRwQlrdwH7mJ3Z5FPc","level":"info","message":"auth send jwt","requestID":"3b3f37c4e475950067e6d633fbcefa47"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"3b3f37c4e475950067e6d633fbcefa47","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3b3f37c4e475950067e6d633fbcefa47"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdb6ff4db-1ebf-4262-b141-206285cf9b12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdb6ff4db-1ebf-4262-b141-206285cf9b12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:19.397472097Z"}]},"request_id":"b35cb2fb-05a7-44ff-9262-4f1a356d8e28","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072521.8662684} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c210e800-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:19.446492853Z"}]},"request_id":"1c85c22c-8be0-4818-b415-82a092a0b601","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072521.8675199} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c2113620-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":441,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":441,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.734696,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3b3f37c4e475950067e6d633fbcefa47","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072521,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyMX0.suSqw9oNh6cJqP6md_V5aNx6reRwQlrdwH7mJ3Z5FPc"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c210e800-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3b3f37c4e475950067e6d633fbcefa47","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"GET /devices/db6ff4db-1ebf-4262-b141-206285cf9b12? 200 15ms","method":"GET","requestID":"c210e800-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/db6ff4db-1ebf-4262-b141-206285cf9b12?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c2113620-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12? 200 16ms","method":"GET","requestID":"c2113620-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:19.446492853Z"}]},"request_id":"bbb72379-b9b8-4fbe-a2a8-5aaa8ef2e5a7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072521.87452} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401"},"level":"info","message":"Building connection plan","requestID":"a95e35bb39aa3dcba992a7586c9f01af"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3b3f37c4e475950067e6d633fbcefa47","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"fa12d44c-4358-4837-9593-945499281040"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"39bae0e9-a69c-4580-9fbb-0f96fe806c53"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/file","uuid":"1c8af499-8b2c-4170-9654-d7b15785d257"}]},"level":"info","message":"Built pairwise service configurations","requestID":"a95e35bb39aa3dcba992a7586c9f01af"} 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/db6ff4db-1ebf-4262-b141-206285cf9b12"},{"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/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"a95e35bb39aa3dcba992a7586c9f01af"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"c2141c50-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3b3f37c4e475950067e6d633fbcefa47"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":442,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:21Z"} gateway-1 | {"time_local":"16/Oct/2024:09:55:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12? 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":"3b3f37c4e475950067e6d633fbcefa47"} device-1 | {"level":"info","message":"GET /devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12? 200 13ms","method":"GET","requestID":"3b3f37c4e475950067e6d633fbcefa47","responseTime":13,"status":200,"url":"/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":442,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.825107,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c2141c50-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072521,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyMX0.suSqw9oNh6cJqP6md_V5aNx6reRwQlrdwH7mJ3Z5FPc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c2141c50-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"ec4bf5de-bea1-4999-90e6-70f9db2064b9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072521.8883975} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f040bce7-4711-46f6-afa6-607967a19630","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072521.888581} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"c2141c50-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"c2141c50-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"c2141c50-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/64841ef9-1a9d-4371-afba-6d46e1df3e30'","requestID":"c2141c50-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/64841ef9-1a9d-4371-afba-6d46e1df3e30'","requestID":"c2141c50-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"c2141c50-8ba4-11ef-a62f-5f7f958aa687"} 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":"c2141c50-8ba4-11ef-a62f-5f7f958aa687","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":"c2141c50-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"a95e35bb39aa3dcba992a7586c9f01af"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c21be480-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":443,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdb6ff4db-1ebf-4262-b141-206285cf9b12","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0f721578-96f5-4118-b7da-a50f385efe7c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072521.933131} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":443,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.739061,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/db6ff4db-1ebf-4262-b141-206285cf9b12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c21be480-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/db6ff4db-1ebf-4262-b141-206285cf9b12","object_type":"device","rebac_allow":false,"scope_allow":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":"c21be480-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c21be480-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/db6ff4db-1ebf-4262-b141-206285cf9b12/signaling 200 9ms","method":"POST","requestID":"c21be480-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/db6ff4db-1ebf-4262-b141-206285cf9b12/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c21d9230-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":444,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"15ebb143-c9d3-4d74-ba46-b5c5b22cf7b5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072521.944279} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":444,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.753866,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c21d9230-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","object_type":"device","rebac_allow":false,"scope_allow":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":"c21d9230-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c21d9230-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12/signaling 200 9ms","method":"POST","requestID":"c21d9230-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12/signaling"} device-1 | {"device":"22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 7726659055300846442 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:es97\r\na=ice-pwd:dVPD9dBEkwAqiYyPwFcCw7fF\r\na=ice-options:trickle\r\na=fingerprint:sha-256 EC:AB:76:58:97:89:D1:C1:08:47:FA:F7:61:8D:08:FE:62:E3:E0:49:35:27:AE:4C:99:76:F3:87:85:2B:6E:09\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"device":"22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"db6ff4db-1ebf-4262-b141-206285cf9b12","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":"64841ef9-1a9d-4371-afba-6d46e1df3e30","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"db6ff4db-1ebf-4262-b141-206285cf9b12","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":"db6ff4db-1ebf-4262-b141-206285cf9b12","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":"db6ff4db-1ebf-4262-b141-206285cf9b12","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":"db6ff4db-1ebf-4262-b141-206285cf9b12","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/64841ef9-1a9d-4371-afba-6d46e1df3e30' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"64841ef9-1a9d-4371-afba-6d46e1df3e30","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"73112c0bf44366d3bd8d71d4f1ea72ca","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"73112c0bf44366d3bd8d71d4f1ea72ca","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/db6ff4db-1ebf-4262-b141-206285cf9b12"},{"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/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/64841ef9-1a9d-4371-afba-6d46e1df3e30"}}},"level":"info","message":"received a callback","requestID":"73112c0bf44366d3bd8d71d4f1ea72ca"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 9ms","method":"POST","requestID":"73112c0bf44366d3bd8d71d4f1ea72ca","responseTime":9,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.013","http_referrer":"","http_user_agent":"node-fetch","requestID":"73112c0bf44366d3bd8d71d4f1ea72ca"} device-1 | {"content":{"candidate":"candidate:569684285 1 udp 2113937151 c0fda32c-e27a-4f68-9624-ef355d1540a1.local 43325 typ host generation 0 ufrag es97 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2782518082 1 udp 1677729535 141.24.211.56 43325 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag es97 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:4141114569 1 udp 33562623 141.24.210.113 52727 typ relay raddr 141.24.211.56 rport 43325 generation 0 ufrag es97 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"db6ff4db-1ebf-4262-b141-206285cf9b12","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":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12'"} device-1 | {"data":{"peerconnection":"64841ef9-1a9d-4371-afba-6d46e1df3e30","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"db6ff4db-1ebf-4262-b141-206285cf9b12","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":"64841ef9-1a9d-4371-afba-6d46e1df3e30","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/64841ef9-1a9d-4371-afba-6d46e1df3e30' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"64841ef9-1a9d-4371-afba-6d46e1df3e30","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} 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/db6ff4db-1ebf-4262-b141-206285cf9b12"},{"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/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/64841ef9-1a9d-4371-afba-6d46e1df3e30"}}},"level":"info","message":"received a callback","requestID":"80601a18fc52b59212a423ee6c17ceee"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"80601a18fc52b59212a423ee6c17ceee","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"80601a18fc52b59212a423ee6c17ceee","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"c35771c0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":445,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:23Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F64841ef9-1a9d-4371-afba-6d46e1df3e30","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"29a4582d-4891-4217-86e7-4259449f5e1b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072524.0017147} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":445,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.790087,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/64841ef9-1a9d-4371-afba-6d46e1df3e30","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c35771c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/64841ef9-1a9d-4371-afba-6d46e1df3e30","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":"c35771c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"c35771c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/64841ef9-1a9d-4371-afba-6d46e1df3e30 200 10ms","method":"GET","requestID":"c35771c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/peerconnections/64841ef9-1a9d-4371-afba-6d46e1df3e30"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 38ms","method":"POST","requestID":"80601a18fc52b59212a423ee6c17ceee","responseTime":38,"status":200,"url":"/callbacks/experiment"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c35c2cb0-8ba4-11ef-a62f-5f7f958aa687"} gateway-1 | {"time_local":"16/Oct/2024:09:55:24 +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.041","http_referrer":"","http_user_agent":"node-fetch","requestID":"80601a18fc52b59212a423ee6c17ceee"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":446,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:24Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdb6ff4db-1ebf-4262-b141-206285cf9b12","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9546c763-654e-4f9f-8171-4252b7aafad7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072524.0319393} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":446,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.357348,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/db6ff4db-1ebf-4262-b141-206285cf9b12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c35c2cb0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/db6ff4db-1ebf-4262-b141-206285cf9b12","object_type":"device","rebac_allow":false,"scope_allow":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":"c35c2cb0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c35c2cb0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/db6ff4db-1ebf-4262-b141-206285cf9b12/signaling 200 10ms","method":"POST","requestID":"c35c2cb0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/db6ff4db-1ebf-4262-b141-206285cf9b12/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c35e2880-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":447,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:24Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"27745aa8-1a81-47a9-b84a-5ae8d22cebd4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072524.0448701} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":447,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.545119,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c35e2880-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","object_type":"device","rebac_allow":false,"scope_allow":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":"c35e2880-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c35e2880-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12/signaling 200 9ms","method":"POST","requestID":"c35e2880-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNH0.6NTB6cRxTFytUJ94dXK1ZF6pF6gjLP5ljocsGco12cI","level":"info","message":"auth send jwt","requestID":"394c5425b018097fbd7eaeed6a8c853d"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"394c5425b018097fbd7eaeed6a8c853d","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401","requestID":"394c5425b018097fbd7eaeed6a8c853d"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":448,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:24Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":448,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.272267,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"394c5425b018097fbd7eaeed6a8c853d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072524,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNH0.6NTB6cRxTFytUJ94dXK1ZF6pF6gjLP5ljocsGco12cI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"394c5425b018097fbd7eaeed6a8c853d","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401","requestID":"394c5425b018097fbd7eaeed6a8c853d"} experiment-1 | {"level":"info","message":"GET /experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401 200 16ms","method":"GET","requestID":"394c5425b018097fbd7eaeed6a8c853d","responseTime":16,"status":200,"url":"/experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401"} gateway-1 | {"time_local":"16/Oct/2024:09:55:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401 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":"394c5425b018097fbd7eaeed6a8c853d"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNH0.6NTB6cRxTFytUJ94dXK1ZF6pF6gjLP5ljocsGco12cI","level":"info","message":"auth send jwt","requestID":"09218aa0f64361ec77baad9fcd38f301"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"09218aa0f64361ec77baad9fcd38f301","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401","requestID":"09218aa0f64361ec77baad9fcd38f301"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":449,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:24Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":449,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.180333,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:24Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"09218aa0f64361ec77baad9fcd38f301","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072524,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNH0.6NTB6cRxTFytUJ94dXK1ZF6pF6gjLP5ljocsGco12cI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"09218aa0f64361ec77baad9fcd38f301","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401"},"level":"info","message":"Attempting to finish experiment","requestID":"09218aa0f64361ec77baad9fcd38f301"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"c3799fc0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":450,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:24Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":450,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.207785,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:24Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/64841ef9-1a9d-4371-afba-6d46e1df3e30","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c3799fc0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/64841ef9-1a9d-4371-afba-6d46e1df3e30","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072524,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNH0.6NTB6cRxTFytUJ94dXK1ZF6pF6gjLP5ljocsGco12cI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"c3799fc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/64841ef9-1a9d-4371-afba-6d46e1df3e30","device":"22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"db6ff4db-1ebf-4262-b141-206285cf9b12","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":"db6ff4db-1ebf-4262-b141-206285cf9b12","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":"db6ff4db-1ebf-4262-b141-206285cf9b12","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/64841ef9-1a9d-4371-afba-6d46e1df3e30' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/64841ef9-1a9d-4371-afba-6d46e1df3e30' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"64841ef9-1a9d-4371-afba-6d46e1df3e30","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F64841ef9-1a9d-4371-afba-6d46e1df3e30': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F64841ef9-1a9d-4371-afba-6d46e1df3e30","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"6045e597-44e9-40be-96da-37a6fbb98058","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072524.245088} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b24c3645-cbea-4363-b83b-85103d59df35","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072524.2453876} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ae52d7ce67e9f304633154541933f6bb","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"c3799fc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ae52d7ce67e9f304633154541933f6bb","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":"closed","url":"http://localhost/devices/db6ff4db-1ebf-4262-b141-206285cf9b12"},{"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/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/64841ef9-1a9d-4371-afba-6d46e1df3e30"}}},"level":"info","message":"received a callback","requestID":"ae52d7ce67e9f304633154541933f6bb"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"937d71da0b7b9077ed8623c8733b767b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"937d71da0b7b9077ed8623c8733b767b","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":["webrtc"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/db6ff4db-1ebf-4262-b141-206285cf9b12"},{"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/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/64841ef9-1a9d-4371-afba-6d46e1df3e30"}}},"level":"info","message":"received a callback","requestID":"937d71da0b7b9077ed8623c8733b767b"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"c3799fc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/64841ef9-1a9d-4371-afba-6d46e1df3e30 204 32ms","method":"DELETE","requestID":"c3799fc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":32,"status":204,"url":"/peerconnections/64841ef9-1a9d-4371-afba-6d46e1df3e30"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401"},"level":"info","message":"Successfully finished experiment","requestID":"09218aa0f64361ec77baad9fcd38f301"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c3822b40-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":451,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:24Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":451,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.611769,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:24Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdb6ff4db-1ebf-4262-b141-206285cf9b12","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0f604c09-cf12-4967-b08a-5e5c54090917","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072524.2837374} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/db6ff4db-1ebf-4262-b141-206285cf9b12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c3822b40-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/db6ff4db-1ebf-4262-b141-206285cf9b12","object_type":"device","rebac_allow":false,"scope_allow":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":"c3822b40-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c3822b40-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/db6ff4db-1ebf-4262-b141-206285cf9b12/signaling 200 15ms","method":"POST","requestID":"c3822b40-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/db6ff4db-1ebf-4262-b141-206285cf9b12/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c384ea60-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"36779dd2-9285-4709-9650-5fbf09a49cba","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072524.2960043} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c154f340-6a7c-4159-baa6-1af81b0dda34","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072524.2962341} authorization-1 | {"level":"info","message":"POST /relations/update 200 25ms","method":"POST","requestID":"09218aa0f64361ec77baad9fcd38f301","responseTime":25,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":452,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:24Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"13098817-c537-4224-9dd2-477f94163107","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072524.3014824} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":452,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.002962,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c384ea60-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12","object_type":"device","rebac_allow":false,"scope_allow":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":"c384ea60-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c384ea60-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12/signaling 200 13ms","method":"POST","requestID":"c384ea60-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401","requestID":"09218aa0f64361ec77baad9fcd38f301"} gateway-1 | {"time_local":"16/Oct/2024:09:55:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401 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":"09218aa0f64361ec77baad9fcd38f301"} gateway-1 | {"time_local":"16/Oct/2024:09:55:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3317","request_time":"4.387","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"c216e94b0bb7fff624dc39dec1431e1b"} experiment-1 | {"level":"info","message":"DELETE /experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401 204 159ms","method":"DELETE","requestID":"09218aa0f64361ec77baad9fcd38f301","responseTime":159,"status":204,"url":"/experiments/1df98d96-c2fd-4ca1-93a2-e1c5ee8bf401"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 118ms","method":"POST","requestID":"ae52d7ce67e9f304633154541933f6bb","responseTime":118,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55:24 +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":"ae52d7ce67e9f304633154541933f6bb"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNH0.6NTB6cRxTFytUJ94dXK1ZF6pF6gjLP5ljocsGco12cI","level":"info","message":"auth send jwt","requestID":"ca77dd7fd3c154d7345001ff04c65aa9"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 119ms","method":"POST","requestID":"937d71da0b7b9077ed8623c8733b767b","responseTime":119,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55:24 +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":"937d71da0b7b9077ed8623c8733b767b"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"ca77dd7fd3c154d7345001ff04c65aa9","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"ca77dd7fd3c154d7345001ff04c65aa9"} gateway-1 | {"time_local":"16/Oct/2024:09:55:24 +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.861","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"9f6f1cd9bad46c7bd8e5a38e4724441b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":453,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:24Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":453,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.083412,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:24Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ca77dd7fd3c154d7345001ff04c65aa9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072524,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNH0.6NTB6cRxTFytUJ94dXK1ZF6pF6gjLP5ljocsGco12cI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ca77dd7fd3c154d7345001ff04c65aa9","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/db6ff4db-1ebf-4262-b141-206285cf9b12' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2a51ceae-7dcc-4a81-b036-53dff3865f2d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"652a976a-ec5b-44d7-bad1-1c70584ac91f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072524.3922555} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ca77dd7fd3c154d7345001ff04c65aa9","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5f1db777-c180-4267-b6e8-64485bcd0ac8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072524.3977127} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/22d49689-6fd4-4dbb-957c-c0ecbb3e2d12' closed"} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"ca77dd7fd3c154d7345001ff04c65aa9","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2a51ceae-7dcc-4a81-b036-53dff3865f2d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"7620d728-a643-42ef-a630-fadd73ff8664","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072524.4083393} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"80095d3c-bfb5-4434-b5e5-656d0ca303c8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072524.4086053} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"ca77dd7fd3c154d7345001ff04c65aa9","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2a51ceae-7dcc-4a81-b036-53dff3865f2d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2a51ceae-7dcc-4a81-b036-53dff3865f2d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:24.408316900Z"}]},"request_id":"0684ae67-6e7b-4a74-bf6d-d5f687fe68b6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072524.4130037} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ca77dd7fd3c154d7345001ff04c65aa9","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"ca77dd7fd3c154d7345001ff04c65aa9"} gateway-1 | {"time_local":"16/Oct/2024:09:55:24 +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":"ca77dd7fd3c154d7345001ff04c65aa9"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"ca77dd7fd3c154d7345001ff04c65aa9","responseTime":44,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNH0.6NTB6cRxTFytUJ94dXK1ZF6pF6gjLP5ljocsGco12cI","level":"info","message":"auth send jwt","requestID":"9f8e822446d91d2eb17c7aae1ae0a36f"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"9f8e822446d91d2eb17c7aae1ae0a36f","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"9f8e822446d91d2eb17c7aae1ae0a36f"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":454,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:24Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":454,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.73466,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:24Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"9f8e822446d91d2eb17c7aae1ae0a36f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072524,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNH0.6NTB6cRxTFytUJ94dXK1ZF6pF6gjLP5ljocsGco12cI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9f8e822446d91d2eb17c7aae1ae0a36f","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec960bd2-ed0b-4c95-b989-3e29684b1e85","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"2ad3353d-6d53-4f56-a45c-8c927ad52289","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072524.4359066} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"9f8e822446d91d2eb17c7aae1ae0a36f","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"15d9e964-430c-4936-bbd8-ba8450e01965","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072524.440424} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"9f8e822446d91d2eb17c7aae1ae0a36f","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec960bd2-ed0b-4c95-b989-3e29684b1e85","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"82079394-9f2b-4c02-aaee-ed055440688b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072524.4566472} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5cfd9f6a-4dc2-4d5f-95e2-1f6b80925888","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072524.4568787} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"9f8e822446d91d2eb17c7aae1ae0a36f","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec960bd2-ed0b-4c95-b989-3e29684b1e85","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec960bd2-ed0b-4c95-b989-3e29684b1e85","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:24.456612818Z"}]},"request_id":"eb86c6a4-99fc-4aaf-86a8-b99e4b9528bd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072524.4612136} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9f8e822446d91d2eb17c7aae1ae0a36f","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"9f8e822446d91d2eb17c7aae1ae0a36f"} gateway-1 | {"time_local":"16/Oct/2024:09:55:24 +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":"9f8e822446d91d2eb17c7aae1ae0a36f"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"9f8e822446d91d2eb17c7aae1ae0a36f","responseTime":43,"status":201,"url":"/devices?"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"b833ee50-08bc-43b0-97a3-7c3e1fab2af1\" in room \"http://localhost/rooms/2e052e1f-91b8-4efb-bab5-aca541727e06\"","requestID":"b1d49090-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"d68b1850-0175-445d-8d45-1b130ae42524\" in room \"http://localhost/rooms/2e052e1f-91b8-4efb-bab5-aca541727e06\"","requestID":"b1d505c0-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNH0.6NTB6cRxTFytUJ94dXK1ZF6pF6gjLP5ljocsGco12cI","level":"info","message":"auth send jwt","requestID":"7dbcc25e072449f4fc2ac84d84ab3fb9"} authentication-1 | {"level":"info","message":"GET /auth 200 8ms","method":"GET","requestID":"7dbcc25e072449f4fc2ac84d84ab3fb9","responseTime":8,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNH0.6NTB6cRxTFytUJ94dXK1ZF6pF6gjLP5ljocsGco12cI","level":"info","message":"auth send jwt","requestID":"c692aeac24ec61b415525c63b7898a7d"} authentication-1 | {"level":"info","message":"GET /auth 200 8ms","method":"GET","requestID":"c692aeac24ec61b415525c63b7898a7d","responseTime":8,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"7dbcc25e072449f4fc2ac84d84ab3fb9"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"c692aeac24ec61b415525c63b7898a7d"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":455,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:24Z"} authorization-1 | {"client_addr":"127.0.0.1:59224","level":"info","msg":"Received request.","req_id":456,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:24Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":455,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.204026,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:24Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"7dbcc25e072449f4fc2ac84d84ab3fb9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072524,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNH0.6NTB6cRxTFytUJ94dXK1ZF6pF6gjLP5ljocsGco12cI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7dbcc25e072449f4fc2ac84d84ab3fb9","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59224","level":"info","msg":"Sent response.","req_id":456,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.850245,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:24Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c692aeac24ec61b415525c63b7898a7d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072524,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNH0.6NTB6cRxTFytUJ94dXK1ZF6pF6gjLP5ljocsGco12cI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c692aeac24ec61b415525c63b7898a7d","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec960bd2-ed0b-4c95-b989-3e29684b1e85","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec960bd2-ed0b-4c95-b989-3e29684b1e85","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:24.456612818Z"}]},"request_id":"ddea01b8-a7f3-4318-81ff-e900df457eee","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072524.9422114} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7dbcc25e072449f4fc2ac84d84ab3fb9","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2a51ceae-7dcc-4a81-b036-53dff3865f2d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2a51ceae-7dcc-4a81-b036-53dff3865f2d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:24.408316900Z"}]},"request_id":"f6cf99e1-214e-4465-b973-0006823ed874","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072524.9427516} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"c692aeac24ec61b415525c63b7898a7d","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"421f155a-6894-4fcb-b993-536a5f6cbe89","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072524.9474564} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"7dbcc25e072449f4fc2ac84d84ab3fb9","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d8a67802-6737-4f5e-aac6-7d970e6aaf29","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072524.9489567} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"c692aeac24ec61b415525c63b7898a7d","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2a51ceae-7dcc-4a81-b036-53dff3865f2d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2a51ceae-7dcc-4a81-b036-53dff3865f2d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:24.408316900Z"}]},"request_id":"f150ab11-3236-44b6-bc73-b3ce6549fb8e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072524.9533947} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c692aeac24ec61b415525c63b7898a7d","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"c692aeac24ec61b415525c63b7898a7d"} gateway-1 | {"time_local":"16/Oct/2024:09:55:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.038","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"c692aeac24ec61b415525c63b7898a7d"} device-1 | {"level":"info","message":"PATCH /devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d 200 26ms","method":"PATCH","requestID":"c692aeac24ec61b415525c63b7898a7d","responseTime":26,"status":200,"url":"/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNH0.6NTB6cRxTFytUJ94dXK1ZF6pF6gjLP5ljocsGco12cI","level":"info","message":"auth send jwt","requestID":"973ec5d783f0fd9c65d6b53575151491"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"973ec5d783f0fd9c65d6b53575151491","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"973ec5d783f0fd9c65d6b53575151491"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec960bd2-ed0b-4c95-b989-3e29684b1e85","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec960bd2-ed0b-4c95-b989-3e29684b1e85","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:24.456612818Z"}]},"request_id":"e48e03c4-fbd7-4525-b910-8b96e065cd8d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072524.9660327} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"7dbcc25e072449f4fc2ac84d84ab3fb9","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":457,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:24Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":457,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.961594,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:24Z"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"7dbcc25e072449f4fc2ac84d84ab3fb9"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"973ec5d783f0fd9c65d6b53575151491","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072524,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNH0.6NTB6cRxTFytUJ94dXK1ZF6pF6gjLP5ljocsGco12cI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"973ec5d783f0fd9c65d6b53575151491","responseTime":5,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:55:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.052","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"7dbcc25e072449f4fc2ac84d84ab3fb9"} device-1 | {"level":"info","message":"PATCH /devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85 200 42ms","method":"PATCH","requestID":"7dbcc25e072449f4fc2ac84d84ab3fb9","responseTime":42,"status":200,"url":"/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNH0.6NTB6cRxTFytUJ94dXK1ZF6pF6gjLP5ljocsGco12cI","level":"info","message":"auth send jwt","requestID":"0bfa0bda018e5241077eda5bd4a563eb"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0bfa0bda018e5241077eda5bd4a563eb","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"0bfa0bda018e5241077eda5bd4a563eb"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":458,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:24Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":458,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.143618,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:24Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0bfa0bda018e5241077eda5bd4a563eb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072524,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNH0.6NTB6cRxTFytUJ94dXK1ZF6pF6gjLP5ljocsGco12cI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0bfa0bda018e5241077eda5bd4a563eb","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"973ec5d783f0fd9c65d6b53575151491"} device-1 | {"level":"info","message":"POST /devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d/websocket 200 22ms","method":"POST","requestID":"973ec5d783f0fd9c65d6b53575151491","responseTime":22,"status":200,"url":"/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:55:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d/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.10","requestID":"973ec5d783f0fd9c65d6b53575151491"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"0bfa0bda018e5241077eda5bd4a563eb"} device-1 | {"level":"info","message":"POST /devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85/websocket 200 17ms","method":"POST","requestID":"0bfa0bda018e5241077eda5bd4a563eb","responseTime":17,"status":200,"url":"/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:55:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85/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.10","requestID":"0bfa0bda018e5241077eda5bd4a563eb"} device-1 | {"level":"info","message":"device 'http://localhost/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNX0.1zjRCQndlrkI0-g_Iz1a_gjCozu-YWYQMfns1XfiYMU","level":"info","message":"auth send jwt","requestID":"20e72858a56a9cf6a4d3ce3ef7caf365"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"20e72858a56a9cf6a4d3ce3ef7caf365","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"20e72858a56a9cf6a4d3ce3ef7caf365"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":459,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":459,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.630904,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"20e72858a56a9cf6a4d3ce3ef7caf365","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072525,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNX0.1zjRCQndlrkI0-g_Iz1a_gjCozu-YWYQMfns1XfiYMU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"20e72858a56a9cf6a4d3ce3ef7caf365","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2a51ceae-7dcc-4a81-b036-53dff3865f2d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2a51ceae-7dcc-4a81-b036-53dff3865f2d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:24.408316900Z"}]},"request_id":"3b115994-87a0-4f68-93f1-9f8045eeaaaa","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072525.0281298} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"20e72858a56a9cf6a4d3ce3ef7caf365","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"20e72858a56a9cf6a4d3ce3ef7caf365"} gateway-1 | {"time_local":"16/Oct/2024:09:55:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d? 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":"20e72858a56a9cf6a4d3ce3ef7caf365"} device-1 | {"level":"info","message":"GET /devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d? 200 12ms","method":"GET","requestID":"20e72858a56a9cf6a4d3ce3ef7caf365","responseTime":12,"status":200,"url":"/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNX0.1zjRCQndlrkI0-g_Iz1a_gjCozu-YWYQMfns1XfiYMU","level":"info","message":"auth send jwt","requestID":"25e403e780d24cbfc97ed1b08cfa547f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"25e403e780d24cbfc97ed1b08cfa547f","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"25e403e780d24cbfc97ed1b08cfa547f"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":460,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":460,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.334872,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"25e403e780d24cbfc97ed1b08cfa547f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072525,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNX0.1zjRCQndlrkI0-g_Iz1a_gjCozu-YWYQMfns1XfiYMU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"25e403e780d24cbfc97ed1b08cfa547f","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec960bd2-ed0b-4c95-b989-3e29684b1e85","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec960bd2-ed0b-4c95-b989-3e29684b1e85","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:24.456612818Z"}]},"request_id":"03d35dd2-385c-4385-9c9e-e860e1f8bacd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072525.0460913} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"25e403e780d24cbfc97ed1b08cfa547f","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"25e403e780d24cbfc97ed1b08cfa547f"} device-1 | {"level":"info","message":"GET /devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85? 200 15ms","method":"GET","requestID":"25e403e780d24cbfc97ed1b08cfa547f","responseTime":15,"status":200,"url":"/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85? 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":"25e403e780d24cbfc97ed1b08cfa547f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNX0.1zjRCQndlrkI0-g_Iz1a_gjCozu-YWYQMfns1XfiYMU","level":"info","message":"auth send jwt","requestID":"d28aa8de24862ecdc9b2a3ef2275ab40"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d28aa8de24862ecdc9b2a3ef2275ab40","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"d28aa8de24862ecdc9b2a3ef2275ab40"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":461,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":461,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.083942,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d28aa8de24862ecdc9b2a3ef2275ab40","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072525,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNX0.1zjRCQndlrkI0-g_Iz1a_gjCozu-YWYQMfns1XfiYMU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d28aa8de24862ecdc9b2a3ef2275ab40","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3"},"level":"info","message":"Attempting to run experiment","requestID":"d28aa8de24862ecdc9b2a3ef2275ab40"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3"},"level":"info","message":"Attempting to book experiment","requestID":"d28aa8de24862ecdc9b2a3ef2275ab40"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3"},"level":"info","message":"Successfully booked experiment","requestID":"d28aa8de24862ecdc9b2a3ef2275ab40"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c3ffbfb0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c4000dd0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":462,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":462,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.790409,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"client_addr":"127.0.0.1:59224","level":"info","msg":"Received request.","req_id":463,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c3ffbfb0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072525,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNX0.1zjRCQndlrkI0-g_Iz1a_gjCozu-YWYQMfns1XfiYMU"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"c3ffbfb0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59224","level":"info","msg":"Sent response.","req_id":463,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.314454,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c4000dd0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072525,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNX0.1zjRCQndlrkI0-g_Iz1a_gjCozu-YWYQMfns1XfiYMU"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"c4000dd0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2a51ceae-7dcc-4a81-b036-53dff3865f2d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2a51ceae-7dcc-4a81-b036-53dff3865f2d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:24.408316900Z"}]},"request_id":"736f3cdb-b27a-4732-b020-715c81583347","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072525.1118586} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c3ffbfb0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec960bd2-ed0b-4c95-b989-3e29684b1e85","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec960bd2-ed0b-4c95-b989-3e29684b1e85","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:24.456612818Z"}]},"request_id":"0c7c1125-c0c4-4c08-97bb-0af5e61be012","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072525.1129768} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c4000dd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c3ffbfb0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d? 200 23ms","method":"GET","requestID":"c3ffbfb0-8ba4-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c4000dd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85? 200 22ms","method":"GET","requestID":"c4000dd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":22,"status":200,"url":"/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3"},"level":"info","message":"Setting up experiment","requestID":"d28aa8de24862ecdc9b2a3ef2275ab40"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"d28aa8de24862ecdc9b2a3ef2275ab40"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3"},"level":"info","message":"Successfully locked booking for experiment","requestID":"d28aa8de24862ecdc9b2a3ef2275ab40"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"d28aa8de24862ecdc9b2a3ef2275ab40"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"d28aa8de24862ecdc9b2a3ef2275ab40"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3"},"level":"info","message":"Attempting to update booking for experiment","requestID":"d28aa8de24862ecdc9b2a3ef2275ab40"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3"},"level":"info","message":"Successfully updated booking for experiment","requestID":"d28aa8de24862ecdc9b2a3ef2275ab40"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3"},"level":"info","message":"Successfully set up experiment","requestID":"d28aa8de24862ecdc9b2a3ef2275ab40"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c40c1bc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c40c90f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c40cdf10-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3"},"level":"info","message":"Successfully running experiment","requestID":"d28aa8de24862ecdc9b2a3ef2275ab40"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":464,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":464,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.689152,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"client_addr":"127.0.0.1:59224","level":"info","msg":"Received request.","req_id":465,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c40c1bc0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072525,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNX0.1zjRCQndlrkI0-g_Iz1a_gjCozu-YWYQMfns1XfiYMU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c40c1bc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59224","level":"info","msg":"Sent response.","req_id":465,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.827651,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c40c90f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072525,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNX0.1zjRCQndlrkI0-g_Iz1a_gjCozu-YWYQMfns1XfiYMU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"c40c90f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":466,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2a51ceae-7dcc-4a81-b036-53dff3865f2d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"49b536cd-a7d4-46bc-98e3-47fe37ef5128","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072525.1905289} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":466,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.555243,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c40cdf10-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d","object_type":"device","rebac_allow":false,"scope_allow":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":"c40cdf10-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec960bd2-ed0b-4c95-b989-3e29684b1e85","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec960bd2-ed0b-4c95-b989-3e29684b1e85","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:24.456612818Z"}]},"request_id":"dc38d469-3d7e-4e46-be78-0301a121bb19","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072525.1929336} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c40c90f0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2a51ceae-7dcc-4a81-b036-53dff3865f2d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2a51ceae-7dcc-4a81-b036-53dff3865f2d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:24.408316900Z"}]},"request_id":"4a74a663-fc50-4dbc-84e1-db7c957e99b4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072525.1952627} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c40c1bc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c40cdf10-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d/signaling 200 12ms","method":"POST","requestID":"c40cdf10-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c40f9e30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c40c90f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85? 200 22ms","method":"GET","requestID":"c40c90f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":22,"status":200,"url":"/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c40c1bc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d? 200 26ms","method":"GET","requestID":"c40c1bc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":26,"status":200,"url":"/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fab7e9947-afa6-4495-b4ae-07b114cc70f3#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fab7e9947-afa6-4495-b4ae-07b114cc70f3","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"095c46dc-bf74-4320-900e-75d07831c1d8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072525.2063994} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b11eb5df-77b5-4f96-ac43-10294a450584","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072525.2066786} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"d28aa8de24862ecdc9b2a3ef2275ab40","responseTime":20,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec960bd2-ed0b-4c95-b989-3e29684b1e85","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dd4780a8-6ed5-4040-8673-1b41d2d8a153","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072525.2089612} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":467,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:25Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c4108890-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":467,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.421318,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c40f9e30-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85","object_type":"device","rebac_allow":false,"scope_allow":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":"c40f9e30-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":468,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:25Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c40f9e30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85/signaling 200 11ms","method":"POST","requestID":"c40f9e30-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2a51ceae-7dcc-4a81-b036-53dff3865f2d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"291534ea-a320-447b-961e-ec328c4d0ca7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072525.2168937} experiment-1 | {"data":{"experiment":"http://localhost/experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"d28aa8de24862ecdc9b2a3ef2275ab40"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":468,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.637467,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:25Z"} gateway-1 | {"time_local":"16/Oct/2024:09:55:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"786","request_time":"0.166","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d28aa8de24862ecdc9b2a3ef2275ab40"} experiment-1 | {"level":"info","message":"POST /experiments? 201 162ms","method":"POST","requestID":"d28aa8de24862ecdc9b2a3ef2275ab40","responseTime":162,"status":201,"url":"/experiments?"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c4108890-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d","object_type":"device","rebac_allow":false,"scope_allow":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":"c4108890-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNX0.1zjRCQndlrkI0-g_Iz1a_gjCozu-YWYQMfns1XfiYMU","level":"info","message":"auth send jwt","requestID":"e6958c9abab78cb90f9c7362b62b1356"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e6958c9abab78cb90f9c7362b62b1356","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e6958c9abab78cb90f9c7362b62b1356"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c4108890-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d/signaling 200 19ms","method":"POST","requestID":"c4108890-8ba4-11ef-a62f-5f7f958aa687","responseTime":19,"status":200,"url":"/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d/signaling"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":469,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":469,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.049119,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e6958c9abab78cb90f9c7362b62b1356","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072525,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNX0.1zjRCQndlrkI0-g_Iz1a_gjCozu-YWYQMfns1XfiYMU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e6958c9abab78cb90f9c7362b62b1356","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c413e3f0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":470,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec960bd2-ed0b-4c95-b989-3e29684b1e85","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7491faab-caa6-47f5-882e-e7ca82e79318","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072525.2355242} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2a51ceae-7dcc-4a81-b036-53dff3865f2d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2a51ceae-7dcc-4a81-b036-53dff3865f2d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:24.408316900Z"}]},"request_id":"66a33a3b-fb23-4cca-bd53-61eb64d7c7e5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072525.2357483} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"e6958c9abab78cb90f9c7362b62b1356","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":470,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.28406,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c413e3f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85","object_type":"device","rebac_allow":false,"scope_allow":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":"c413e3f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e6958c9abab78cb90f9c7362b62b1356"} gateway-1 | {"time_local":"16/Oct/2024:09:55:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d? 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":"e6958c9abab78cb90f9c7362b62b1356"} device-1 | {"level":"info","message":"GET /devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d? 200 15ms","method":"GET","requestID":"e6958c9abab78cb90f9c7362b62b1356","responseTime":15,"status":200,"url":"/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c413e3f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85/signaling 200 10ms","method":"POST","requestID":"c413e3f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"d28aa8de24862ecdc9b2a3ef2275ab40"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c415b8b0-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNX0.1zjRCQndlrkI0-g_Iz1a_gjCozu-YWYQMfns1XfiYMU","level":"info","message":"auth send jwt","requestID":"73fd944284931837d3c035d2ef05d379"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"73fd944284931837d3c035d2ef05d379","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c41606d0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":471,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:25Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"73fd944284931837d3c035d2ef05d379"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":471,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.677118,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"client_addr":"127.0.0.1:59224","level":"info","msg":"Received request.","req_id":472,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c415b8b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072525,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNX0.1zjRCQndlrkI0-g_Iz1a_gjCozu-YWYQMfns1XfiYMU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c415b8b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59224","level":"info","msg":"Sent response.","req_id":472,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.64383,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c41606d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072525,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNX0.1zjRCQndlrkI0-g_Iz1a_gjCozu-YWYQMfns1XfiYMU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c41606d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":473,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":473,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.618192,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"73fd944284931837d3c035d2ef05d379","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072525,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNX0.1zjRCQndlrkI0-g_Iz1a_gjCozu-YWYQMfns1XfiYMU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"73fd944284931837d3c035d2ef05d379","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2a51ceae-7dcc-4a81-b036-53dff3865f2d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2a51ceae-7dcc-4a81-b036-53dff3865f2d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:24.408316900Z"}]},"request_id":"8a583067-84fd-4e1f-9593-cf0bb5afd5d8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072525.2527397} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c415b8b0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec960bd2-ed0b-4c95-b989-3e29684b1e85","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec960bd2-ed0b-4c95-b989-3e29684b1e85","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:24.456612818Z"}]},"request_id":"cf99e915-5b96-443d-8047-020b64951439","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072525.2550216} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c41606d0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec960bd2-ed0b-4c95-b989-3e29684b1e85","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec960bd2-ed0b-4c95-b989-3e29684b1e85","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:24.456612818Z"}]},"request_id":"ff9ad1cc-b9a0-4515-be02-d8ee9c0e3cf8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072525.2566636} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"73fd944284931837d3c035d2ef05d379","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c415b8b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d? 200 15ms","method":"GET","requestID":"c415b8b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c41606d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85? 200 16ms","method":"GET","requestID":"c41606d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"73fd944284931837d3c035d2ef05d379"} gateway-1 | {"time_local":"16/Oct/2024:09:55:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85? 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":"73fd944284931837d3c035d2ef05d379"} device-1 | {"level":"info","message":"GET /devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85? 200 15ms","method":"GET","requestID":"73fd944284931837d3c035d2ef05d379","responseTime":15,"status":200,"url":"/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3"},"level":"info","message":"Building connection plan","requestID":"d28aa8de24862ecdc9b2a3ef2275ab40"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"1cbaa0ec-aeab-4944-9ea1-2a92a88e2d80"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"0462021a-0103-4a78-a3c3-1837e352efa9"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/file","uuid":"8f2ee4aa-e3d7-4ecd-9181-5c27de7ce22f"}]},"level":"info","message":"Built pairwise service configurations","requestID":"d28aa8de24862ecdc9b2a3ef2275ab40"} 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/2a51ceae-7dcc-4a81-b036-53dff3865f2d"},{"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/ec960bd2-ed0b-4c95-b989-3e29684b1e85"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"d28aa8de24862ecdc9b2a3ef2275ab40"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"c418ed00-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":474,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":474,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.645318,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c418ed00-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072525,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyNX0.1zjRCQndlrkI0-g_Iz1a_gjCozu-YWYQMfns1XfiYMU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c418ed00-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"c17aa542-f9ef-4dfd-8f8a-faa1eab1e003","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072525.2749648} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ebcb846f-7454-4719-b002-816c16615b8d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072525.2751107} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"c418ed00-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"c418ed00-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"c418ed00-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/a9f3a8ea-64f0-4be3-ba6c-564df524659b'","requestID":"c418ed00-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/a9f3a8ea-64f0-4be3-ba6c-564df524659b'","requestID":"c418ed00-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"c418ed00-8ba4-11ef-a62f-5f7f958aa687"} 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":"c418ed00-8ba4-11ef-a62f-5f7f958aa687","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":"c418ed00-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"d28aa8de24862ecdc9b2a3ef2275ab40"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c4206710-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":475,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2a51ceae-7dcc-4a81-b036-53dff3865f2d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"febef4c6-ca7f-4623-933b-e49b3bebdbee","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072525.317334} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":475,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.107212,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c4206710-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d","object_type":"device","rebac_allow":false,"scope_allow":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":"c4206710-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c4206710-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d/signaling 200 8ms","method":"POST","requestID":"c4206710-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c421edb0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":476,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec960bd2-ed0b-4c95-b989-3e29684b1e85","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0997c87c-eb22-409d-a241-0f4b5b20cef6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072525.3278105} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":476,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.527642,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:25Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c421edb0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85","object_type":"device","rebac_allow":false,"scope_allow":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":"c421edb0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c421edb0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85/signaling 200 9ms","method":"POST","requestID":"c421edb0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85/signaling"} device-1 | {"device":"ec960bd2-ed0b-4c95-b989-3e29684b1e85","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":"a9f3a8ea-64f0-4be3-ba6c-564df524659b","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"2a51ceae-7dcc-4a81-b036-53dff3865f2d","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":"a9f3a8ea-64f0-4be3-ba6c-564df524659b","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"2a51ceae-7dcc-4a81-b036-53dff3865f2d","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":"2a51ceae-7dcc-4a81-b036-53dff3865f2d","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":"2a51ceae-7dcc-4a81-b036-53dff3865f2d","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":"2a51ceae-7dcc-4a81-b036-53dff3865f2d","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/a9f3a8ea-64f0-4be3-ba6c-564df524659b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"a9f3a8ea-64f0-4be3-ba6c-564df524659b","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a9233d8f08765d9456d83d75174da49a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"a9233d8f08765d9456d83d75174da49a","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/2a51ceae-7dcc-4a81-b036-53dff3865f2d"},{"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/ec960bd2-ed0b-4c95-b989-3e29684b1e85"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/a9f3a8ea-64f0-4be3-ba6c-564df524659b"}}},"level":"info","message":"received a callback","requestID":"a9233d8f08765d9456d83d75174da49a"} device-1 | {"device":"ec960bd2-ed0b-4c95-b989-3e29684b1e85","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":"ec960bd2-ed0b-4c95-b989-3e29684b1e85","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":"ec960bd2-ed0b-4c95-b989-3e29684b1e85","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 10ms","method":"POST","requestID":"a9233d8f08765d9456d83d75174da49a","responseTime":10,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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":"a9233d8f08765d9456d83d75174da49a"} device-1 | {"data":{"peerconnection":"a9f3a8ea-64f0-4be3-ba6c-564df524659b","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"2a51ceae-7dcc-4a81-b036-53dff3865f2d","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":"ec960bd2-ed0b-4c95-b989-3e29684b1e85","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":"2a51ceae-7dcc-4a81-b036-53dff3865f2d","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":"ec960bd2-ed0b-4c95-b989-3e29684b1e85","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":"a9f3a8ea-64f0-4be3-ba6c-564df524659b","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/a9f3a8ea-64f0-4be3-ba6c-564df524659b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"a9f3a8ea-64f0-4be3-ba6c-564df524659b","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"857e1d9c2e835feab70a2596d8e0249c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"857e1d9c2e835feab70a2596d8e0249c","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/2a51ceae-7dcc-4a81-b036-53dff3865f2d"},{"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/ec960bd2-ed0b-4c95-b989-3e29684b1e85"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/a9f3a8ea-64f0-4be3-ba6c-564df524659b"}}},"level":"info","message":"received a callback","requestID":"857e1d9c2e835feab70a2596d8e0249c"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"c55f76c0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":477,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:27Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fa9f3a8ea-64f0-4be3-ba6c-564df524659b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"774c7c6d-466b-4a45-9eef-838d068fa5d5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072527.4113946} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":477,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.354217,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/a9f3a8ea-64f0-4be3-ba6c-564df524659b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c55f76c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/a9f3a8ea-64f0-4be3-ba6c-564df524659b","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":"c55f76c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"c55f76c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/a9f3a8ea-64f0-4be3-ba6c-564df524659b 200 12ms","method":"GET","requestID":"c55f76c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/peerconnections/a9f3a8ea-64f0-4be3-ba6c-564df524659b"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 51ms","method":"POST","requestID":"857e1d9c2e835feab70a2596d8e0249c","responseTime":51,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.056","http_referrer":"","http_user_agent":"node-fetch","requestID":"857e1d9c2e835feab70a2596d8e0249c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c565df60-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":478,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:27Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2a51ceae-7dcc-4a81-b036-53dff3865f2d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2b388e2a-dde0-47dd-87fd-4884806643ac","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072527.4516356} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":478,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.322901,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c565df60-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d","object_type":"device","rebac_allow":false,"scope_allow":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":"c565df60-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c565df60-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d/signaling 200 10ms","method":"POST","requestID":"c565df60-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c567db30-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":479,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:27Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec960bd2-ed0b-4c95-b989-3e29684b1e85","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8b1ea673-8290-4fab-8d1a-fa5d386588af","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072527.4631693} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":479,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.340623,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c567db30-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85","object_type":"device","rebac_allow":false,"scope_allow":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":"c567db30-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c567db30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85/signaling 200 9ms","method":"POST","requestID":"c567db30-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85/signaling"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"0184e0be-acb5-4688-8625-0621a9723f6f\" in room \"http://localhost/rooms/37942951-bfd8-4bbb-b7fb-47d1a4374268\"","requestID":"b38bdd80-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"df8e9288-18d4-4a96-afc1-a3660de97e3f\" in room \"http://localhost/rooms/37942951-bfd8-4bbb-b7fb-47d1a4374268\"","requestID":"b38c52b0-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyN30.x-wbrJym5-CmAM_cdoySo8PtFtn6xatiz6ECsE78S_w","level":"info","message":"auth send jwt","requestID":"b7ad42940f6260ba0ed9ce0256351335"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"b7ad42940f6260ba0ed9ce0256351335","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3","requestID":"b7ad42940f6260ba0ed9ce0256351335"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":480,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:27Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":480,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.159228,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b7ad42940f6260ba0ed9ce0256351335","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072527,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyN30.x-wbrJym5-CmAM_cdoySo8PtFtn6xatiz6ECsE78S_w"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b7ad42940f6260ba0ed9ce0256351335","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3","requestID":"b7ad42940f6260ba0ed9ce0256351335"} gateway-1 | {"time_local":"16/Oct/2024:09:55:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3 HTTP/1.1","status": "200","body_bytes_sent":"859","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b7ad42940f6260ba0ed9ce0256351335"} experiment-1 | {"level":"info","message":"GET /experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3 200 16ms","method":"GET","requestID":"b7ad42940f6260ba0ed9ce0256351335","responseTime":16,"status":200,"url":"/experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyN30.x-wbrJym5-CmAM_cdoySo8PtFtn6xatiz6ECsE78S_w","level":"info","message":"auth send jwt","requestID":"60730cae91acfdb67f39d3a1801ca2f7"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"60730cae91acfdb67f39d3a1801ca2f7","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3","requestID":"60730cae91acfdb67f39d3a1801ca2f7"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":481,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:27Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":481,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.25986,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:27Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"60730cae91acfdb67f39d3a1801ca2f7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072527,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyN30.x-wbrJym5-CmAM_cdoySo8PtFtn6xatiz6ECsE78S_w"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"60730cae91acfdb67f39d3a1801ca2f7","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3"},"level":"info","message":"Attempting to finish experiment","requestID":"60730cae91acfdb67f39d3a1801ca2f7"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"c58463e0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":482,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:27Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":482,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.314109,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:27Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/a9f3a8ea-64f0-4be3-ba6c-564df524659b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c58463e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/a9f3a8ea-64f0-4be3-ba6c-564df524659b","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072527,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyN30.x-wbrJym5-CmAM_cdoySo8PtFtn6xatiz6ECsE78S_w"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"c58463e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"device":"2a51ceae-7dcc-4a81-b036-53dff3865f2d","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":"2a51ceae-7dcc-4a81-b036-53dff3865f2d","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":"2a51ceae-7dcc-4a81-b036-53dff3865f2d","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":"ec960bd2-ed0b-4c95-b989-3e29684b1e85","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":"ec960bd2-ed0b-4c95-b989-3e29684b1e85","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":"ec960bd2-ed0b-4c95-b989-3e29684b1e85","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/a9f3a8ea-64f0-4be3-ba6c-564df524659b' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/a9f3a8ea-64f0-4be3-ba6c-564df524659b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"a9f3a8ea-64f0-4be3-ba6c-564df524659b","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fa9f3a8ea-64f0-4be3-ba6c-564df524659b': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fa9f3a8ea-64f0-4be3-ba6c-564df524659b","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"83b78245-b9e9-4a6c-a9f6-6c7cf57fa746","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072527.6686342} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6778f18f-e538-4c36-8add-ac62867e6cf7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072527.6688263} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"c58463e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7a02ba55d430f9d00c7182fb35909b68","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"7a02ba55d430f9d00c7182fb35909b68","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"cc74b0c7a090e2cb0e16238b7a015a4e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":["webrtc"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d"},{"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/ec960bd2-ed0b-4c95-b989-3e29684b1e85"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/a9f3a8ea-64f0-4be3-ba6c-564df524659b"}}},"level":"info","message":"received a callback","requestID":"7a02ba55d430f9d00c7182fb35909b68"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"cc74b0c7a090e2cb0e16238b7a015a4e","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/2a51ceae-7dcc-4a81-b036-53dff3865f2d"},{"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/ec960bd2-ed0b-4c95-b989-3e29684b1e85"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/a9f3a8ea-64f0-4be3-ba6c-564df524659b"}}},"level":"info","message":"received a callback","requestID":"cc74b0c7a090e2cb0e16238b7a015a4e"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"c58463e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/a9f3a8ea-64f0-4be3-ba6c-564df524659b 204 35ms","method":"DELETE","requestID":"c58463e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":35,"status":204,"url":"/peerconnections/a9f3a8ea-64f0-4be3-ba6c-564df524659b"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3"},"level":"info","message":"Successfully finished experiment","requestID":"60730cae91acfdb67f39d3a1801ca2f7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c58d6490-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":483,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:27Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2a51ceae-7dcc-4a81-b036-53dff3865f2d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"13130315-618a-4181-8c06-b532fcc7495d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072527.710649} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":483,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.522775,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c58d6490-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d","object_type":"device","rebac_allow":false,"scope_allow":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":"c58d6490-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c58d6490-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d/signaling 200 10ms","method":"POST","requestID":"c58d6490-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fab7e9947-afa6-4495-b4ae-07b114cc70f3': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fab7e9947-afa6-4495-b4ae-07b114cc70f3","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"2b63c8b0-8e47-4423-bce4-48aa4d3bdb46","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072527.7175794} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c58f3950-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f1e5a034-5669-49ba-9a70-fa34b2a40228","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072527.7179625} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"60730cae91acfdb67f39d3a1801ca2f7","responseTime":15,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":484,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:27Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec960bd2-ed0b-4c95-b989-3e29684b1e85","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5f263166-3bbe-43d4-b4bb-2420c97d4b28","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072527.7228382} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":484,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.984884,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c58f3950-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85","object_type":"device","rebac_allow":false,"scope_allow":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":"c58f3950-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c58f3950-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85/signaling 200 11ms","method":"POST","requestID":"c58f3950-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/ec960bd2-ed0b-4c95-b989-3e29684b1e85/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3","requestID":"60730cae91acfdb67f39d3a1801ca2f7"} gateway-1 | {"time_local":"16/Oct/2024:09:55:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3 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":"60730cae91acfdb67f39d3a1801ca2f7"} gateway-1 | {"time_local":"16/Oct/2024:09:55:27 +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.782","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"867c1a973dd3a76cf230065242de0c4e"} gateway-1 | {"time_local":"16/Oct/2024:09:55:27 +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.790","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"947aac62c0729e1d1c7237ae685284bd"} experiment-1 | {"level":"info","message":"DELETE /experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3 204 151ms","method":"DELETE","requestID":"60730cae91acfdb67f39d3a1801ca2f7","responseTime":151,"status":204,"url":"/experiments/ab7e9947-afa6-4495-b4ae-07b114cc70f3"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 110ms","method":"POST","requestID":"7a02ba55d430f9d00c7182fb35909b68","responseTime":110,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.113","http_referrer":"","http_user_agent":"node-fetch","requestID":"7a02ba55d430f9d00c7182fb35909b68"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 109ms","method":"POST","requestID":"cc74b0c7a090e2cb0e16238b7a015a4e","responseTime":109,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.114","http_referrer":"","http_user_agent":"node-fetch","requestID":"cc74b0c7a090e2cb0e16238b7a015a4e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyN30.x-wbrJym5-CmAM_cdoySo8PtFtn6xatiz6ECsE78S_w","level":"info","message":"auth send jwt","requestID":"9bee3cd0bfdd71c7082c433caa0b8dd5"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9bee3cd0bfdd71c7082c433caa0b8dd5","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"9bee3cd0bfdd71c7082c433caa0b8dd5"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/2a51ceae-7dcc-4a81-b036-53dff3865f2d' closed"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":485,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:27Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":485,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.089064,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:27Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"9bee3cd0bfdd71c7082c433caa0b8dd5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072527,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyN30.x-wbrJym5-CmAM_cdoySo8PtFtn6xatiz6ECsE78S_w"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9bee3cd0bfdd71c7082c433caa0b8dd5","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/ec960bd2-ed0b-4c95-b989-3e29684b1e85' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad9930f5-e275-452b-9935-0ff25dbfc9d8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"4585132c-a2fc-4f37-ac4e-2b15693c4bc0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072527.813637} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9bee3cd0bfdd71c7082c433caa0b8dd5","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9541d8d1-ec05-493e-b243-c70be51ae7d8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072527.8200862} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"9bee3cd0bfdd71c7082c433caa0b8dd5","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad9930f5-e275-452b-9935-0ff25dbfc9d8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"25199d63-ff30-4e9e-9468-cc1fc1f29cd6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072527.8317466} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"28fb0a90-9d4f-4058-8a00-127c079f8e92","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072527.8319423} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"9bee3cd0bfdd71c7082c433caa0b8dd5","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad9930f5-e275-452b-9935-0ff25dbfc9d8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad9930f5-e275-452b-9935-0ff25dbfc9d8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:27.831722062Z"}]},"request_id":"e6121430-f923-43e4-97e0-58968a38823b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072527.8366992} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9bee3cd0bfdd71c7082c433caa0b8dd5","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"9bee3cd0bfdd71c7082c433caa0b8dd5"} gateway-1 | {"time_local":"16/Oct/2024:09:55:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.060","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9bee3cd0bfdd71c7082c433caa0b8dd5"} device-1 | {"level":"info","message":"POST /devices? 201 52ms","method":"POST","requestID":"9bee3cd0bfdd71c7082c433caa0b8dd5","responseTime":52,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyN30.x-wbrJym5-CmAM_cdoySo8PtFtn6xatiz6ECsE78S_w","level":"info","message":"auth send jwt","requestID":"6ebc801584c1aea4f33d0d056871b91b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"6ebc801584c1aea4f33d0d056871b91b","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"6ebc801584c1aea4f33d0d056871b91b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":486,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:27Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":486,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.75871,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:27Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"6ebc801584c1aea4f33d0d056871b91b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072527,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyN30.x-wbrJym5-CmAM_cdoySo8PtFtn6xatiz6ECsE78S_w"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6ebc801584c1aea4f33d0d056871b91b","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89741789-a0ec-44f1-ab06-e5b496850315","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"dca1a382-52ed-4bdc-a7c8-7ee4a324fdb7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072527.8607776} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"6ebc801584c1aea4f33d0d056871b91b","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c38fcb0b-840c-4af9-aa43-64ecd4d92682","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072527.8662896} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"6ebc801584c1aea4f33d0d056871b91b","responseTime":8,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89741789-a0ec-44f1-ab06-e5b496850315","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"41f593d5-28ba-4507-82fb-bcd414b44dbe","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072527.8759441} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"648f4132-78aa-48cb-b01a-7e2c33f437ea","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072527.8799486} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"6ebc801584c1aea4f33d0d056871b91b","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89741789-a0ec-44f1-ab06-e5b496850315","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89741789-a0ec-44f1-ab06-e5b496850315","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:27.875895670Z"}]},"request_id":"5d93f0af-d3d4-4e5e-92b7-e590c74a70fe","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072527.8871088} authorization-1 | {"level":"info","message":"POST /relations/query 200 10ms","method":"POST","requestID":"6ebc801584c1aea4f33d0d056871b91b","responseTime":10,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"6ebc801584c1aea4f33d0d056871b91b"} gateway-1 | {"time_local":"16/Oct/2024:09:55:27 +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":"6ebc801584c1aea4f33d0d056871b91b"} device-1 | {"level":"info","message":"POST /devices? 201 52ms","method":"POST","requestID":"6ebc801584c1aea4f33d0d056871b91b","responseTime":52,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e037438d603aa24280d5a54debf54302","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"e037438d603aa24280d5a54debf54302","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4ccf50c4ff5ff7db25d1131f3f2aea5f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"16/Oct/2024:09:55:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8/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":"e037438d603aa24280d5a54debf54302"} device-1 | {"level":"info","message":"OPTIONS /devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8/websocket 200 2ms","method":"OPTIONS","requestID":"e037438d603aa24280d5a54debf54302","responseTime":2,"status":200,"url":"/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8/websocket"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"4ccf50c4ff5ff7db25d1131f3f2aea5f","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/89741789-a0ec-44f1-ab06-e5b496850315/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":"4ccf50c4ff5ff7db25d1131f3f2aea5f"} device-1 | {"level":"info","message":"OPTIONS /devices/89741789-a0ec-44f1-ab06-e5b496850315/websocket 200 1ms","method":"OPTIONS","requestID":"4ccf50c4ff5ff7db25d1131f3f2aea5f","responseTime":1,"status":200,"url":"/devices/89741789-a0ec-44f1-ab06-e5b496850315/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyOX0.x5zAgoGG8U8bKIYTYvn3i8aI604sLFi-UoDTLJIAmJI","level":"info","message":"auth send jwt","requestID":"83db56be9edfdd35a9e3d536adffc2bd"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"83db56be9edfdd35a9e3d536adffc2bd","responseTime":7,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyOX0.x5zAgoGG8U8bKIYTYvn3i8aI604sLFi-UoDTLJIAmJI","level":"info","message":"auth send jwt","requestID":"959706697ee40618bde20d6a125f850b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"83db56be9edfdd35a9e3d536adffc2bd"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"959706697ee40618bde20d6a125f850b","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"959706697ee40618bde20d6a125f850b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":487,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:29Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":487,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.099955,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:29Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"83db56be9edfdd35a9e3d536adffc2bd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072529,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyOX0.x5zAgoGG8U8bKIYTYvn3i8aI604sLFi-UoDTLJIAmJI"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"83db56be9edfdd35a9e3d536adffc2bd","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":488,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:29Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":488,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.975382,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:29Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"959706697ee40618bde20d6a125f850b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072529,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyOX0.x5zAgoGG8U8bKIYTYvn3i8aI604sLFi-UoDTLJIAmJI"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"959706697ee40618bde20d6a125f850b","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"83db56be9edfdd35a9e3d536adffc2bd"} gateway-1 | {"time_local":"16/Oct/2024:09:55:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","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":"83db56be9edfdd35a9e3d536adffc2bd"} device-1 | {"level":"info","message":"POST /devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8/websocket 200 33ms","method":"POST","requestID":"83db56be9edfdd35a9e3d536adffc2bd","responseTime":33,"status":200,"url":"/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"959706697ee40618bde20d6a125f850b"} gateway-1 | {"time_local":"16/Oct/2024:09:55:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/89741789-a0ec-44f1-ab06-e5b496850315/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","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":"959706697ee40618bde20d6a125f850b"} device-1 | {"level":"info","message":"POST /devices/89741789-a0ec-44f1-ab06-e5b496850315/websocket 200 38ms","method":"POST","requestID":"959706697ee40618bde20d6a125f850b","responseTime":38,"status":200,"url":"/devices/89741789-a0ec-44f1-ab06-e5b496850315/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"afa66fcbb74bcf078c118f2358bcb7ce","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"afa66fcbb74bcf078c118f2358bcb7ce","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8? 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":"afa66fcbb74bcf078c118f2358bcb7ce"} device-1 | {"level":"info","message":"OPTIONS /devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8? 200 2ms","method":"OPTIONS","requestID":"afa66fcbb74bcf078c118f2358bcb7ce","responseTime":2,"status":200,"url":"/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b0de5182861ebc2df72dc6bbd012e73e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"b0de5182861ebc2df72dc6bbd012e73e","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/89741789-a0ec-44f1-ab06-e5b496850315? 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":"b0de5182861ebc2df72dc6bbd012e73e"} device-1 | {"level":"info","message":"OPTIONS /devices/89741789-a0ec-44f1-ab06-e5b496850315? 200 0ms","method":"OPTIONS","requestID":"b0de5182861ebc2df72dc6bbd012e73e","responseTime":0,"status":200,"url":"/devices/89741789-a0ec-44f1-ab06-e5b496850315?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyOX0.x5zAgoGG8U8bKIYTYvn3i8aI604sLFi-UoDTLJIAmJI","level":"info","message":"auth send jwt","requestID":"a0d6f19ea32d1bf5752b2804700e7254"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"a0d6f19ea32d1bf5752b2804700e7254","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"a0d6f19ea32d1bf5752b2804700e7254"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":489,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:29Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyOX0.x5zAgoGG8U8bKIYTYvn3i8aI604sLFi-UoDTLJIAmJI","level":"info","message":"auth send jwt","requestID":"19edcdf3fe82bef48e5325f6c3303a1f"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":489,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.780614,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:29Z"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"19edcdf3fe82bef48e5325f6c3303a1f","responseTime":4,"status":200,"url":"/auth"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a0d6f19ea32d1bf5752b2804700e7254","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072529,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyOX0.x5zAgoGG8U8bKIYTYvn3i8aI604sLFi-UoDTLJIAmJI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a0d6f19ea32d1bf5752b2804700e7254","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"19edcdf3fe82bef48e5325f6c3303a1f"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":490,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:29Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":490,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.11172,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:29Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"19edcdf3fe82bef48e5325f6c3303a1f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072529,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUyOX0.x5zAgoGG8U8bKIYTYvn3i8aI604sLFi-UoDTLJIAmJI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"19edcdf3fe82bef48e5325f6c3303a1f","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad9930f5-e275-452b-9935-0ff25dbfc9d8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad9930f5-e275-452b-9935-0ff25dbfc9d8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:27.831722062Z"}]},"request_id":"bab12f7d-948d-4b2c-95ec-957a2644c064","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072529.9924283} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a0d6f19ea32d1bf5752b2804700e7254","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89741789-a0ec-44f1-ab06-e5b496850315","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89741789-a0ec-44f1-ab06-e5b496850315","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:27.875895670Z"}]},"request_id":"3fc97f1f-27e8-467c-a0d2-a35863c8de97","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072529.995976} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"19edcdf3fe82bef48e5325f6c3303a1f","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cd4c9042-140f-4196-b85a-b1a19368d132","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072529.9990005} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"a0d6f19ea32d1bf5752b2804700e7254","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7ebeb565-e1e8-4e62-b5de-86585a433710","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.0053194} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"19edcdf3fe82bef48e5325f6c3303a1f","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad9930f5-e275-452b-9935-0ff25dbfc9d8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad9930f5-e275-452b-9935-0ff25dbfc9d8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:27.831722062Z"}]},"request_id":"7e3ec8ed-167b-4edf-a8d5-04823f6483db","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.010131} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"a0d6f19ea32d1bf5752b2804700e7254","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"a0d6f19ea32d1bf5752b2804700e7254"} device-1 | {"level":"info","message":"PATCH /devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8? 200 35ms","method":"PATCH","requestID":"a0d6f19ea32d1bf5752b2804700e7254","responseTime":35,"status":200,"url":"/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8? 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":"a0d6f19ea32d1bf5752b2804700e7254"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89741789-a0ec-44f1-ab06-e5b496850315","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89741789-a0ec-44f1-ab06-e5b496850315","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:27.875895670Z"}]},"request_id":"d2f69d36-7f8a-4c1b-b6bb-cffe256459d0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.027302} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"19edcdf3fe82bef48e5325f6c3303a1f","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"19edcdf3fe82bef48e5325f6c3303a1f"} gateway-1 | {"time_local":"16/Oct/2024:09:55:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/89741789-a0ec-44f1-ab06-e5b496850315? HTTP/1.1","status": "200","body_bytes_sent":"1007","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":"19edcdf3fe82bef48e5325f6c3303a1f"} device-1 | {"level":"info","message":"PATCH /devices/89741789-a0ec-44f1-ab06-e5b496850315? 200 46ms","method":"PATCH","requestID":"19edcdf3fe82bef48e5325f6c3303a1f","responseTime":46,"status":200,"url":"/devices/89741789-a0ec-44f1-ab06-e5b496850315?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMH0.zrj4bQQNmllJownzgQqUvIANEBNuDCdDT_eB7c_2Vkg","level":"info","message":"auth send jwt","requestID":"ea0a9f347d3d59b64d4ca6cca6da6f23"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"ea0a9f347d3d59b64d4ca6cca6da6f23","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ea0a9f347d3d59b64d4ca6cca6da6f23"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":491,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":491,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.047262,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ea0a9f347d3d59b64d4ca6cca6da6f23","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072530,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMH0.zrj4bQQNmllJownzgQqUvIANEBNuDCdDT_eB7c_2Vkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ea0a9f347d3d59b64d4ca6cca6da6f23","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad9930f5-e275-452b-9935-0ff25dbfc9d8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad9930f5-e275-452b-9935-0ff25dbfc9d8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:27.831722062Z"}]},"request_id":"375af1ee-fb86-4544-b5d8-f0a7157ba2d9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.0553882} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ea0a9f347d3d59b64d4ca6cca6da6f23","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ea0a9f347d3d59b64d4ca6cca6da6f23"} gateway-1 | {"time_local":"16/Oct/2024:09:55:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8? 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":"ea0a9f347d3d59b64d4ca6cca6da6f23"} device-1 | {"level":"info","message":"GET /devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8? 200 15ms","method":"GET","requestID":"ea0a9f347d3d59b64d4ca6cca6da6f23","responseTime":15,"status":200,"url":"/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMH0.zrj4bQQNmllJownzgQqUvIANEBNuDCdDT_eB7c_2Vkg","level":"info","message":"auth send jwt","requestID":"bb065af260e67eca5829c38f362b8e3d"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"bb065af260e67eca5829c38f362b8e3d","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"bb065af260e67eca5829c38f362b8e3d"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":492,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":492,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.961205,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bb065af260e67eca5829c38f362b8e3d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072530,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMH0.zrj4bQQNmllJownzgQqUvIANEBNuDCdDT_eB7c_2Vkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"bb065af260e67eca5829c38f362b8e3d","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89741789-a0ec-44f1-ab06-e5b496850315","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89741789-a0ec-44f1-ab06-e5b496850315","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:27.875895670Z"}]},"request_id":"ecaaadd1-dd70-487d-96b9-a05b498d1831","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.0778286} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"bb065af260e67eca5829c38f362b8e3d","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"bb065af260e67eca5829c38f362b8e3d"} gateway-1 | {"time_local":"16/Oct/2024:09:55:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/89741789-a0ec-44f1-ab06-e5b496850315? 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":"bb065af260e67eca5829c38f362b8e3d"} device-1 | {"level":"info","message":"GET /devices/89741789-a0ec-44f1-ab06-e5b496850315? 200 15ms","method":"GET","requestID":"bb065af260e67eca5829c38f362b8e3d","responseTime":15,"status":200,"url":"/devices/89741789-a0ec-44f1-ab06-e5b496850315?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMH0.zrj4bQQNmllJownzgQqUvIANEBNuDCdDT_eB7c_2Vkg","level":"info","message":"auth send jwt","requestID":"c55b5ce437347ff7ba55072d536febac"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c55b5ce437347ff7ba55072d536febac","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"c55b5ce437347ff7ba55072d536febac"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":493,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":493,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.975385,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c55b5ce437347ff7ba55072d536febac","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072530,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMH0.zrj4bQQNmllJownzgQqUvIANEBNuDCdDT_eB7c_2Vkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"c55b5ce437347ff7ba55072d536febac","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c6e44f8e-4334-4999-b915-2bc141642dfd"},"level":"info","message":"Attempting to run experiment","requestID":"c55b5ce437347ff7ba55072d536febac"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c6e44f8e-4334-4999-b915-2bc141642dfd"},"level":"info","message":"Attempting to book experiment","requestID":"c55b5ce437347ff7ba55072d536febac"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c6e44f8e-4334-4999-b915-2bc141642dfd"},"level":"info","message":"Successfully booked experiment","requestID":"c55b5ce437347ff7ba55072d536febac"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c6ff4410-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c6ffb940-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":494,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":494,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.559038,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":495,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c6ff4410-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072530,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMH0.zrj4bQQNmllJownzgQqUvIANEBNuDCdDT_eB7c_2Vkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"c6ff4410-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":495,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.468412,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c6ffb940-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072530,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMH0.zrj4bQQNmllJownzgQqUvIANEBNuDCdDT_eB7c_2Vkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"c6ffb940-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad9930f5-e275-452b-9935-0ff25dbfc9d8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad9930f5-e275-452b-9935-0ff25dbfc9d8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:27.831722062Z"}]},"request_id":"3b7e6ef2-0f7a-4044-b311-931f7df25084","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.1438777} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c6ff4410-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89741789-a0ec-44f1-ab06-e5b496850315","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89741789-a0ec-44f1-ab06-e5b496850315","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:27.875895670Z"}]},"request_id":"5d204121-bd3b-4a10-8b10-9b68c555e1e0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.1449971} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c6ffb940-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c6ff4410-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8? 200 21ms","method":"GET","requestID":"c6ff4410-8ba4-11ef-a62f-5f7f958aa687","responseTime":21,"status":200,"url":"/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c6ffb940-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/89741789-a0ec-44f1-ab06-e5b496850315? 200 20ms","method":"GET","requestID":"c6ffb940-8ba4-11ef-a62f-5f7f958aa687","responseTime":20,"status":200,"url":"/devices/89741789-a0ec-44f1-ab06-e5b496850315?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c6e44f8e-4334-4999-b915-2bc141642dfd"},"level":"info","message":"Setting up experiment","requestID":"c55b5ce437347ff7ba55072d536febac"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c6e44f8e-4334-4999-b915-2bc141642dfd"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"c55b5ce437347ff7ba55072d536febac"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c6e44f8e-4334-4999-b915-2bc141642dfd"},"level":"info","message":"Successfully locked booking for experiment","requestID":"c55b5ce437347ff7ba55072d536febac"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c6e44f8e-4334-4999-b915-2bc141642dfd"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"c55b5ce437347ff7ba55072d536febac"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c6e44f8e-4334-4999-b915-2bc141642dfd"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"c55b5ce437347ff7ba55072d536febac"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c6e44f8e-4334-4999-b915-2bc141642dfd"},"level":"info","message":"Attempting to update booking for experiment","requestID":"c55b5ce437347ff7ba55072d536febac"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c6e44f8e-4334-4999-b915-2bc141642dfd"},"level":"info","message":"Successfully updated booking for experiment","requestID":"c55b5ce437347ff7ba55072d536febac"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c6e44f8e-4334-4999-b915-2bc141642dfd"},"level":"info","message":"Successfully set up experiment","requestID":"c55b5ce437347ff7ba55072d536febac"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c70b03e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c70b5200-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c70bc730-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c6e44f8e-4334-4999-b915-2bc141642dfd"},"level":"info","message":"Successfully running experiment","requestID":"c55b5ce437347ff7ba55072d536febac"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":496,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":496,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.850152,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":497,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c70b03e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072530,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMH0.zrj4bQQNmllJownzgQqUvIANEBNuDCdDT_eB7c_2Vkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"c70b03e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":497,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.329115,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c70b5200-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072530,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMH0.zrj4bQQNmllJownzgQqUvIANEBNuDCdDT_eB7c_2Vkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"c70b5200-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89741789-a0ec-44f1-ab06-e5b496850315","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89741789-a0ec-44f1-ab06-e5b496850315","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:27.875895670Z"}]},"request_id":"cd844af0-32de-4a0c-b524-c2db8b94245e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.2260122} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad9930f5-e275-452b-9935-0ff25dbfc9d8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad9930f5-e275-452b-9935-0ff25dbfc9d8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:27.831722062Z"}]},"request_id":"3a5dce1d-753c-4f48-b231-78eba74252f9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.2275019} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"c70b5200-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:59252","level":"info","msg":"Received request.","req_id":498,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"c70b03e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad9930f5-e275-452b-9935-0ff25dbfc9d8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"76e6f0fe-102b-45a0-bc4f-e05039ad48b9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.2314808} authorization-1 | {"client_addr":"127.0.0.1:59252","level":"info","msg":"Sent response.","req_id":498,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.986426,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c70bc730-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8","object_type":"device","rebac_allow":false,"scope_allow":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":"c70bc730-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c70b5200-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/89741789-a0ec-44f1-ab06-e5b496850315? 200 31ms","method":"GET","requestID":"c70b5200-8ba4-11ef-a62f-5f7f958aa687","responseTime":31,"status":200,"url":"/devices/89741789-a0ec-44f1-ab06-e5b496850315?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c70b03e0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc6e44f8e-4334-4999-b915-2bc141642dfd#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc6e44f8e-4334-4999-b915-2bc141642dfd","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"bd49ab8e-d363-490a-95f1-62f6631b88c0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.240534} device-1 | {"level":"info","message":"GET /devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8? 200 35ms","method":"GET","requestID":"c70b03e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":35,"status":200,"url":"/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c70bc730-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f5f5e8ff-3070-4061-b9c1-2f2ee9341a79","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.241542} device-1 | {"level":"info","message":"POST /devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8/signaling 200 33ms","method":"POST","requestID":"c70bc730-8ba4-11ef-a62f-5f7f958aa687","responseTime":33,"status":200,"url":"/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 24ms","method":"POST","requestID":"c55b5ce437347ff7ba55072d536febac","responseTime":24,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c710f750-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c7116c80-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":499,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":500,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad9930f5-e275-452b-9935-0ff25dbfc9d8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b437edca-ae4c-4358-8278-d3b45969cd89","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.2538126} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":499,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":7.031767,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c710f750-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8","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/c6e44f8e-4334-4999-b915-2bc141642dfd","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"c55b5ce437347ff7ba55072d536febac"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"c710f750-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89741789-a0ec-44f1-ab06-e5b496850315","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bbaf5323-02f9-4dea-a0b7-d53a7d98b069","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.2590356} gateway-1 | {"time_local":"16/Oct/2024:09:55:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"778","request_time":"0.175","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c55b5ce437347ff7ba55072d536febac"} experiment-1 | {"level":"info","message":"POST /experiments? 201 170ms","method":"POST","requestID":"c55b5ce437347ff7ba55072d536febac","responseTime":170,"status":201,"url":"/experiments?"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":500,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":7.550183,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c7116c80-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315","object_type":"device","rebac_allow":false,"scope_allow":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":"c7116c80-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c710f750-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8/signaling 200 20ms","method":"POST","requestID":"c710f750-8ba4-11ef-a62f-5f7f958aa687","responseTime":20,"status":200,"url":"/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMH0.zrj4bQQNmllJownzgQqUvIANEBNuDCdDT_eB7c_2Vkg","level":"info","message":"auth send jwt","requestID":"abe022cc14a29186c87ca88cca0655e0"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c7116c80-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"abe022cc14a29186c87ca88cca0655e0","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"POST /devices/89741789-a0ec-44f1-ab06-e5b496850315/signaling 200 19ms","method":"POST","requestID":"c7116c80-8ba4-11ef-a62f-5f7f958aa687","responseTime":19,"status":200,"url":"/devices/89741789-a0ec-44f1-ab06-e5b496850315/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c71479c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"abe022cc14a29186c87ca88cca0655e0"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":501,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":502,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89741789-a0ec-44f1-ab06-e5b496850315","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9e621a0f-07ff-407c-b0be-6f62e1c39389","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.2761292} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":502,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.351923,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"abe022cc14a29186c87ca88cca0655e0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072530,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMH0.zrj4bQQNmllJownzgQqUvIANEBNuDCdDT_eB7c_2Vkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"abe022cc14a29186c87ca88cca0655e0","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":501,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.497322,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c71479c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315","object_type":"device","rebac_allow":false,"scope_allow":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":"c71479c0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad9930f5-e275-452b-9935-0ff25dbfc9d8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad9930f5-e275-452b-9935-0ff25dbfc9d8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:27.831722062Z"}]},"request_id":"5eeddec3-9cba-4195-8640-d9727e731941","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.2825096} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c71479c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/89741789-a0ec-44f1-ab06-e5b496850315/signaling 200 15ms","method":"POST","requestID":"c71479c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/89741789-a0ec-44f1-ab06-e5b496850315/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"abe022cc14a29186c87ca88cca0655e0","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c6e44f8e-4334-4999-b915-2bc141642dfd"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"c55b5ce437347ff7ba55072d536febac"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c71738e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c7178700-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"abe022cc14a29186c87ca88cca0655e0"} gateway-1 | {"time_local":"16/Oct/2024:09:55:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.030","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"abe022cc14a29186c87ca88cca0655e0"} device-1 | {"level":"info","message":"GET /devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8? 200 20ms","method":"GET","requestID":"abe022cc14a29186c87ca88cca0655e0","responseTime":20,"status":200,"url":"/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":503,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":503,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.529527,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":504,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c71738e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072530,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMH0.zrj4bQQNmllJownzgQqUvIANEBNuDCdDT_eB7c_2Vkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"c71738e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":504,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.011515,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c7178700-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072530,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMH0.zrj4bQQNmllJownzgQqUvIANEBNuDCdDT_eB7c_2Vkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"c7178700-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMH0.zrj4bQQNmllJownzgQqUvIANEBNuDCdDT_eB7c_2Vkg","level":"info","message":"auth send jwt","requestID":"d04270140c214a3e734c0e57cd9b845e"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"d04270140c214a3e734c0e57cd9b845e","responseTime":6,"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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad9930f5-e275-452b-9935-0ff25dbfc9d8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad9930f5-e275-452b-9935-0ff25dbfc9d8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:27.831722062Z"}]},"request_id":"9f7567ec-e97b-48c1-adb1-93f8bbe3dc62","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.2996645} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d04270140c214a3e734c0e57cd9b845e"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"c71738e0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89741789-a0ec-44f1-ab06-e5b496850315","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89741789-a0ec-44f1-ab06-e5b496850315","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:27.875895670Z"}]},"request_id":"e4a262eb-145b-4cbd-ba6d-755d307849e0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.30152} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c7178700-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":505,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":505,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.158585,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d04270140c214a3e734c0e57cd9b845e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072530,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMH0.zrj4bQQNmllJownzgQqUvIANEBNuDCdDT_eB7c_2Vkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d04270140c214a3e734c0e57cd9b845e","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c7178700-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/89741789-a0ec-44f1-ab06-e5b496850315? 200 24ms","method":"GET","requestID":"c7178700-8ba4-11ef-a62f-5f7f958aa687","responseTime":24,"status":200,"url":"/devices/89741789-a0ec-44f1-ab06-e5b496850315?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c71738e0-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c6e44f8e-4334-4999-b915-2bc141642dfd"},"level":"info","message":"Building connection plan","requestID":"c55b5ce437347ff7ba55072d536febac"} device-1 | {"level":"info","message":"GET /devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8? 200 27ms","method":"GET","requestID":"c71738e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":27,"status":200,"url":"/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89741789-a0ec-44f1-ab06-e5b496850315","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89741789-a0ec-44f1-ab06-e5b496850315","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:27.875895670Z"}]},"request_id":"05d88a3f-f3e8-4131-8e32-a970effadbc9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.3129287} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"0d1c6584-c9ae-45cd-8058-aff1464e7cbf"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"3a02f68f-0b92-4d09-9ba5-5a34fcb2d3a1"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/file","uuid":"e1126832-71ee-4a32-bd61-f67360033278"}]},"level":"info","message":"Built pairwise service configurations","requestID":"c55b5ce437347ff7ba55072d536febac"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"d04270140c214a3e734c0e57cd9b845e","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d04270140c214a3e734c0e57cd9b845e"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"c71bf3d0-8ba4-11ef-a042-213954f0282b"} gateway-1 | {"time_local":"16/Oct/2024:09:55:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/89741789-a0ec-44f1-ab06-e5b496850315? 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":"d04270140c214a3e734c0e57cd9b845e"} device-1 | {"level":"info","message":"GET /devices/89741789-a0ec-44f1-ab06-e5b496850315? 200 16ms","method":"GET","requestID":"d04270140c214a3e734c0e57cd9b845e","responseTime":16,"status":200,"url":"/devices/89741789-a0ec-44f1-ab06-e5b496850315?"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"c71bf3d0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"POST /rooms 201 2ms","method":"POST","requestID":"c71bf3d0-8ba4-11ef-a042-213954f0282b","responseTime":2,"status":201,"url":"/rooms"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de?id=40b9e796-efb2-4dd9-bdd7-2ebd93567fe7","ws://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de?id=4972e5bf-6410-4384-9e5f-f11ee19eaf8e"]},"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/89741789-a0ec-44f1-ab06-e5b496850315"},{"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/ad9930f5-e275-452b-9935-0ff25dbfc9d8"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"c55b5ce437347ff7ba55072d536febac"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"c71cb720-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":506,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":506,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.834317,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c71cb720-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072530,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMH0.zrj4bQQNmllJownzgQqUvIANEBNuDCdDT_eB7c_2Vkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c71cb720-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"9a567d71-88ef-4e81-a520-14eff55e32a5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.3377454} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"dacc7dd8-f40b-442b-9c61-95a030a84897","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.3380542} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"c71cb720-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/update"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"d42ffdd7-f84f-46c8-875f-704a649ec0eb\" in room \"http://localhost/rooms/7d8d4808-60cb-4609-a5af-deb5acdf9e95\"","requestID":"b53dfa50-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"68e7dedb-2ace-4139-a02a-38f192ea402c\" in room \"http://localhost/rooms/7d8d4808-60cb-4609-a5af-deb5acdf9e95\"","requestID":"b53e4870-8ba4-11ef-a042-213954f0282b"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"c71cb720-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"c71cb720-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/9f60e243-afb5-4487-b132-a2f0724de706'","requestID":"c71cb720-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/9f60e243-afb5-4487-b132-a2f0724de706'","requestID":"c71cb720-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"c71cb720-8ba4-11ef-a62f-5f7f958aa687"} 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":"c71cb720-8ba4-11ef-a62f-5f7f958aa687","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":"c71cb720-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/9f60e243-afb5-4487-b132-a2f0724de706' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"9f60e243-afb5-4487-b132-a2f0724de706","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"c723bc00-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"4972e5bf-6410-4384-9e5f-f11ee19eaf8e\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\"","requestID":"c723bc00-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"c723bc00-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"c723e310-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\"","requestID":"c723e310-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"c723e310-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"65a9ea4b2f6b7743619ffdc2564cac39","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"65a9ea4b2f6b7743619ffdc2564cac39","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":"new","url":"http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315"},{"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/ad9930f5-e275-452b-9935-0ff25dbfc9d8"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/9f60e243-afb5-4487-b132-a2f0724de706"}}},"level":"info","message":"received a callback","requestID":"65a9ea4b2f6b7743619ffdc2564cac39"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} device-1 | {"data":{"peerconnection":"9f60e243-afb5-4487-b132-a2f0724de706","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 12ms","method":"POST","requestID":"65a9ea4b2f6b7743619ffdc2564cac39","responseTime":12,"status":200,"url":"/callbacks/experiment"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.016","http_referrer":"","http_user_agent":"node-fetch","requestID":"65a9ea4b2f6b7743619ffdc2564cac39"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} device-1 | {"data":{"peerconnection":"9f60e243-afb5-4487-b132-a2f0724de706","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 \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c6e44f8e-4334-4999-b915-2bc141642dfd"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"c55b5ce437347ff7ba55072d536febac"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c729fd90-8ba4-11ef-a62f-5f7f958aa687"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":507,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:30Z"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad9930f5-e275-452b-9935-0ff25dbfc9d8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9fd627f5-5946-4c61-a9f4-3164d529af44","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.414555} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/9f60e243-afb5-4487-b132-a2f0724de706' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"9f60e243-afb5-4487-b132-a2f0724de706","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 \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"5c8e35468c3984e4994c17f785d5868f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"5c8e35468c3984e4994c17f785d5868f","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":507,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.705156,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c729fd90-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8","object_type":"device","rebac_allow":false,"scope_allow":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":"c729fd90-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} 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/89741789-a0ec-44f1-ab06-e5b496850315"},{"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/ad9930f5-e275-452b-9935-0ff25dbfc9d8"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/9f60e243-afb5-4487-b132-a2f0724de706"}}},"level":"info","message":"received a callback","requestID":"5c8e35468c3984e4994c17f785d5868f"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c729fd90-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8/signaling 200 12ms","method":"POST","requestID":"c729fd90-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c72c4780-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":508,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89741789-a0ec-44f1-ab06-e5b496850315","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1d05a8eb-a130-4e6d-bc68-c12e59b5ead8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.4293485} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"c72d0ad0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":508,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.899812,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c72c4780-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315","object_type":"device","rebac_allow":false,"scope_allow":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":"c72c4780-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":509,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F9f60e243-afb5-4487-b132-a2f0724de706","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d9b9dfda-048a-479f-ae30-60f74f7816b6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.4354024} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c72c4780-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/89741789-a0ec-44f1-ab06-e5b496850315/signaling 200 11ms","method":"POST","requestID":"c72c4780-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/89741789-a0ec-44f1-ab06-e5b496850315/signaling"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":509,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.330227,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/9f60e243-afb5-4487-b132-a2f0724de706","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c72d0ad0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/9f60e243-afb5-4487-b132-a2f0724de706","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":"c72d0ad0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"c72d0ad0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/9f60e243-afb5-4487-b132-a2f0724de706 200 11ms","method":"GET","requestID":"c72d0ad0-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/peerconnections/9f60e243-afb5-4487-b132-a2f0724de706"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 36ms","method":"POST","requestID":"5c8e35468c3984e4994c17f785d5868f","responseTime":36,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.039","http_referrer":"","http_user_agent":"node-fetch","requestID":"5c8e35468c3984e4994c17f785d5868f"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c7312980-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":510,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89741789-a0ec-44f1-ab06-e5b496850315","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"223f9b07-a0b3-403b-b901-c1ec6c471c15","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.4616365} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":510,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.890803,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c7312980-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315","object_type":"device","rebac_allow":false,"scope_allow":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":"c7312980-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c7312980-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/89741789-a0ec-44f1-ab06-e5b496850315/signaling 200 10ms","method":"POST","requestID":"c7312980-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/89741789-a0ec-44f1-ab06-e5b496850315/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c732fe40-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":511,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad9930f5-e275-452b-9935-0ff25dbfc9d8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"92b25a3d-8130-4977-8722-1664ace0327a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.4730024} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":511,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.63434,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c732fe40-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8","object_type":"device","rebac_allow":false,"scope_allow":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":"c732fe40-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c732fe40-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8/signaling 200 10ms","method":"POST","requestID":"c732fe40-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMH0.zrj4bQQNmllJownzgQqUvIANEBNuDCdDT_eB7c_2Vkg","level":"info","message":"auth send jwt","requestID":"1cf5d71e94e4b7a2e99555bd9d53cda7"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"1cf5d71e94e4b7a2e99555bd9d53cda7","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/c6e44f8e-4334-4999-b915-2bc141642dfd","requestID":"1cf5d71e94e4b7a2e99555bd9d53cda7"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":512,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":512,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.250428,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/c6e44f8e-4334-4999-b915-2bc141642dfd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"1cf5d71e94e4b7a2e99555bd9d53cda7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/c6e44f8e-4334-4999-b915-2bc141642dfd","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072530,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMH0.zrj4bQQNmllJownzgQqUvIANEBNuDCdDT_eB7c_2Vkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1cf5d71e94e4b7a2e99555bd9d53cda7","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/c6e44f8e-4334-4999-b915-2bc141642dfd","requestID":"1cf5d71e94e4b7a2e99555bd9d53cda7"} gateway-1 | {"time_local":"16/Oct/2024:09:55:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/c6e44f8e-4334-4999-b915-2bc141642dfd HTTP/1.1","status": "200","body_bytes_sent":"851","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1cf5d71e94e4b7a2e99555bd9d53cda7"} experiment-1 | {"level":"info","message":"GET /experiments/c6e44f8e-4334-4999-b915-2bc141642dfd 200 15ms","method":"GET","requestID":"1cf5d71e94e4b7a2e99555bd9d53cda7","responseTime":15,"status":200,"url":"/experiments/c6e44f8e-4334-4999-b915-2bc141642dfd"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMH0.zrj4bQQNmllJownzgQqUvIANEBNuDCdDT_eB7c_2Vkg","level":"info","message":"auth send jwt","requestID":"75440fe4e8a8ff96aa8631951caef1d8"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"75440fe4e8a8ff96aa8631951caef1d8","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/c6e44f8e-4334-4999-b915-2bc141642dfd","requestID":"75440fe4e8a8ff96aa8631951caef1d8"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":513,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":513,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.215796,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/c6e44f8e-4334-4999-b915-2bc141642dfd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"75440fe4e8a8ff96aa8631951caef1d8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/c6e44f8e-4334-4999-b915-2bc141642dfd","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072530,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMH0.zrj4bQQNmllJownzgQqUvIANEBNuDCdDT_eB7c_2Vkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"75440fe4e8a8ff96aa8631951caef1d8","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c6e44f8e-4334-4999-b915-2bc141642dfd"},"level":"info","message":"Attempting to finish experiment","requestID":"75440fe4e8a8ff96aa8631951caef1d8"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"c77166d0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":514,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":514,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.140762,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/9f60e243-afb5-4487-b132-a2f0724de706","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c77166d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/9f60e243-afb5-4487-b132-a2f0724de706","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072530,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMH0.zrj4bQQNmllJownzgQqUvIANEBNuDCdDT_eB7c_2Vkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c77166d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:55:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/8f086300-9b48-40af-9769-2e08c6b688de?id=40b9e796-efb2-4dd9-bdd7-2ebd93567fe7 HTTP/1.1","status": "101","body_bytes_sent":"940749","request_time":"0.529","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"93e1d4f7e6ebbda453a78511bb6ac2b6"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/9f60e243-afb5-4487-b132-a2f0724de706","device":"89741789-a0ec-44f1-ab06-e5b496850315","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/9f60e243-afb5-4487-b132-a2f0724de706","device":"ad9930f5-e275-452b-9935-0ff25dbfc9d8","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 \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/9f60e243-afb5-4487-b132-a2f0724de706' to 'http://localhost/callbacks/experiment'"} gateway-1 | {"time_local":"16/Oct/2024:09:55:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/8f086300-9b48-40af-9769-2e08c6b688de?id=4972e5bf-6410-4384-9e5f-f11ee19eaf8e HTTP/1.1","status": "101","body_bytes_sent":"2","request_time":"0.530","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"3061842485f37cea530451cae4953260"} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" from room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\", code: 1005, reason: "} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/9f60e243-afb5-4487-b132-a2f0724de706' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"9f60e243-afb5-4487-b132-a2f0724de706","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"4972e5bf-6410-4384-9e5f-f11ee19eaf8e\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"4972e5bf-6410-4384-9e5f-f11ee19eaf8e\" from room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\", code: 1005, reason: "} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9816f31835756d96a3f85b3759140e59","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"9816f31835756d96a3f85b3759140e59","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":"closed","url":"http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315"},{"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/ad9930f5-e275-452b-9935-0ff25dbfc9d8"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/9f60e243-afb5-4487-b132-a2f0724de706"}}},"level":"info","message":"received a callback","requestID":"9816f31835756d96a3f85b3759140e59"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"cabe9d2afc01b1a69c38f559e13f6468","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"cabe9d2afc01b1a69c38f559e13f6468","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F9f60e243-afb5-4487-b132-a2f0724de706': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F9f60e243-afb5-4487-b132-a2f0724de706","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"9248a45f-78f1-4d97-9cea-4646d7e68097","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.9035778} 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":"closed","url":"http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315"},{"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/ad9930f5-e275-452b-9935-0ff25dbfc9d8"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/9f60e243-afb5-4487-b132-a2f0724de706"}}},"level":"info","message":"received a callback","requestID":"cabe9d2afc01b1a69c38f559e13f6468"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8cb2c19c-30a9-4cc7-97f2-62afe1f266e4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.9040642} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"c77166d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"9f60e243-afb5-4487-b132-a2f0724de706","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"c77166d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/9f60e243-afb5-4487-b132-a2f0724de706 204 46ms","method":"DELETE","requestID":"c77166d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":46,"status":204,"url":"/peerconnections/9f60e243-afb5-4487-b132-a2f0724de706"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315'"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c6e44f8e-4334-4999-b915-2bc141642dfd"},"level":"info","message":"Successfully finished experiment","requestID":"75440fe4e8a8ff96aa8631951caef1d8"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c77b03c0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":515,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89741789-a0ec-44f1-ab06-e5b496850315","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"874e7874-6ab0-48b3-a9db-13938f9dfa1b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.9475865} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":515,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.350524,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c77b03c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315","object_type":"device","rebac_allow":false,"scope_allow":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":"c77b03c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c77b03c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/89741789-a0ec-44f1-ab06-e5b496850315/signaling 200 14ms","method":"POST","requestID":"c77b03c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/89741789-a0ec-44f1-ab06-e5b496850315/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc6e44f8e-4334-4999-b915-2bc141642dfd': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc6e44f8e-4334-4999-b915-2bc141642dfd","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"004e6461-c91f-45c9-8b5f-dabfff855861","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.9548788} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"239d17ee-61d3-400b-987d-a7cd6a294b82","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.9551754} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c77d74c0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"75440fe4e8a8ff96aa8631951caef1d8","responseTime":18,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":516,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad9930f5-e275-452b-9935-0ff25dbfc9d8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"85cd3036-46f7-40fa-a08d-5ada2722e270","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072530.9618583} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":516,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.251103,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c77d74c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8","object_type":"device","rebac_allow":false,"scope_allow":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":"c77d74c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c77d74c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8/signaling 200 12ms","method":"POST","requestID":"c77d74c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/ad9930f5-e275-452b-9935-0ff25dbfc9d8/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/c6e44f8e-4334-4999-b915-2bc141642dfd","requestID":"75440fe4e8a8ff96aa8631951caef1d8"} gateway-1 | {"time_local":"16/Oct/2024:09:55:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/c6e44f8e-4334-4999-b915-2bc141642dfd 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":"75440fe4e8a8ff96aa8631951caef1d8"} experiment-1 | {"level":"info","message":"DELETE /experiments/c6e44f8e-4334-4999-b915-2bc141642dfd 204 163ms","method":"DELETE","requestID":"75440fe4e8a8ff96aa8631951caef1d8","responseTime":163,"status":204,"url":"/experiments/c6e44f8e-4334-4999-b915-2bc141642dfd"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 129ms","method":"POST","requestID":"9816f31835756d96a3f85b3759140e59","responseTime":129,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.132","http_referrer":"","http_user_agent":"node-fetch","requestID":"9816f31835756d96a3f85b3759140e59"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMX0.XXiRcER7JqzvMlQskYDJtw0cm5zX-wV-ZuHWCRwygFw","level":"info","message":"auth send jwt","requestID":"4ed38ae89723110507dba686cc659898"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"4ed38ae89723110507dba686cc659898","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 128ms","method":"POST","requestID":"cabe9d2afc01b1a69c38f559e13f6468","responseTime":128,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.136","http_referrer":"","http_user_agent":"node-fetch","requestID":"cabe9d2afc01b1a69c38f559e13f6468"} gateway-1 | {"time_local":"16/Oct/2024:09:55:31 +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.096","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"6cbc07bf9434257bc93519c6df3d187a"} device-1 | {"level":"info","message":"postDevices called","requestID":"4ed38ae89723110507dba686cc659898"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":517,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:31Z"} gateway-1 | {"time_local":"16/Oct/2024:09:55:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1437","request_time":"1.107","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"b4e516673ea2a2408e4fccc76554b410"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":517,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":6.507365,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:31Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"4ed38ae89723110507dba686cc659898","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072531,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMX0.XXiRcER7JqzvMlQskYDJtw0cm5zX-wV-ZuHWCRwygFw"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"4ed38ae89723110507dba686cc659898","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/ad9930f5-e275-452b-9935-0ff25dbfc9d8' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/89741789-a0ec-44f1-ab06-e5b496850315' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3db4d64c-cfad-4180-827f-1c5c8c9de415","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"8732e46e-307f-4f6d-ac71-5e0944384a0d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072531.0638974} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"4ed38ae89723110507dba686cc659898","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f8de20d2-4092-4c98-bbd9-3017688b3750","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072531.0692012} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"4ed38ae89723110507dba686cc659898","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3db4d64c-cfad-4180-827f-1c5c8c9de415","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"28aaa257-6b9b-4718-aa48-c679014e741b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072531.080106} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e26e382a-28e2-4cd1-9077-7a07281aaefe","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072531.0804522} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"4ed38ae89723110507dba686cc659898","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3db4d64c-cfad-4180-827f-1c5c8c9de415","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3db4d64c-cfad-4180-827f-1c5c8c9de415","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:31.080077591Z"}]},"request_id":"014f5798-45a2-4395-b4ed-3e7ab62db33b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072531.084064} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"4ed38ae89723110507dba686cc659898","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"4ed38ae89723110507dba686cc659898"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.058","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4ed38ae89723110507dba686cc659898"} device-1 | {"level":"info","message":"POST /devices? 201 50ms","method":"POST","requestID":"4ed38ae89723110507dba686cc659898","responseTime":50,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMX0.XXiRcER7JqzvMlQskYDJtw0cm5zX-wV-ZuHWCRwygFw","level":"info","message":"auth send jwt","requestID":"ee968c89e8c64cb964fb307d5f266b3c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ee968c89e8c64cb964fb307d5f266b3c","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"ee968c89e8c64cb964fb307d5f266b3c"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":518,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:31Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":518,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.753832,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:31Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ee968c89e8c64cb964fb307d5f266b3c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072531,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMX0.XXiRcER7JqzvMlQskYDJtw0cm5zX-wV-ZuHWCRwygFw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ee968c89e8c64cb964fb307d5f266b3c","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2727f3c8-5855-4630-bf54-1e981129d0c9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"0f07b114-03b9-4bad-a46a-741c4ab35a3e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072531.106705} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"ee968c89e8c64cb964fb307d5f266b3c","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"25e09299-1fed-46d4-8943-2fedc36e9999","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072531.1103778} authorization-1 | {"level":"info","message":"POST /relations/update 200 2ms","method":"POST","requestID":"ee968c89e8c64cb964fb307d5f266b3c","responseTime":2,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2727f3c8-5855-4630-bf54-1e981129d0c9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"6e7c5104-38a7-493c-8f39-1884ca32ba8c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072531.1251993} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e3ed977f-2732-4890-8e5c-848cf0e3b272","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072531.1252573} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"ee968c89e8c64cb964fb307d5f266b3c","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2727f3c8-5855-4630-bf54-1e981129d0c9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2727f3c8-5855-4630-bf54-1e981129d0c9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:31.125180522Z"}]},"request_id":"891373ae-6fb0-43f6-9c9e-fc71e21557d6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072531.1286886} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"ee968c89e8c64cb964fb307d5f266b3c","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"ee968c89e8c64cb964fb307d5f266b3c"} device-1 | {"level":"info","message":"POST /devices? 201 39ms","method":"POST","requestID":"ee968c89e8c64cb964fb307d5f266b3c","responseTime":39,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.043","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ee968c89e8c64cb964fb307d5f266b3c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMX0.XXiRcER7JqzvMlQskYDJtw0cm5zX-wV-ZuHWCRwygFw","level":"info","message":"auth send jwt","requestID":"594cc9f9feaf49f1c4fd9e0cd3449a4b"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"594cc9f9feaf49f1c4fd9e0cd3449a4b","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"594cc9f9feaf49f1c4fd9e0cd3449a4b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":519,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:31Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":519,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.124719,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:31Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/2727f3c8-5855-4630-bf54-1e981129d0c9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"594cc9f9feaf49f1c4fd9e0cd3449a4b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2727f3c8-5855-4630-bf54-1e981129d0c9","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072531,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMX0.XXiRcER7JqzvMlQskYDJtw0cm5zX-wV-ZuHWCRwygFw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"594cc9f9feaf49f1c4fd9e0cd3449a4b","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2727f3c8-5855-4630-bf54-1e981129d0c9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2727f3c8-5855-4630-bf54-1e981129d0c9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:31.125180522Z"}]},"request_id":"f719df77-58e4-4dda-a27f-bc4beb1155b4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072531.630504} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"594cc9f9feaf49f1c4fd9e0cd3449a4b","responseTime":3,"status":200,"url":"/relations/query"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"09661f09-a2a5-409b-b99e-a643b9509618\" in room \"http://localhost/rooms/e5fa1538-0ac3-4f3b-b5ba-e3b6effc748a\"","requestID":"b602f800-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"f4e33730-ef7e-458a-8051-9beb5c062af0\" in room \"http://localhost/rooms/e5fa1538-0ac3-4f3b-b5ba-e3b6effc748a\"","requestID":"b6034620-8ba4-11ef-a042-213954f0282b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"95388bc9-12de-4ffb-8554-f628bfadd3db","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072531.6369314} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"594cc9f9feaf49f1c4fd9e0cd3449a4b","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2727f3c8-5855-4630-bf54-1e981129d0c9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2727f3c8-5855-4630-bf54-1e981129d0c9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:31.125180522Z"}]},"request_id":"63cd7cdc-f863-4f2e-9338-d66ac2abbd53","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072531.6472943} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"594cc9f9feaf49f1c4fd9e0cd3449a4b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"594cc9f9feaf49f1c4fd9e0cd3449a4b"} device-1 | {"level":"info","message":"PATCH /devices/2727f3c8-5855-4630-bf54-1e981129d0c9 200 33ms","method":"PATCH","requestID":"594cc9f9feaf49f1c4fd9e0cd3449a4b","responseTime":33,"status":200,"url":"/devices/2727f3c8-5855-4630-bf54-1e981129d0c9"} gateway-1 | {"time_local":"16/Oct/2024:09:55:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/2727f3c8-5855-4630-bf54-1e981129d0c9 HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.039","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"594cc9f9feaf49f1c4fd9e0cd3449a4b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMX0.XXiRcER7JqzvMlQskYDJtw0cm5zX-wV-ZuHWCRwygFw","level":"info","message":"auth send jwt","requestID":"767550077b1f166aebb5946770e7adb4"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"767550077b1f166aebb5946770e7adb4","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"767550077b1f166aebb5946770e7adb4"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":520,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:31Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":520,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.171598,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:31Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/2727f3c8-5855-4630-bf54-1e981129d0c9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"767550077b1f166aebb5946770e7adb4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2727f3c8-5855-4630-bf54-1e981129d0c9","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072531,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzMX0.XXiRcER7JqzvMlQskYDJtw0cm5zX-wV-ZuHWCRwygFw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"767550077b1f166aebb5946770e7adb4","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"767550077b1f166aebb5946770e7adb4"} gateway-1 | {"time_local":"16/Oct/2024:09:55:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/2727f3c8-5855-4630-bf54-1e981129d0c9/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.10","requestID":"767550077b1f166aebb5946770e7adb4"} device-1 | {"level":"info","message":"POST /devices/2727f3c8-5855-4630-bf54-1e981129d0c9/websocket 200 20ms","method":"POST","requestID":"767550077b1f166aebb5946770e7adb4","responseTime":20,"status":200,"url":"/devices/2727f3c8-5855-4630-bf54-1e981129d0c9/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/2727f3c8-5855-4630-bf54-1e981129d0c9' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a17ab79bf9f443a3470c5858b0961e02","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"a17ab79bf9f443a3470c5858b0961e02","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/3db4d64c-cfad-4180-827f-1c5c8c9de415/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":"a17ab79bf9f443a3470c5858b0961e02"} device-1 | {"level":"info","message":"OPTIONS /devices/3db4d64c-cfad-4180-827f-1c5c8c9de415/websocket 200 2ms","method":"OPTIONS","requestID":"a17ab79bf9f443a3470c5858b0961e02","responseTime":2,"status":200,"url":"/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0","level":"info","message":"auth send jwt","requestID":"2b1cf3a27f77bf16fd969178c64a5dae"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"2b1cf3a27f77bf16fd969178c64a5dae","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"2b1cf3a27f77bf16fd969178c64a5dae"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":521,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":521,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.285374,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"2b1cf3a27f77bf16fd969178c64a5dae","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072533,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2b1cf3a27f77bf16fd969178c64a5dae","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"2b1cf3a27f77bf16fd969178c64a5dae"} gateway-1 | {"time_local":"16/Oct/2024:09:55:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/3db4d64c-cfad-4180-827f-1c5c8c9de415/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":"2b1cf3a27f77bf16fd969178c64a5dae"} device-1 | {"level":"info","message":"POST /devices/3db4d64c-cfad-4180-827f-1c5c8c9de415/websocket 200 21ms","method":"POST","requestID":"2b1cf3a27f77bf16fd969178c64a5dae","responseTime":21,"status":200,"url":"/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"034fe6f81eb064bbf0e6526aaf28c251","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"034fe6f81eb064bbf0e6526aaf28c251","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/3db4d64c-cfad-4180-827f-1c5c8c9de415? 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":"034fe6f81eb064bbf0e6526aaf28c251"} device-1 | {"level":"info","message":"OPTIONS /devices/3db4d64c-cfad-4180-827f-1c5c8c9de415? 200 2ms","method":"OPTIONS","requestID":"034fe6f81eb064bbf0e6526aaf28c251","responseTime":2,"status":200,"url":"/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0","level":"info","message":"auth send jwt","requestID":"529a7a8d62e634da1327e1fdcb18199e"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"529a7a8d62e634da1327e1fdcb18199e","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"529a7a8d62e634da1327e1fdcb18199e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":522,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":522,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.138311,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"529a7a8d62e634da1327e1fdcb18199e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072533,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"529a7a8d62e634da1327e1fdcb18199e","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3db4d64c-cfad-4180-827f-1c5c8c9de415","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3db4d64c-cfad-4180-827f-1c5c8c9de415","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:31.080077591Z"}]},"request_id":"1f2495fa-9786-4633-8920-81bcef73f557","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.2052908} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"529a7a8d62e634da1327e1fdcb18199e","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"bb67f116-e2e7-4579-9788-20d3fe52a396","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.2124493} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"529a7a8d62e634da1327e1fdcb18199e","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3db4d64c-cfad-4180-827f-1c5c8c9de415","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3db4d64c-cfad-4180-827f-1c5c8c9de415","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:31.080077591Z"}]},"request_id":"c587acd7-d976-4c0c-a4fd-6042c53bc069","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.2254937} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"529a7a8d62e634da1327e1fdcb18199e","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"529a7a8d62e634da1327e1fdcb18199e"} gateway-1 | {"time_local":"16/Oct/2024:09:55:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/3db4d64c-cfad-4180-827f-1c5c8c9de415? 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":"529a7a8d62e634da1327e1fdcb18199e"} device-1 | {"level":"info","message":"PATCH /devices/3db4d64c-cfad-4180-827f-1c5c8c9de415? 200 37ms","method":"PATCH","requestID":"529a7a8d62e634da1327e1fdcb18199e","responseTime":37,"status":200,"url":"/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0","level":"info","message":"auth send jwt","requestID":"101de6cdc75642166e9465787c38a859"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"101de6cdc75642166e9465787c38a859","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"101de6cdc75642166e9465787c38a859"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":523,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":523,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.144283,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"101de6cdc75642166e9465787c38a859","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072533,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"101de6cdc75642166e9465787c38a859","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3db4d64c-cfad-4180-827f-1c5c8c9de415","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3db4d64c-cfad-4180-827f-1c5c8c9de415","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:31.080077591Z"}]},"request_id":"862e3d87-ea98-4a73-8e01-fb51e5642d39","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.255869} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"101de6cdc75642166e9465787c38a859","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"101de6cdc75642166e9465787c38a859"} device-1 | {"level":"info","message":"GET /devices/3db4d64c-cfad-4180-827f-1c5c8c9de415? 200 17ms","method":"GET","requestID":"101de6cdc75642166e9465787c38a859","responseTime":17,"status":200,"url":"/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/3db4d64c-cfad-4180-827f-1c5c8c9de415? 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":"101de6cdc75642166e9465787c38a859"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0","level":"info","message":"auth send jwt","requestID":"619ea6fc045e2f86b56c3b01b27c69d5"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"619ea6fc045e2f86b56c3b01b27c69d5","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"619ea6fc045e2f86b56c3b01b27c69d5"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":524,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":524,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.873615,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2727f3c8-5855-4630-bf54-1e981129d0c9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"619ea6fc045e2f86b56c3b01b27c69d5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2727f3c8-5855-4630-bf54-1e981129d0c9","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072533,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"619ea6fc045e2f86b56c3b01b27c69d5","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2727f3c8-5855-4630-bf54-1e981129d0c9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2727f3c8-5855-4630-bf54-1e981129d0c9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:31.125180522Z"}]},"request_id":"1decaaa4-7f52-4f57-ba9b-45f5ced4a5ba","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.2811868} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"619ea6fc045e2f86b56c3b01b27c69d5","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"619ea6fc045e2f86b56c3b01b27c69d5"} gateway-1 | {"time_local":"16/Oct/2024:09:55:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/2727f3c8-5855-4630-bf54-1e981129d0c9? 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":"619ea6fc045e2f86b56c3b01b27c69d5"} device-1 | {"level":"info","message":"GET /devices/2727f3c8-5855-4630-bf54-1e981129d0c9? 200 18ms","method":"GET","requestID":"619ea6fc045e2f86b56c3b01b27c69d5","responseTime":18,"status":200,"url":"/devices/2727f3c8-5855-4630-bf54-1e981129d0c9?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0","level":"info","message":"auth send jwt","requestID":"d42def4f3b33ff34a0de13fef6629b61"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"d42def4f3b33ff34a0de13fef6629b61","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"d42def4f3b33ff34a0de13fef6629b61"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":525,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":525,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.256141,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d42def4f3b33ff34a0de13fef6629b61","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072533,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d42def4f3b33ff34a0de13fef6629b61","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1f87e862-740d-4221-a88b-2be1aace99d7"},"level":"info","message":"Attempting to run experiment","requestID":"d42def4f3b33ff34a0de13fef6629b61"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1f87e862-740d-4221-a88b-2be1aace99d7"},"level":"info","message":"Attempting to book experiment","requestID":"d42def4f3b33ff34a0de13fef6629b61"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1f87e862-740d-4221-a88b-2be1aace99d7"},"level":"info","message":"Successfully booked experiment","requestID":"d42def4f3b33ff34a0de13fef6629b61"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c8e9aef0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c8e9fd10-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":526,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":526,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.849125,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":527,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c8e9aef0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072533,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"c8e9aef0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":527,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.765051,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2727f3c8-5855-4630-bf54-1e981129d0c9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c8e9fd10-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2727f3c8-5855-4630-bf54-1e981129d0c9","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072533,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"c8e9fd10-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3db4d64c-cfad-4180-827f-1c5c8c9de415","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3db4d64c-cfad-4180-827f-1c5c8c9de415","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:31.080077591Z"}]},"request_id":"aeaed510-ef3b-485b-83af-7ecd227d2f4c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.3572767} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"c8e9aef0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2727f3c8-5855-4630-bf54-1e981129d0c9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2727f3c8-5855-4630-bf54-1e981129d0c9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:31.125180522Z"}]},"request_id":"2f8a0cf2-306b-4c9e-aca4-d6dbd446ff50","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.3589826} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"c8e9fd10-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c8e9aef0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/3db4d64c-cfad-4180-827f-1c5c8c9de415? 200 23ms","method":"GET","requestID":"c8e9aef0-8ba4-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c8e9fd10-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/2727f3c8-5855-4630-bf54-1e981129d0c9? 200 22ms","method":"GET","requestID":"c8e9fd10-8ba4-11ef-a62f-5f7f958aa687","responseTime":22,"status":200,"url":"/devices/2727f3c8-5855-4630-bf54-1e981129d0c9?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1f87e862-740d-4221-a88b-2be1aace99d7"},"level":"info","message":"Setting up experiment","requestID":"d42def4f3b33ff34a0de13fef6629b61"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1f87e862-740d-4221-a88b-2be1aace99d7"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"d42def4f3b33ff34a0de13fef6629b61"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1f87e862-740d-4221-a88b-2be1aace99d7"},"level":"info","message":"Successfully locked booking for experiment","requestID":"d42def4f3b33ff34a0de13fef6629b61"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1f87e862-740d-4221-a88b-2be1aace99d7"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"d42def4f3b33ff34a0de13fef6629b61"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1f87e862-740d-4221-a88b-2be1aace99d7"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"d42def4f3b33ff34a0de13fef6629b61"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1f87e862-740d-4221-a88b-2be1aace99d7"},"level":"info","message":"Attempting to update booking for experiment","requestID":"d42def4f3b33ff34a0de13fef6629b61"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1f87e862-740d-4221-a88b-2be1aace99d7"},"level":"info","message":"Successfully updated booking for experiment","requestID":"d42def4f3b33ff34a0de13fef6629b61"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1f87e862-740d-4221-a88b-2be1aace99d7"},"level":"info","message":"Successfully set up experiment","requestID":"d42def4f3b33ff34a0de13fef6629b61"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c8f63210-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c8f68030-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c8f6f560-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1f87e862-740d-4221-a88b-2be1aace99d7"},"level":"info","message":"Successfully running experiment","requestID":"d42def4f3b33ff34a0de13fef6629b61"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":528,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":528,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.011632,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":529,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c8f63210-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072533,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"c8f63210-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":529,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.405843,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"client_addr":"127.0.0.1:59252","level":"info","msg":"Received request.","req_id":530,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2727f3c8-5855-4630-bf54-1e981129d0c9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c8f68030-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2727f3c8-5855-4630-bf54-1e981129d0c9","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072533,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0"} authorization-1 | {"level":"info","message":"POST /authorize 200 13ms","method":"POST","requestID":"c8f68030-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59252","level":"info","msg":"Sent response.","req_id":530,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.707855,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3db4d64c-cfad-4180-827f-1c5c8c9de415","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0a1e045a-dcc8-4b97-af99-2756daee05a4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.441712} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c8f6f560-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415","object_type":"device","rebac_allow":false,"scope_allow":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":"c8f6f560-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3db4d64c-cfad-4180-827f-1c5c8c9de415","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3db4d64c-cfad-4180-827f-1c5c8c9de415","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:31.080077591Z"}]},"request_id":"f1164e48-8ae9-4d57-9986-3aa44bf2aec8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.4467072} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c8f6f560-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/3db4d64c-cfad-4180-827f-1c5c8c9de415/signaling 200 23ms","method":"POST","requestID":"c8f6f560-8ba4-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 11ms","method":"POST","requestID":"c8f63210-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2727f3c8-5855-4630-bf54-1e981129d0c9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2727f3c8-5855-4630-bf54-1e981129d0c9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:31.125180522Z"}]},"request_id":"80e2ce18-63c5-46cc-87c8-b4fb88bc93a8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.4525354} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"c8f68030-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c8fbb050-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1f87e862-740d-4221-a88b-2be1aace99d7#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1f87e862-740d-4221-a88b-2be1aace99d7","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"63d975e7-b0ab-4679-9113-57eb97eca2c1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.4635904} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c8f63210-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/3db4d64c-cfad-4180-827f-1c5c8c9de415? 200 41ms","method":"GET","requestID":"c8f63210-8ba4-11ef-a62f-5f7f958aa687","responseTime":41,"status":200,"url":"/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"77a6af95-b8ac-466d-bbd1-39e3f6990ee1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.463995} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c8f68030-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 29ms","method":"POST","requestID":"d42def4f3b33ff34a0de13fef6629b61","responseTime":29,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":531,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} device-1 | {"level":"info","message":"GET /devices/2727f3c8-5855-4630-bf54-1e981129d0c9? 200 41ms","method":"GET","requestID":"c8f68030-8ba4-11ef-a62f-5f7f958aa687","responseTime":41,"status":200,"url":"/devices/2727f3c8-5855-4630-bf54-1e981129d0c9?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2727f3c8-5855-4630-bf54-1e981129d0c9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e1fc65cd-c92b-4768-aafd-544f3f8e1727","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.468438} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":531,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.490255,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2727f3c8-5855-4630-bf54-1e981129d0c9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c8fbb050-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2727f3c8-5855-4630-bf54-1e981129d0c9","object_type":"device","rebac_allow":false,"scope_allow":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":"c8fbb050-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c8fbb050-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/2727f3c8-5855-4630-bf54-1e981129d0c9/signaling 200 14ms","method":"POST","requestID":"c8fbb050-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/2727f3c8-5855-4630-bf54-1e981129d0c9/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c8fe2150-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":532,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/1f87e862-740d-4221-a88b-2be1aace99d7","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"d42def4f3b33ff34a0de13fef6629b61"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.195","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d42def4f3b33ff34a0de13fef6629b61"} experiment-1 | {"level":"info","message":"POST /experiments? 201 189ms","method":"POST","requestID":"d42def4f3b33ff34a0de13fef6629b61","responseTime":189,"status":201,"url":"/experiments?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3db4d64c-cfad-4180-827f-1c5c8c9de415","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fda17b24-0873-4f3d-b842-5fff89511d05","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.4844615} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":532,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.28694,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c8fe2150-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415","object_type":"device","rebac_allow":false,"scope_allow":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":"c8fe2150-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0","level":"info","message":"auth send jwt","requestID":"df3ee0aaf43d25c11b84a294e0403db7"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"df3ee0aaf43d25c11b84a294e0403db7","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c8fe2150-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/3db4d64c-cfad-4180-827f-1c5c8c9de415/signaling 200 14ms","method":"POST","requestID":"c8fe2150-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"df3ee0aaf43d25c11b84a294e0403db7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c9009250-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":533,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":533,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.217299,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"df3ee0aaf43d25c11b84a294e0403db7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072533,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"df3ee0aaf43d25c11b84a294e0403db7","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":534,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2727f3c8-5855-4630-bf54-1e981129d0c9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2873dcde-310f-4a81-af20-8910a2386db3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.498805} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":534,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.055456,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2727f3c8-5855-4630-bf54-1e981129d0c9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c9009250-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2727f3c8-5855-4630-bf54-1e981129d0c9","object_type":"device","rebac_allow":false,"scope_allow":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":"c9009250-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3db4d64c-cfad-4180-827f-1c5c8c9de415","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3db4d64c-cfad-4180-827f-1c5c8c9de415","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:31.080077591Z"}]},"request_id":"a0c55273-ec85-4fff-9ff6-307cac005e38","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.501233} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"df3ee0aaf43d25c11b84a294e0403db7","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c9009250-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/2727f3c8-5855-4630-bf54-1e981129d0c9/signaling 200 13ms","method":"POST","requestID":"c9009250-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/2727f3c8-5855-4630-bf54-1e981129d0c9/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"df3ee0aaf43d25c11b84a294e0403db7"} gateway-1 | {"time_local":"16/Oct/2024:09:55:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/3db4d64c-cfad-4180-827f-1c5c8c9de415? 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":"df3ee0aaf43d25c11b84a294e0403db7"} device-1 | {"level":"info","message":"GET /devices/3db4d64c-cfad-4180-827f-1c5c8c9de415? 200 16ms","method":"GET","requestID":"df3ee0aaf43d25c11b84a294e0403db7","responseTime":16,"status":200,"url":"/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1f87e862-740d-4221-a88b-2be1aace99d7"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"d42def4f3b33ff34a0de13fef6629b61"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c9030350-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c9032a60-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0","level":"info","message":"auth send jwt","requestID":"da7322f6ec09f9b33343d8fb8e974fcb"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"da7322f6ec09f9b33343d8fb8e974fcb","responseTime":4,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":535,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":536,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":535,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.197173,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"da7322f6ec09f9b33343d8fb8e974fcb"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c9030350-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072533,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c9030350-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":536,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.021499,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2727f3c8-5855-4630-bf54-1e981129d0c9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c9032a60-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2727f3c8-5855-4630-bf54-1e981129d0c9","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072533,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c9032a60-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":537,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":537,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.146766,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2727f3c8-5855-4630-bf54-1e981129d0c9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"da7322f6ec09f9b33343d8fb8e974fcb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2727f3c8-5855-4630-bf54-1e981129d0c9","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072533,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"da7322f6ec09f9b33343d8fb8e974fcb","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3db4d64c-cfad-4180-827f-1c5c8c9de415","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3db4d64c-cfad-4180-827f-1c5c8c9de415","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:31.080077591Z"}]},"request_id":"2c9bddf5-b8f5-4d89-8d90-a13f45a5c4dd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.5191329} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2727f3c8-5855-4630-bf54-1e981129d0c9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2727f3c8-5855-4630-bf54-1e981129d0c9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:31.125180522Z"}]},"request_id":"aa5c1480-f6ed-4bb6-a08d-7b36c92f641a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.52048} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"c9030350-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c9032a60-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2727f3c8-5855-4630-bf54-1e981129d0c9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2727f3c8-5855-4630-bf54-1e981129d0c9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:31.125180522Z"}]},"request_id":"a37e4e1b-596f-4317-b09b-64caa362cf01","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.5250418} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c9030350-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"da7322f6ec09f9b33343d8fb8e974fcb","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/3db4d64c-cfad-4180-827f-1c5c8c9de415? 200 19ms","method":"GET","requestID":"c9030350-8ba4-11ef-a62f-5f7f958aa687","responseTime":19,"status":200,"url":"/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c9032a60-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/2727f3c8-5855-4630-bf54-1e981129d0c9? 200 20ms","method":"GET","requestID":"c9032a60-8ba4-11ef-a62f-5f7f958aa687","responseTime":20,"status":200,"url":"/devices/2727f3c8-5855-4630-bf54-1e981129d0c9?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1f87e862-740d-4221-a88b-2be1aace99d7"},"level":"info","message":"Building connection plan","requestID":"d42def4f3b33ff34a0de13fef6629b61"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"fb70930e-57f7-4d9b-86b2-a07bde71c97d"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"7d68b23d-9462-4580-af0b-d316d5bdede6"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/file","uuid":"b90a5fc9-72a2-422e-be1c-924952e1bb92"}]},"level":"info","message":"Built pairwise service configurations","requestID":"d42def4f3b33ff34a0de13fef6629b61"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"da7322f6ec09f9b33343d8fb8e974fcb"} gateway-1 | {"time_local":"16/Oct/2024:09:55:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/2727f3c8-5855-4630-bf54-1e981129d0c9? 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":"da7322f6ec09f9b33343d8fb8e974fcb"} device-1 | {"level":"info","message":"GET /devices/2727f3c8-5855-4630-bf54-1e981129d0c9? 200 20ms","method":"GET","requestID":"da7322f6ec09f9b33343d8fb8e974fcb","responseTime":20,"status":200,"url":"/devices/2727f3c8-5855-4630-bf54-1e981129d0c9?"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"c906acd0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"c906acd0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"POST /rooms 201 2ms","method":"POST","requestID":"c906acd0-8ba4-11ef-a042-213954f0282b","responseTime":2,"status":201,"url":"/rooms"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216?id=74e0f066-e53d-41cc-9732-4a45dd122c49","ws://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216?id=6f7cb898-69a8-414a-b114-9df826fe2e2d"]},"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/3db4d64c-cfad-4180-827f-1c5c8c9de415"},{"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/2727f3c8-5855-4630-bf54-1e981129d0c9"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"d42def4f3b33ff34a0de13fef6629b61"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"c9079730-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":538,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":538,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.956043,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c9079730-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072533,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c9079730-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"03b7a1c2-2d42-4473-bb12-f69555760d43","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.5557563} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"10633afe-adb7-4317-a9ed-e533f23a4d18","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.5559373} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"c9079730-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"c9079730-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"c9079730-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/8d70a9dd-315e-4544-afa7-6ffe9e4d14bd'","requestID":"c9079730-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/8d70a9dd-315e-4544-afa7-6ffe9e4d14bd'","requestID":"c9079730-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"c9079730-8ba4-11ef-a62f-5f7f958aa687"} 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":"c9079730-8ba4-11ef-a62f-5f7f958aa687","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":"c9079730-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/8d70a9dd-315e-4544-afa7-6ffe9e4d14bd' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"8d70a9dd-315e-4544-afa7-6ffe9e4d14bd","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"c90e4df0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\"","requestID":"c90e4df0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"c90e4df0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"c90e9c10-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"19f62e2a03c07eb6571090ada37c1289","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"Starting forwarding-queue for participant \"74e0f066-e53d-41cc-9732-4a45dd122c49\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\"","requestID":"c90e9c10-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"c90e9c10-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"19f62e2a03c07eb6571090ada37c1289","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":["websocket"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"new","url":"http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415"},{"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/2727f3c8-5855-4630-bf54-1e981129d0c9"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/8d70a9dd-315e-4544-afa7-6ffe9e4d14bd"}}},"level":"info","message":"received a callback","requestID":"19f62e2a03c07eb6571090ada37c1289"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} device-1 | {"data":{"peerconnection":"8d70a9dd-315e-4544-afa7-6ffe9e4d14bd","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 14ms","method":"POST","requestID":"19f62e2a03c07eb6571090ada37c1289","responseTime":14,"status":200,"url":"/callbacks/experiment"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.021","http_referrer":"","http_user_agent":"node-fetch","requestID":"19f62e2a03c07eb6571090ada37c1289"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} device-1 | {"data":{"peerconnection":"8d70a9dd-315e-4544-afa7-6ffe9e4d14bd","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 \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1f87e862-740d-4221-a88b-2be1aace99d7"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"d42def4f3b33ff34a0de13fef6629b61"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c9132ff0-8ba4-11ef-a62f-5f7f958aa687"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":539,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3db4d64c-cfad-4180-827f-1c5c8c9de415","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a1db3a77-db6a-42f2-a444-808816ffd2ac","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.6206753} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":539,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.891779,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c9132ff0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"c9132ff0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/8d70a9dd-315e-4544-afa7-6ffe9e4d14bd' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"8d70a9dd-315e-4544-afa7-6ffe9e4d14bd","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c9132ff0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/3db4d64c-cfad-4180-827f-1c5c8c9de415/signaling 200 17ms","method":"POST","requestID":"c9132ff0-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415/signaling"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"07b2c38cdd420028be29ae37a70208c8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"07b2c38cdd420028be29ae37a70208c8","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c9166440-8ba4-11ef-a62f-5f7f958aa687"} 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/3db4d64c-cfad-4180-827f-1c5c8c9de415"},{"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/2727f3c8-5855-4630-bf54-1e981129d0c9"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/8d70a9dd-315e-4544-afa7-6ffe9e4d14bd"}}},"level":"info","message":"received a callback","requestID":"07b2c38cdd420028be29ae37a70208c8"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":540,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2727f3c8-5855-4630-bf54-1e981129d0c9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"21f394a3-09fa-4ae4-9fd5-bdba1da10cf9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.640676} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":540,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.498285,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2727f3c8-5855-4630-bf54-1e981129d0c9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c9166440-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2727f3c8-5855-4630-bf54-1e981129d0c9","object_type":"device","rebac_allow":false,"scope_allow":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":"c9166440-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"c9174ea0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":541,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c9166440-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F8d70a9dd-315e-4544-afa7-6ffe9e4d14bd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"64746375-876b-4ac7-8333-14822000de01","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.64643} device-1 | {"level":"info","message":"POST /devices/2727f3c8-5855-4630-bf54-1e981129d0c9/signaling 200 10ms","method":"POST","requestID":"c9166440-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/2727f3c8-5855-4630-bf54-1e981129d0c9/signaling"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":541,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.230495,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/8d70a9dd-315e-4544-afa7-6ffe9e4d14bd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c9174ea0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/8d70a9dd-315e-4544-afa7-6ffe9e4d14bd","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":"c9174ea0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"c9174ea0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/8d70a9dd-315e-4544-afa7-6ffe9e4d14bd 200 8ms","method":"GET","requestID":"c9174ea0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/peerconnections/8d70a9dd-315e-4544-afa7-6ffe9e4d14bd"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 27ms","method":"POST","requestID":"07b2c38cdd420028be29ae37a70208c8","responseTime":27,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.031","http_referrer":"","http_user_agent":"node-fetch","requestID":"07b2c38cdd420028be29ae37a70208c8"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c91aaa00-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":542,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3db4d64c-cfad-4180-827f-1c5c8c9de415","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"98b5eb7f-9b65-411a-81e1-cb2d4235a98e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.6691382} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":542,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.565241,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c91aaa00-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415","object_type":"device","rebac_allow":false,"scope_allow":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":"c91aaa00-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c91aaa00-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/3db4d64c-cfad-4180-827f-1c5c8c9de415/signaling 200 10ms","method":"POST","requestID":"c91aaa00-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c91c7ec0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":543,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2727f3c8-5855-4630-bf54-1e981129d0c9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3bd8ccdc-92e8-4366-b026-2c43eb750881","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.680309} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":543,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.429642,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2727f3c8-5855-4630-bf54-1e981129d0c9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c91c7ec0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2727f3c8-5855-4630-bf54-1e981129d0c9","object_type":"device","rebac_allow":false,"scope_allow":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":"c91c7ec0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c91c7ec0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/2727f3c8-5855-4630-bf54-1e981129d0c9/signaling 200 8ms","method":"POST","requestID":"c91c7ec0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/2727f3c8-5855-4630-bf54-1e981129d0c9/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0","level":"info","message":"auth send jwt","requestID":"e530e9e6e116d3745b4e78e0f4a5113f"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e530e9e6e116d3745b4e78e0f4a5113f","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/1f87e862-740d-4221-a88b-2be1aace99d7","requestID":"e530e9e6e116d3745b4e78e0f4a5113f"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":544,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":544,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.292084,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/1f87e862-740d-4221-a88b-2be1aace99d7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e530e9e6e116d3745b4e78e0f4a5113f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/1f87e862-740d-4221-a88b-2be1aace99d7","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072533,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e530e9e6e116d3745b4e78e0f4a5113f","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/1f87e862-740d-4221-a88b-2be1aace99d7","requestID":"e530e9e6e116d3745b4e78e0f4a5113f"} gateway-1 | {"time_local":"16/Oct/2024:09:55:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/1f87e862-740d-4221-a88b-2be1aace99d7 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":"e530e9e6e116d3745b4e78e0f4a5113f"} experiment-1 | {"level":"info","message":"GET /experiments/1f87e862-740d-4221-a88b-2be1aace99d7 200 15ms","method":"GET","requestID":"e530e9e6e116d3745b4e78e0f4a5113f","responseTime":15,"status":200,"url":"/experiments/1f87e862-740d-4221-a88b-2be1aace99d7"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0","level":"info","message":"auth send jwt","requestID":"116be46faaf667afca69e8369d23ab1b"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"116be46faaf667afca69e8369d23ab1b","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/1f87e862-740d-4221-a88b-2be1aace99d7","requestID":"116be46faaf667afca69e8369d23ab1b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":545,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":545,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.238134,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/1f87e862-740d-4221-a88b-2be1aace99d7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"116be46faaf667afca69e8369d23ab1b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/1f87e862-740d-4221-a88b-2be1aace99d7","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072533,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"116be46faaf667afca69e8369d23ab1b","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1f87e862-740d-4221-a88b-2be1aace99d7"},"level":"info","message":"Attempting to finish experiment","requestID":"116be46faaf667afca69e8369d23ab1b"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"c93277c0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":546,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":546,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.214906,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/8d70a9dd-315e-4544-afa7-6ffe9e4d14bd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c93277c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/8d70a9dd-315e-4544-afa7-6ffe9e4d14bd","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072533,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"c93277c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:55:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/8507135b-d338-4226-9684-c9b937a38216?id=6f7cb898-69a8-414a-b114-9df826fe2e2d HTTP/1.1","status": "101","body_bytes_sent":"940747","request_time":"0.256","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"c16eae2ef3299e4538947e0cc80ff6db"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" from room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\", code: 1006, reason: "} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/8d70a9dd-315e-4544-afa7-6ffe9e4d14bd","device":"3db4d64c-cfad-4180-827f-1c5c8c9de415","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} gateway-1 | {"time_local":"16/Oct/2024:09:55:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/8507135b-d338-4226-9684-c9b937a38216?id=74e0f066-e53d-41cc-9732-4a45dd122c49 HTTP/1.1","status": "101","body_bytes_sent":"2","request_time":"0.256","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"9d6bc803d55c9288b3f41a1429be336c"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/8d70a9dd-315e-4544-afa7-6ffe9e4d14bd' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/8d70a9dd-315e-4544-afa7-6ffe9e4d14bd' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"8d70a9dd-315e-4544-afa7-6ffe9e4d14bd","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"74e0f066-e53d-41cc-9732-4a45dd122c49\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"74e0f066-e53d-41cc-9732-4a45dd122c49\" from room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\", code: 1005, reason: "} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"95407d44de9508a7ed87e537c10bc75c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F8d70a9dd-315e-4544-afa7-6ffe9e4d14bd': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F8d70a9dd-315e-4544-afa7-6ffe9e4d14bd","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"2bcb7a9c-4269-49eb-a3f1-2734591368fc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.8430283} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"95407d44de9508a7ed87e537c10bc75c","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ed245631-820c-4fa6-b276-78e7ad703b41","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.8432477} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"03eea6e808c6cc57dab571a1a4f167df","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/3db4d64c-cfad-4180-827f-1c5c8c9de415"},{"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/2727f3c8-5855-4630-bf54-1e981129d0c9"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/8d70a9dd-315e-4544-afa7-6ffe9e4d14bd"}}},"level":"info","message":"received a callback","requestID":"95407d44de9508a7ed87e537c10bc75c"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"03eea6e808c6cc57dab571a1a4f167df","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"c93277c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/relations/update"} 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/3db4d64c-cfad-4180-827f-1c5c8c9de415"},{"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/2727f3c8-5855-4630-bf54-1e981129d0c9"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/8d70a9dd-315e-4544-afa7-6ffe9e4d14bd"}}},"level":"info","message":"received a callback","requestID":"03eea6e808c6cc57dab571a1a4f167df"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"c93277c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/8d70a9dd-315e-4544-afa7-6ffe9e4d14bd 204 42ms","method":"DELETE","requestID":"c93277c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":42,"status":204,"url":"/peerconnections/8d70a9dd-315e-4544-afa7-6ffe9e4d14bd"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415'"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1f87e862-740d-4221-a88b-2be1aace99d7"},"level":"info","message":"Successfully finished experiment","requestID":"116be46faaf667afca69e8369d23ab1b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c93c62d0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":547,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3db4d64c-cfad-4180-827f-1c5c8c9de415","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"db8caeaf-c2eb-4759-a22f-25de912bc392","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.8935397} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":547,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.020639,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c93c62d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415","object_type":"device","rebac_allow":false,"scope_allow":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":"c93c62d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c93c62d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/3db4d64c-cfad-4180-827f-1c5c8c9de415/signaling 200 16ms","method":"POST","requestID":"c93c62d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/3db4d64c-cfad-4180-827f-1c5c8c9de415/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1f87e862-740d-4221-a88b-2be1aace99d7': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1f87e862-740d-4221-a88b-2be1aace99d7","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"6c900db8-c65d-4a46-894d-0b7a2f1c5168","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.903118} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c411f366-c77b-4009-bbb9-93ecb2e47954","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.9036975} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"c93f7010-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"116be46faaf667afca69e8369d23ab1b","responseTime":23,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":548,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2727f3c8-5855-4630-bf54-1e981129d0c9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c9a11f4a-5945-4a29-94e4-b9db54f0b486","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072533.911558} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":548,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.325726,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2727f3c8-5855-4630-bf54-1e981129d0c9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c93f7010-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2727f3c8-5855-4630-bf54-1e981129d0c9","object_type":"device","rebac_allow":false,"scope_allow":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":"c93f7010-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"c93f7010-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/2727f3c8-5855-4630-bf54-1e981129d0c9/signaling 200 13ms","method":"POST","requestID":"c93f7010-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/2727f3c8-5855-4630-bf54-1e981129d0c9/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/1f87e862-740d-4221-a88b-2be1aace99d7","requestID":"116be46faaf667afca69e8369d23ab1b"} gateway-1 | {"time_local":"16/Oct/2024:09:55:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/1f87e862-740d-4221-a88b-2be1aace99d7 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.180","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"116be46faaf667afca69e8369d23ab1b"} gateway-1 | {"time_local":"16/Oct/2024:09:55:33 +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.300","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"72297d0bd0edc2f317c2ad74f9858f82"} experiment-1 | {"level":"info","message":"DELETE /experiments/1f87e862-740d-4221-a88b-2be1aace99d7 204 176ms","method":"DELETE","requestID":"116be46faaf667afca69e8369d23ab1b","responseTime":176,"status":204,"url":"/experiments/1f87e862-740d-4221-a88b-2be1aace99d7"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 138ms","method":"POST","requestID":"95407d44de9508a7ed87e537c10bc75c","responseTime":138,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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":"95407d44de9508a7ed87e537c10bc75c"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 137ms","method":"POST","requestID":"03eea6e808c6cc57dab571a1a4f167df","responseTime":137,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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":"03eea6e808c6cc57dab571a1a4f167df"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0","level":"info","message":"auth send jwt","requestID":"17414795d583eb336c1f4ddd1938db79"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"17414795d583eb336c1f4ddd1938db79","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"17414795d583eb336c1f4ddd1938db79"} gateway-1 | {"time_local":"16/Oct/2024:09:55:33 +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.843","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"5edd4dc32f7650f67f33a25e34a8a950"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":549,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":549,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.780101,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:33Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"17414795d583eb336c1f4ddd1938db79","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072533,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzM30.dYG67v38wZ_f3-CmsHj_xF6fofjf7RUDWr0_eoubkz0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"17414795d583eb336c1f4ddd1938db79","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/2727f3c8-5855-4630-bf54-1e981129d0c9' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01ce6c9f-41ee-4b80-9897-e2f407e8a30a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"f215dc07-b817-42a9-a589-e97ebd6fe582","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072534.0066092} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"17414795d583eb336c1f4ddd1938db79","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/3db4d64c-cfad-4180-827f-1c5c8c9de415' 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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3a1df069-88c4-4858-8f07-a6733718393b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072534.012095} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"17414795d583eb336c1f4ddd1938db79","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01ce6c9f-41ee-4b80-9897-e2f407e8a30a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"5b1537a9-6c41-4372-a1b2-0d44c2becfac","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072534.0237374} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"338097c7-e719-41a2-953a-bfb93479267d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072534.0240247} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"17414795d583eb336c1f4ddd1938db79","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01ce6c9f-41ee-4b80-9897-e2f407e8a30a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01ce6c9f-41ee-4b80-9897-e2f407e8a30a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:34.023707295Z"}]},"request_id":"54f8e488-ee61-4f4f-925d-4d64e854aeb4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072534.028161} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"17414795d583eb336c1f4ddd1938db79","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"17414795d583eb336c1f4ddd1938db79"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.049","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"17414795d583eb336c1f4ddd1938db79"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"17414795d583eb336c1f4ddd1938db79","responseTime":43,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNH0.v2stZF-AXaH3V4CBTiKKi5Fm2V-J02lEgSKapGsuBIQ","level":"info","message":"auth send jwt","requestID":"c6fc97434d4f1ef630e1010ebdd5d9ea"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"c6fc97434d4f1ef630e1010ebdd5d9ea","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"c6fc97434d4f1ef630e1010ebdd5d9ea"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":550,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:34Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":550,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.728027,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:34Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c6fc97434d4f1ef630e1010ebdd5d9ea","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072534,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNH0.v2stZF-AXaH3V4CBTiKKi5Fm2V-J02lEgSKapGsuBIQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c6fc97434d4f1ef630e1010ebdd5d9ea","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3f12fb2-5fce-47c0-99de-0d337f88e528","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"e8cf69ae-3e4f-4db6-ac84-dabff2e71983","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072534.0568562} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"c6fc97434d4f1ef630e1010ebdd5d9ea","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5160b69d-2398-4681-a0c3-adbbb7bda47c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072534.061515} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"c6fc97434d4f1ef630e1010ebdd5d9ea","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3f12fb2-5fce-47c0-99de-0d337f88e528","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"4b3fdd2a-bdf9-46db-9863-8255e9b48190","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072534.0727317} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5cf5a2a6-2cd6-41c9-942a-4dbab3fd0b6c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072534.0733707} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"c6fc97434d4f1ef630e1010ebdd5d9ea","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3f12fb2-5fce-47c0-99de-0d337f88e528","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3f12fb2-5fce-47c0-99de-0d337f88e528","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:34.072708904Z"}]},"request_id":"0e8a52ba-03d5-4341-b831-72d89c425c36","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072534.0775576} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"c6fc97434d4f1ef630e1010ebdd5d9ea","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"c6fc97434d4f1ef630e1010ebdd5d9ea"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c6fc97434d4f1ef630e1010ebdd5d9ea"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"c6fc97434d4f1ef630e1010ebdd5d9ea","responseTime":45,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNH0.v2stZF-AXaH3V4CBTiKKi5Fm2V-J02lEgSKapGsuBIQ","level":"info","message":"auth send jwt","requestID":"572605786bca685c99f72dc899f08c77"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"572605786bca685c99f72dc899f08c77","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"572605786bca685c99f72dc899f08c77"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":551,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:34Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":551,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.137423,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:34Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"572605786bca685c99f72dc899f08c77","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072534,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNH0.v2stZF-AXaH3V4CBTiKKi5Fm2V-J02lEgSKapGsuBIQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"572605786bca685c99f72dc899f08c77","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01ce6c9f-41ee-4b80-9897-e2f407e8a30a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01ce6c9f-41ee-4b80-9897-e2f407e8a30a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:34.023707295Z"}]},"request_id":"31106540-8af4-4018-868d-c7ee026c52de","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072534.5737627} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"572605786bca685c99f72dc899f08c77","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"71213400-e76e-4bf0-8162-0b2b49d1fe8f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072534.580732} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"572605786bca685c99f72dc899f08c77","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01ce6c9f-41ee-4b80-9897-e2f407e8a30a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01ce6c9f-41ee-4b80-9897-e2f407e8a30a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:34.023707295Z"}]},"request_id":"c7d88e19-889e-4996-9475-39f0b7e7a27c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072534.593518} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"572605786bca685c99f72dc899f08c77","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"572605786bca685c99f72dc899f08c77"} device-1 | {"level":"info","message":"PATCH /devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a 200 36ms","method":"PATCH","requestID":"572605786bca685c99f72dc899f08c77","responseTime":36,"status":200,"url":"/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a"} gateway-1 | {"time_local":"16/Oct/2024:09:55:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.041","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"572605786bca685c99f72dc899f08c77"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNH0.v2stZF-AXaH3V4CBTiKKi5Fm2V-J02lEgSKapGsuBIQ","level":"info","message":"auth send jwt","requestID":"e3caf4f8ac1871b6b38b20a9d6527912"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e3caf4f8ac1871b6b38b20a9d6527912","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"e3caf4f8ac1871b6b38b20a9d6527912"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":552,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:34Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":552,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.489791,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:34Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e3caf4f8ac1871b6b38b20a9d6527912","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072534,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNH0.v2stZF-AXaH3V4CBTiKKi5Fm2V-J02lEgSKapGsuBIQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e3caf4f8ac1871b6b38b20a9d6527912","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"e3caf4f8ac1871b6b38b20a9d6527912"} gateway-1 | {"time_local":"16/Oct/2024:09:55:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a/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.10","requestID":"e3caf4f8ac1871b6b38b20a9d6527912"} device-1 | {"level":"info","message":"POST /devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a/websocket 200 19ms","method":"POST","requestID":"e3caf4f8ac1871b6b38b20a9d6527912","responseTime":19,"status":200,"url":"/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2524090f96eebcf5ee50bc7968211cad","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"2524090f96eebcf5ee50bc7968211cad","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/a3f12fb2-5fce-47c0-99de-0d337f88e528/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":"2524090f96eebcf5ee50bc7968211cad"} device-1 | {"level":"info","message":"OPTIONS /devices/a3f12fb2-5fce-47c0-99de-0d337f88e528/websocket 200 1ms","method":"OPTIONS","requestID":"2524090f96eebcf5ee50bc7968211cad","responseTime":1,"status":200,"url":"/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNn0.aHkhktuEMe9D37Hp6XEaCiWZkiLd81sSNClWhhnsIXc","level":"info","message":"auth send jwt","requestID":"7d03567686bb192034cdf60d76c634c1"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"7d03567686bb192034cdf60d76c634c1","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"7d03567686bb192034cdf60d76c634c1"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":553,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":553,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.277757,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"7d03567686bb192034cdf60d76c634c1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072536,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNn0.aHkhktuEMe9D37Hp6XEaCiWZkiLd81sSNClWhhnsIXc"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"7d03567686bb192034cdf60d76c634c1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"7d03567686bb192034cdf60d76c634c1"} device-1 | {"level":"info","message":"POST /devices/a3f12fb2-5fce-47c0-99de-0d337f88e528/websocket 200 25ms","method":"POST","requestID":"7d03567686bb192034cdf60d76c634c1","responseTime":25,"status":200,"url":"/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:55:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/a3f12fb2-5fce-47c0-99de-0d337f88e528/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":"7d03567686bb192034cdf60d76c634c1"} device-1 | {"level":"info","message":"device 'http://localhost/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"cf4ccf2dfdb3a8af410f439f35eef8b5","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"cf4ccf2dfdb3a8af410f439f35eef8b5","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/a3f12fb2-5fce-47c0-99de-0d337f88e528? 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":"cf4ccf2dfdb3a8af410f439f35eef8b5"} device-1 | {"level":"info","message":"OPTIONS /devices/a3f12fb2-5fce-47c0-99de-0d337f88e528? 200 1ms","method":"OPTIONS","requestID":"cf4ccf2dfdb3a8af410f439f35eef8b5","responseTime":1,"status":200,"url":"/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNn0.aHkhktuEMe9D37Hp6XEaCiWZkiLd81sSNClWhhnsIXc","level":"info","message":"auth send jwt","requestID":"13e644a2348dd2d0099dfc83817c4c1c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"13e644a2348dd2d0099dfc83817c4c1c","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"13e644a2348dd2d0099dfc83817c4c1c"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":554,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":554,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.32417,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"13e644a2348dd2d0099dfc83817c4c1c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072536,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNn0.aHkhktuEMe9D37Hp6XEaCiWZkiLd81sSNClWhhnsIXc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"13e644a2348dd2d0099dfc83817c4c1c","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3f12fb2-5fce-47c0-99de-0d337f88e528","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3f12fb2-5fce-47c0-99de-0d337f88e528","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:34.072708904Z"}]},"request_id":"f2fabcda-c05d-4ebb-99fd-54f9419fbbf3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072536.1928592} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"13e644a2348dd2d0099dfc83817c4c1c","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"efee09d4-7642-42e3-a89d-ee7861f7f2fc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072536.20304} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"13e644a2348dd2d0099dfc83817c4c1c","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3f12fb2-5fce-47c0-99de-0d337f88e528","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3f12fb2-5fce-47c0-99de-0d337f88e528","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:34.072708904Z"}]},"request_id":"f5544748-ad50-4a42-9d01-1fdd1a04af16","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072536.2122135} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"13e644a2348dd2d0099dfc83817c4c1c","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"13e644a2348dd2d0099dfc83817c4c1c"} gateway-1 | {"time_local":"16/Oct/2024:09:55:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/a3f12fb2-5fce-47c0-99de-0d337f88e528? HTTP/1.1","status": "200","body_bytes_sent":"1007","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":"13e644a2348dd2d0099dfc83817c4c1c"} device-1 | {"level":"info","message":"PATCH /devices/a3f12fb2-5fce-47c0-99de-0d337f88e528? 200 42ms","method":"PATCH","requestID":"13e644a2348dd2d0099dfc83817c4c1c","responseTime":42,"status":200,"url":"/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNn0.aHkhktuEMe9D37Hp6XEaCiWZkiLd81sSNClWhhnsIXc","level":"info","message":"auth send jwt","requestID":"ca12ed105832268f328a0a907b9ef028"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"ca12ed105832268f328a0a907b9ef028","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ca12ed105832268f328a0a907b9ef028"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":555,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":555,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.797378,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ca12ed105832268f328a0a907b9ef028","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072536,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNn0.aHkhktuEMe9D37Hp6XEaCiWZkiLd81sSNClWhhnsIXc"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"ca12ed105832268f328a0a907b9ef028","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01ce6c9f-41ee-4b80-9897-e2f407e8a30a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01ce6c9f-41ee-4b80-9897-e2f407e8a30a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:34.023707295Z"}]},"request_id":"678adf34-1acf-487c-9682-9985289a7888","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072536.2502294} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"ca12ed105832268f328a0a907b9ef028","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ca12ed105832268f328a0a907b9ef028"} device-1 | {"level":"info","message":"GET /devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a? 200 23ms","method":"GET","requestID":"ca12ed105832268f328a0a907b9ef028","responseTime":23,"status":200,"url":"/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.031","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ca12ed105832268f328a0a907b9ef028"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNn0.aHkhktuEMe9D37Hp6XEaCiWZkiLd81sSNClWhhnsIXc","level":"info","message":"auth send jwt","requestID":"cbcd5cd70b72039409aaacb1775d5647"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"cbcd5cd70b72039409aaacb1775d5647","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cbcd5cd70b72039409aaacb1775d5647"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":556,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":556,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.255744,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cbcd5cd70b72039409aaacb1775d5647","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072536,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNn0.aHkhktuEMe9D37Hp6XEaCiWZkiLd81sSNClWhhnsIXc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"cbcd5cd70b72039409aaacb1775d5647","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3f12fb2-5fce-47c0-99de-0d337f88e528","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3f12fb2-5fce-47c0-99de-0d337f88e528","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:34.072708904Z"}]},"request_id":"d98c16fd-6ff8-4096-a9fd-30ac9b06954b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072536.2755275} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"cbcd5cd70b72039409aaacb1775d5647","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cbcd5cd70b72039409aaacb1775d5647"} device-1 | {"level":"info","message":"GET /devices/a3f12fb2-5fce-47c0-99de-0d337f88e528? 200 19ms","method":"GET","requestID":"cbcd5cd70b72039409aaacb1775d5647","responseTime":19,"status":200,"url":"/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a3f12fb2-5fce-47c0-99de-0d337f88e528? 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":"cbcd5cd70b72039409aaacb1775d5647"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNn0.aHkhktuEMe9D37Hp6XEaCiWZkiLd81sSNClWhhnsIXc","level":"info","message":"auth send jwt","requestID":"11b7b70f203ad376555dea1293274a0b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"11b7b70f203ad376555dea1293274a0b","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"11b7b70f203ad376555dea1293274a0b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":557,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":557,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.294062,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"11b7b70f203ad376555dea1293274a0b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072536,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNn0.aHkhktuEMe9D37Hp6XEaCiWZkiLd81sSNClWhhnsIXc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"11b7b70f203ad376555dea1293274a0b","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2"},"level":"info","message":"Attempting to run experiment","requestID":"11b7b70f203ad376555dea1293274a0b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2"},"level":"info","message":"Attempting to book experiment","requestID":"11b7b70f203ad376555dea1293274a0b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2"},"level":"info","message":"Successfully booked experiment","requestID":"11b7b70f203ad376555dea1293274a0b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cab212e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cab239f0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":558,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":558,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.097723,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":559,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cab212e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072536,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNn0.aHkhktuEMe9D37Hp6XEaCiWZkiLd81sSNClWhhnsIXc"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"cab212e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":559,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.654258,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cab239f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072536,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNn0.aHkhktuEMe9D37Hp6XEaCiWZkiLd81sSNClWhhnsIXc"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"cab239f0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01ce6c9f-41ee-4b80-9897-e2f407e8a30a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01ce6c9f-41ee-4b80-9897-e2f407e8a30a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:34.023707295Z"}]},"request_id":"d7305660-a50f-467e-813b-5f831274079b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072536.3498297} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"cab212e0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3f12fb2-5fce-47c0-99de-0d337f88e528","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3f12fb2-5fce-47c0-99de-0d337f88e528","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:34.072708904Z"}]},"request_id":"6fd5cbe5-da01-45db-a8e5-b76a9d5ee4c4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072536.3515337} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"cab239f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cab212e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a? 200 25ms","method":"GET","requestID":"cab212e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":25,"status":200,"url":"/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cab239f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/a3f12fb2-5fce-47c0-99de-0d337f88e528? 200 25ms","method":"GET","requestID":"cab239f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":25,"status":200,"url":"/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2"},"level":"info","message":"Setting up experiment","requestID":"11b7b70f203ad376555dea1293274a0b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"11b7b70f203ad376555dea1293274a0b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2"},"level":"info","message":"Successfully locked booking for experiment","requestID":"11b7b70f203ad376555dea1293274a0b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"11b7b70f203ad376555dea1293274a0b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"11b7b70f203ad376555dea1293274a0b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2"},"level":"info","message":"Attempting to update booking for experiment","requestID":"11b7b70f203ad376555dea1293274a0b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2"},"level":"info","message":"Successfully updated booking for experiment","requestID":"11b7b70f203ad376555dea1293274a0b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2"},"level":"info","message":"Successfully set up experiment","requestID":"11b7b70f203ad376555dea1293274a0b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cabdf9c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cabe6ef0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cabee420-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2"},"level":"info","message":"Successfully running experiment","requestID":"11b7b70f203ad376555dea1293274a0b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":560,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":560,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.794725,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":561,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cabdf9c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072536,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNn0.aHkhktuEMe9D37Hp6XEaCiWZkiLd81sSNClWhhnsIXc"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"cabdf9c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":561,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.77475,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"client_addr":"127.0.0.1:59252","level":"info","msg":"Received request.","req_id":562,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cabe6ef0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072536,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNn0.aHkhktuEMe9D37Hp6XEaCiWZkiLd81sSNClWhhnsIXc"} authorization-1 | {"level":"info","message":"POST /authorize 200 18ms","method":"POST","requestID":"cabe6ef0-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59252","level":"info","msg":"Sent response.","req_id":562,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.545125,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01ce6c9f-41ee-4b80-9897-e2f407e8a30a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d78007a8-d4e5-4f6d-9efc-ade95cac71e1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072536.4326649} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cabee420-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a","object_type":"device","rebac_allow":false,"scope_allow":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":"cabee420-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01ce6c9f-41ee-4b80-9897-e2f407e8a30a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01ce6c9f-41ee-4b80-9897-e2f407e8a30a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:34.023707295Z"}]},"request_id":"b0a584a7-32c2-4a52-8aaf-804d5492954f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072536.4398396} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"cabdf9c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cabee420-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a/signaling 200 27ms","method":"POST","requestID":"cabee420-8ba4-11ef-a62f-5f7f958aa687","responseTime":27,"status":200,"url":"/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cac37800-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3f12fb2-5fce-47c0-99de-0d337f88e528","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3f12fb2-5fce-47c0-99de-0d337f88e528","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:34.072708904Z"}]},"request_id":"1714bf3f-3eec-477b-b885-8e3b15bc4cfa","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072536.4443345} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"cabe6ef0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe7a75631-b9cc-48b4-b198-3544bf7eeaa2#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe7a75631-b9cc-48b4-b198-3544bf7eeaa2","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"406f7485-3916-4adb-b0d9-2e5ffc3ce4c3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072536.4488313} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cabdf9c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a? 200 40ms","method":"GET","requestID":"cabdf9c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":40,"status":200,"url":"/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":563,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4d3160f9-254f-4d10-961c-5017f351a2ce","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072536.4540563} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cabe6ef0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/a3f12fb2-5fce-47c0-99de-0d337f88e528? 200 40ms","method":"GET","requestID":"cabe6ef0-8ba4-11ef-a62f-5f7f958aa687","responseTime":40,"status":200,"url":"/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528?"} authorization-1 | {"level":"info","message":"POST /relations/update 200 28ms","method":"POST","requestID":"11b7b70f203ad376555dea1293274a0b","responseTime":28,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3f12fb2-5fce-47c0-99de-0d337f88e528","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fcd9383b-166e-4881-8582-385b5af84442","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072536.4556248} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":563,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.908494,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cac37800-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528","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":"cac4fea0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"cac37800-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":564,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:36Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cac37800-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/a3f12fb2-5fce-47c0-99de-0d337f88e528/signaling 200 15ms","method":"POST","requestID":"cac37800-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01ce6c9f-41ee-4b80-9897-e2f407e8a30a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4d45ef91-cffc-46ec-9681-1091323a7196","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072536.4648376} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":564,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.118828,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cac4fea0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a","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/e7a75631-b9cc-48b4-b198-3544bf7eeaa2","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"11b7b70f203ad376555dea1293274a0b"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"cac4fea0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:55:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"782","request_time":"0.184","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"11b7b70f203ad376555dea1293274a0b"} experiment-1 | {"level":"info","message":"POST /experiments? 201 179ms","method":"POST","requestID":"11b7b70f203ad376555dea1293274a0b","responseTime":179,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cac4fea0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a/signaling 200 13ms","method":"POST","requestID":"cac4fea0-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNn0.aHkhktuEMe9D37Hp6XEaCiWZkiLd81sSNClWhhnsIXc","level":"info","message":"auth send jwt","requestID":"3df1ad8b29027013e2344e5962a55c2b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cac76fa0-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"3df1ad8b29027013e2344e5962a55c2b","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3df1ad8b29027013e2344e5962a55c2b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":565,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":566,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3f12fb2-5fce-47c0-99de-0d337f88e528","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"27cee881-047d-4005-b740-d6479240cbbc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072536.4796467} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":566,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.90176,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3df1ad8b29027013e2344e5962a55c2b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072536,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNn0.aHkhktuEMe9D37Hp6XEaCiWZkiLd81sSNClWhhnsIXc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3df1ad8b29027013e2344e5962a55c2b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":565,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.923042,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cac76fa0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528","object_type":"device","rebac_allow":false,"scope_allow":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":"cac76fa0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cac76fa0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/a3f12fb2-5fce-47c0-99de-0d337f88e528/signaling 200 13ms","method":"POST","requestID":"cac76fa0-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528/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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01ce6c9f-41ee-4b80-9897-e2f407e8a30a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01ce6c9f-41ee-4b80-9897-e2f407e8a30a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:34.023707295Z"}]},"request_id":"186b4c89-514b-47e6-8f64-9b942629eab8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072536.4874542} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"11b7b70f203ad376555dea1293274a0b"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"3df1ad8b29027013e2344e5962a55c2b","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"caca07b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"caca2ec0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3df1ad8b29027013e2344e5962a55c2b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":567,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":568,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:36Z"} gateway-1 | {"time_local":"16/Oct/2024:09:55:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.027","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3df1ad8b29027013e2344e5962a55c2b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":567,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.521702,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:36Z"} device-1 | {"level":"info","message":"GET /devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a? 200 20ms","method":"GET","requestID":"3df1ad8b29027013e2344e5962a55c2b","responseTime":20,"status":200,"url":"/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"caca07b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072536,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNn0.aHkhktuEMe9D37Hp6XEaCiWZkiLd81sSNClWhhnsIXc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"caca07b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":568,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.250231,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"caca2ec0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072536,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNn0.aHkhktuEMe9D37Hp6XEaCiWZkiLd81sSNClWhhnsIXc"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"caca2ec0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNn0.aHkhktuEMe9D37Hp6XEaCiWZkiLd81sSNClWhhnsIXc","level":"info","message":"auth send jwt","requestID":"4c6ee0e70a16b7e4791d547e3b3a410e"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"4c6ee0e70a16b7e4791d547e3b3a410e","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4c6ee0e70a16b7e4791d547e3b3a410e"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01ce6c9f-41ee-4b80-9897-e2f407e8a30a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01ce6c9f-41ee-4b80-9897-e2f407e8a30a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:34.023707295Z"}]},"request_id":"c5e942fc-38fa-4abc-8438-3a49d5439f73","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072536.5027897} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"caca07b0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3f12fb2-5fce-47c0-99de-0d337f88e528","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3f12fb2-5fce-47c0-99de-0d337f88e528","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:34.072708904Z"}]},"request_id":"0a72972f-80d3-4cf9-b12c-3e3224e118ae","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072536.5042837} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"caca2ec0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":569,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":569,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.082876,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"4c6ee0e70a16b7e4791d547e3b3a410e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072536,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNn0.aHkhktuEMe9D37Hp6XEaCiWZkiLd81sSNClWhhnsIXc"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"caca07b0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4c6ee0e70a16b7e4791d547e3b3a410e","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"GET /devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a? 200 17ms","method":"GET","requestID":"caca07b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"caca2ec0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/a3f12fb2-5fce-47c0-99de-0d337f88e528? 200 20ms","method":"GET","requestID":"caca2ec0-8ba4-11ef-a62f-5f7f958aa687","responseTime":20,"status":200,"url":"/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3f12fb2-5fce-47c0-99de-0d337f88e528","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3f12fb2-5fce-47c0-99de-0d337f88e528","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:34.072708904Z"}]},"request_id":"2f6f610c-10a8-41cf-9004-5d9e62ee2398","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072536.5125194} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2"},"level":"info","message":"Building connection plan","requestID":"11b7b70f203ad376555dea1293274a0b"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"95acdd7b-9f6c-4a47-aae3-04aef9aa3785"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"f512d47b-0948-4160-b302-a377d6bd3546"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/file","uuid":"ed1cb56d-877e-4372-9df6-60e4d8db70d6"}]},"level":"info","message":"Built pairwise service configurations","requestID":"11b7b70f203ad376555dea1293274a0b"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4c6ee0e70a16b7e4791d547e3b3a410e","responseTime":3,"status":200,"url":"/relations/query"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"cacd8a20-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"cacd8a20-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"POST /rooms 201 2ms","method":"POST","requestID":"cacd8a20-8ba4-11ef-a042-213954f0282b","responseTime":2,"status":201,"url":"/rooms"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4c6ee0e70a16b7e4791d547e3b3a410e"} gateway-1 | {"time_local":"16/Oct/2024:09:55:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a3f12fb2-5fce-47c0-99de-0d337f88e528? 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":"4c6ee0e70a16b7e4791d547e3b3a410e"} device-1 | {"level":"info","message":"GET /devices/a3f12fb2-5fce-47c0-99de-0d337f88e528? 200 15ms","method":"GET","requestID":"4c6ee0e70a16b7e4791d547e3b3a410e","responseTime":15,"status":200,"url":"/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528?"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c?id=e7fc9cab-8de4-42fe-a60d-e229a237a614","ws://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c?id=a27a082b-a657-4ff0-b5a6-1d90811737f8"]},"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/01ce6c9f-41ee-4b80-9897-e2f407e8a30a"},{"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/a3f12fb2-5fce-47c0-99de-0d337f88e528"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"11b7b70f203ad376555dea1293274a0b"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"cace2660-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":570,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":570,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.884666,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cace2660-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072536,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNn0.aHkhktuEMe9D37Hp6XEaCiWZkiLd81sSNClWhhnsIXc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"cace2660-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"091fb21b-9fe9-41eb-98c2-3ebef7367ea1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072536.5320153} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"331c4744-7030-4207-9cd7-02db42c1775d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072536.5323536} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"cace2660-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"cace2660-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"cace2660-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/eea805d4-97d3-41e7-a5bf-5ac0780fbd49'","requestID":"cace2660-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/eea805d4-97d3-41e7-a5bf-5ac0780fbd49'","requestID":"cace2660-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"cace2660-8ba4-11ef-a62f-5f7f958aa687"} 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":"cace2660-8ba4-11ef-a62f-5f7f958aa687","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":"cace2660-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/eea805d4-97d3-41e7-a5bf-5ac0780fbd49' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"eea805d4-97d3-41e7-a5bf-5ac0780fbd49","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"cad467f0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"e7fc9cab-8de4-42fe-a60d-e229a237a614\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\"","requestID":"cad467f0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"cad467f0-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"5275fe058f077cbdb0fd22dcffc7780f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"5275fe058f077cbdb0fd22dcffc7780f","responseTime":1,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"cad50430-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\"","requestID":"cad50430-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"cad50430-8ba4-11ef-a042-213954f0282b"} 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":"connecting","url":"http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a"},{"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/a3f12fb2-5fce-47c0-99de-0d337f88e528"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/eea805d4-97d3-41e7-a5bf-5ac0780fbd49"}}},"level":"info","message":"received a callback","requestID":"5275fe058f077cbdb0fd22dcffc7780f"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} device-1 | {"data":{"peerconnection":"eea805d4-97d3-41e7-a5bf-5ac0780fbd49","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 16ms","method":"POST","requestID":"5275fe058f077cbdb0fd22dcffc7780f","responseTime":16,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.020","http_referrer":"","http_user_agent":"node-fetch","requestID":"5275fe058f077cbdb0fd22dcffc7780f"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} device-1 | {"data":{"peerconnection":"eea805d4-97d3-41e7-a5bf-5ac0780fbd49","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"11b7b70f203ad376555dea1293274a0b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cadb6cd0-8ba4-11ef-a62f-5f7f958aa687"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":571,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:36Z"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01ce6c9f-41ee-4b80-9897-e2f407e8a30a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6d8f7fe3-2ea5-4e93-9a4c-e95702209dd6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072536.610965} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":571,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.397286,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cadb6cd0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a","object_type":"device","rebac_allow":false,"scope_allow":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":"cadb6cd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/eea805d4-97d3-41e7-a5bf-5ac0780fbd49' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"eea805d4-97d3-41e7-a5bf-5ac0780fbd49","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cadb6cd0-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"62581178a666f0f50eb5458f426f9709","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"62581178a666f0f50eb5458f426f9709","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"POST /devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a/signaling 200 19ms","method":"POST","requestID":"cadb6cd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":19,"status":200,"url":"/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cadea120-8ba4-11ef-a62f-5f7f958aa687"} 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/01ce6c9f-41ee-4b80-9897-e2f407e8a30a"},{"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/a3f12fb2-5fce-47c0-99de-0d337f88e528"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/eea805d4-97d3-41e7-a5bf-5ac0780fbd49"}}},"level":"info","message":"received a callback","requestID":"62581178a666f0f50eb5458f426f9709"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":572,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3f12fb2-5fce-47c0-99de-0d337f88e528","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4ea1f064-8250-4ad7-bdc9-1b27f8cabebd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072536.6319926} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":572,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.747447,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:36Z"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"cadfb290-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cadea120-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528","object_type":"device","rebac_allow":false,"scope_allow":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":"cadea120-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cadea120-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/a3f12fb2-5fce-47c0-99de-0d337f88e528/signaling 200 16ms","method":"POST","requestID":"cadea120-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528/signaling"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":573,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Feea805d4-97d3-41e7-a5bf-5ac0780fbd49","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0568be19-e971-493f-8e81-5aa5c4dbc57f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072536.6403756} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":573,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.123251,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/eea805d4-97d3-41e7-a5bf-5ac0780fbd49","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cadfb290-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/eea805d4-97d3-41e7-a5bf-5ac0780fbd49","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":"cadfb290-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"cadfb290-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/eea805d4-97d3-41e7-a5bf-5ac0780fbd49 200 19ms","method":"GET","requestID":"cadfb290-8ba4-11ef-a62f-5f7f958aa687","responseTime":19,"status":200,"url":"/peerconnections/eea805d4-97d3-41e7-a5bf-5ac0780fbd49"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 44ms","method":"POST","requestID":"62581178a666f0f50eb5458f426f9709","responseTime":44,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.049","http_referrer":"","http_user_agent":"node-fetch","requestID":"62581178a666f0f50eb5458f426f9709"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cae57ef0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":574,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01ce6c9f-41ee-4b80-9897-e2f407e8a30a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3f60ce67-3d81-4d7a-8dab-1aef47647107","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072536.676507} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":574,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.788896,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cae57ef0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a","object_type":"device","rebac_allow":false,"scope_allow":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":"cae57ef0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cae57ef0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a/signaling 200 11ms","method":"POST","requestID":"cae57ef0-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cae77ac0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":575,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3f12fb2-5fce-47c0-99de-0d337f88e528","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fa75889f-c8a2-419e-be7d-95b54c57c9f5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072536.6897755} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":575,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.328863,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cae77ac0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528","object_type":"device","rebac_allow":false,"scope_allow":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":"cae77ac0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cae77ac0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/a3f12fb2-5fce-47c0-99de-0d337f88e528/signaling 200 11ms","method":"POST","requestID":"cae77ac0-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNn0.aHkhktuEMe9D37Hp6XEaCiWZkiLd81sSNClWhhnsIXc","level":"info","message":"auth send jwt","requestID":"a493e016a0b959387495c0ab0b313b58"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a493e016a0b959387495c0ab0b313b58","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2","requestID":"a493e016a0b959387495c0ab0b313b58"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":576,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":576,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.160009,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a493e016a0b959387495c0ab0b313b58","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072536,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzNn0.aHkhktuEMe9D37Hp6XEaCiWZkiLd81sSNClWhhnsIXc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a493e016a0b959387495c0ab0b313b58","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2","requestID":"a493e016a0b959387495c0ab0b313b58"} experiment-1 | {"level":"info","message":"GET /experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2 200 15ms","method":"GET","requestID":"a493e016a0b959387495c0ab0b313b58","responseTime":15,"status":200,"url":"/experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2"} gateway-1 | {"time_local":"16/Oct/2024:09:55:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2 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":"a493e016a0b959387495c0ab0b313b58"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM","level":"info","message":"auth send jwt","requestID":"b6ee89a902fa8c1ec1779c90785dd622"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"b6ee89a902fa8c1ec1779c90785dd622","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2","requestID":"b6ee89a902fa8c1ec1779c90785dd622"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":577,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":577,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.283161,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b6ee89a902fa8c1ec1779c90785dd622","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072537,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b6ee89a902fa8c1ec1779c90785dd622","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2"},"level":"info","message":"Attempting to finish experiment","requestID":"b6ee89a902fa8c1ec1779c90785dd622"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"cb1b0de0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":578,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":578,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.236936,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/eea805d4-97d3-41e7-a5bf-5ac0780fbd49","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cb1b0de0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/eea805d4-97d3-41e7-a5bf-5ac0780fbd49","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072537,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"cb1b0de0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:55:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/eb7df552-d1d8-459b-84da-6fbff223720c?id=e7fc9cab-8de4-42fe-a60d-e229a237a614 HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.486","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"015579b2b1b97447b148646966805f80"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"e7fc9cab-8de4-42fe-a60d-e229a237a614\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"e7fc9cab-8de4-42fe-a60d-e229a237a614\" from room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\", code: 1006, reason: "} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/eea805d4-97d3-41e7-a5bf-5ac0780fbd49","device":"a3f12fb2-5fce-47c0-99de-0d337f88e528","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/eea805d4-97d3-41e7-a5bf-5ac0780fbd49' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/eea805d4-97d3-41e7-a5bf-5ac0780fbd49' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"eea805d4-97d3-41e7-a5bf-5ac0780fbd49","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} gateway-1 | {"time_local":"16/Oct/2024:09:55:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/eb7df552-d1d8-459b-84da-6fbff223720c?id=a27a082b-a657-4ff0-b5a6-1d90811737f8 HTTP/1.1","status": "101","body_bytes_sent":"1203025","request_time":"0.483","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"9cd7d0734da26b72f33cf239a327ec19"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" from room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\", code: 1005, reason: "} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0b3eff7c6cccb1470606fd0c7ef06a92","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"0b3eff7c6cccb1470606fd0c7ef06a92","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7c829eaaf182e10085e5db6577f424b7","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"7c829eaaf182e10085e5db6577f424b7","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":"closed","url":"http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a"},{"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/a3f12fb2-5fce-47c0-99de-0d337f88e528"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/eea805d4-97d3-41e7-a5bf-5ac0780fbd49"}}},"level":"info","message":"received a callback","requestID":"0b3eff7c6cccb1470606fd0c7ef06a92"} 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":"closed","url":"http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a"},{"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/a3f12fb2-5fce-47c0-99de-0d337f88e528"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/eea805d4-97d3-41e7-a5bf-5ac0780fbd49"}}},"level":"info","message":"received a callback","requestID":"7c829eaaf182e10085e5db6577f424b7"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Feea805d4-97d3-41e7-a5bf-5ac0780fbd49': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Feea805d4-97d3-41e7-a5bf-5ac0780fbd49","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"e72dd3b4-d9b3-4b77-94cc-6cfc9aff3604","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072537.0535765} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f3a4b3a4-65ac-4cd8-8905-0e05d11ad8df","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072537.0537345} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"cb1b0de0-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"eea805d4-97d3-41e7-a5bf-5ac0780fbd49","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"cb1b0de0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/eea805d4-97d3-41e7-a5bf-5ac0780fbd49 204 48ms","method":"DELETE","requestID":"cb1b0de0-8ba4-11ef-a62f-5f7f958aa687","responseTime":48,"status":204,"url":"/peerconnections/eea805d4-97d3-41e7-a5bf-5ac0780fbd49"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2"},"level":"info","message":"Successfully finished experiment","requestID":"b6ee89a902fa8c1ec1779c90785dd622"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cb256e20-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":579,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01ce6c9f-41ee-4b80-9897-e2f407e8a30a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c8625089-a9c5-4597-a9fd-9e15ccb44b60","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072537.097295} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":579,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.413802,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cb256e20-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a","object_type":"device","rebac_allow":false,"scope_allow":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":"cb256e20-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cb256e20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a/signaling 200 13ms","method":"POST","requestID":"cb256e20-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe7a75631-b9cc-48b4-b198-3544bf7eeaa2': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe7a75631-b9cc-48b4-b198-3544bf7eeaa2","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"fa4f6f8d-a5a9-4ac0-98b0-a2843134083d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072537.1048174} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"26c2ea19-5d59-4f41-877f-2397f754e4a4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072537.1050794} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cb27df20-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"b6ee89a902fa8c1ec1779c90785dd622","responseTime":18,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":580,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3f12fb2-5fce-47c0-99de-0d337f88e528","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2fcf8e2a-49c1-4122-b382-9ddfc4968f52","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072537.1133165} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":580,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.718989,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cb27df20-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528","object_type":"device","rebac_allow":false,"scope_allow":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":"cb27df20-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cb27df20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/a3f12fb2-5fce-47c0-99de-0d337f88e528/signaling 200 13ms","method":"POST","requestID":"cb27df20-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/a3f12fb2-5fce-47c0-99de-0d337f88e528/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2","requestID":"b6ee89a902fa8c1ec1779c90785dd622"} gateway-1 | {"time_local":"16/Oct/2024:09:55:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2 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":"b6ee89a902fa8c1ec1779c90785dd622"} gateway-1 | {"time_local":"16/Oct/2024:09:55:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1438","request_time":"2.555","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"2343bd175b3b2fd51ed5fca97947ad29"} experiment-1 | {"level":"info","message":"DELETE /experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2 204 172ms","method":"DELETE","requestID":"b6ee89a902fa8c1ec1779c90785dd622","responseTime":172,"status":204,"url":"/experiments/e7a75631-b9cc-48b4-b198-3544bf7eeaa2"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 133ms","method":"POST","requestID":"0b3eff7c6cccb1470606fd0c7ef06a92","responseTime":133,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55:37 +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":"0b3eff7c6cccb1470606fd0c7ef06a92"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 134ms","method":"POST","requestID":"7c829eaaf182e10085e5db6577f424b7","responseTime":134,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55:37 +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":"7c829eaaf182e10085e5db6577f424b7"} gateway-1 | {"time_local":"16/Oct/2024:09:55:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1437","request_time":"1.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":"906821bf704a9f61110cb7834fe142ba"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/01ce6c9f-41ee-4b80-9897-e2f407e8a30a' closed"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM","level":"info","message":"auth send jwt","requestID":"0052eb022bb46624b31178a8051a3493"} authentication-1 | {"level":"info","message":"GET /auth 200 17ms","method":"GET","requestID":"0052eb022bb46624b31178a8051a3493","responseTime":17,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"0052eb022bb46624b31178a8051a3493"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":581,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":581,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.748039,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0052eb022bb46624b31178a8051a3493","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072537,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0052eb022bb46624b31178a8051a3493","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/a3f12fb2-5fce-47c0-99de-0d337f88e528' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb6d4ff63-6696-4e0f-97e4-d3c2c23cde93","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"9b5758a5-d0a7-45ec-a547-821a76b01c24","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072537.213395} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0052eb022bb46624b31178a8051a3493","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fa672a1e-4542-4819-9208-14a90245ed91","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072537.218804} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"0052eb022bb46624b31178a8051a3493","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb6d4ff63-6696-4e0f-97e4-d3c2c23cde93","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"ab0c4493-7182-4a55-86e4-183258d7e268","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072537.228088} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"06ed0401-2d88-4067-a9f2-d00747c37027","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072537.2283127} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"0052eb022bb46624b31178a8051a3493","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb6d4ff63-6696-4e0f-97e4-d3c2c23cde93","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb6d4ff63-6696-4e0f-97e4-d3c2c23cde93","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:37.228065045Z"}]},"request_id":"cf39ebc3-68ab-4951-a7c8-74593a91a76e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072537.2330594} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0052eb022bb46624b31178a8051a3493","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"0052eb022bb46624b31178a8051a3493"} gateway-1 | {"time_local":"16/Oct/2024:09:55:37 +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":"0052eb022bb46624b31178a8051a3493"} device-1 | {"level":"info","message":"POST /devices? 201 37ms","method":"POST","requestID":"0052eb022bb46624b31178a8051a3493","responseTime":37,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM","level":"info","message":"auth send jwt","requestID":"701f1fa85a04186dd762bd20b87aee0f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"701f1fa85a04186dd762bd20b87aee0f","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"701f1fa85a04186dd762bd20b87aee0f"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":582,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":582,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.727517,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"701f1fa85a04186dd762bd20b87aee0f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072537,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"701f1fa85a04186dd762bd20b87aee0f","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F158d3353-bf69-4d8a-af83-f369c671c478","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"a2de4574-b11b-4e31-b39c-1a74c8c660d7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072537.2648032} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"701f1fa85a04186dd762bd20b87aee0f","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7e8131fc-f426-4aa9-a824-26f1f043e750","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072537.2704828} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"701f1fa85a04186dd762bd20b87aee0f","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F158d3353-bf69-4d8a-af83-f369c671c478","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"6b17bd29-cc39-42bc-9bd2-d43514d305a8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072537.2830086} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3fe2ce93-6050-4506-8858-e7f0a1f974c4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072537.2832994} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"701f1fa85a04186dd762bd20b87aee0f","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F158d3353-bf69-4d8a-af83-f369c671c478","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F158d3353-bf69-4d8a-af83-f369c671c478","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:37.282981801Z"}]},"request_id":"db510646-2564-486a-834a-977f0834617a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072537.2875087} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"701f1fa85a04186dd762bd20b87aee0f","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"701f1fa85a04186dd762bd20b87aee0f"} gateway-1 | {"time_local":"16/Oct/2024:09:55:37 +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":"701f1fa85a04186dd762bd20b87aee0f"} device-1 | {"level":"info","message":"POST /devices? 201 48ms","method":"POST","requestID":"701f1fa85a04186dd762bd20b87aee0f","responseTime":48,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM","level":"info","message":"auth send jwt","requestID":"c92e13440ceab65fb0b0941ebab7f931"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"c92e13440ceab65fb0b0941ebab7f931","responseTime":6,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM","level":"info","message":"auth send jwt","requestID":"ad88027d8390fdc534100e3ec3e98ff2"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"ad88027d8390fdc534100e3ec3e98ff2","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"c92e13440ceab65fb0b0941ebab7f931"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"ad88027d8390fdc534100e3ec3e98ff2"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":583,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":583,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.822511,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":584,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/158d3353-bf69-4d8a-af83-f369c671c478","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c92e13440ceab65fb0b0941ebab7f931","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/158d3353-bf69-4d8a-af83-f369c671c478","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072537,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"c92e13440ceab65fb0b0941ebab7f931","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":584,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.796125,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ad88027d8390fdc534100e3ec3e98ff2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072537,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ad88027d8390fdc534100e3ec3e98ff2","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F158d3353-bf69-4d8a-af83-f369c671c478","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F158d3353-bf69-4d8a-af83-f369c671c478","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:37.282981801Z"}]},"request_id":"56227590-7b63-48ea-8eed-e60c20d421f9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072537.769763} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c92e13440ceab65fb0b0941ebab7f931","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb6d4ff63-6696-4e0f-97e4-d3c2c23cde93","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb6d4ff63-6696-4e0f-97e4-d3c2c23cde93","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:37.228065045Z"}]},"request_id":"462b640e-0ed1-460d-9229-96e8fa3298df","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072537.7708924} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ad88027d8390fdc534100e3ec3e98ff2","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"219f980c-d0d3-4379-a721-2cf04239b164","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072537.775599} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"c92e13440ceab65fb0b0941ebab7f931","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6e19a97e-b160-477a-9c84-1bce2c6a60cd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072537.777788} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"ad88027d8390fdc534100e3ec3e98ff2","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb6d4ff63-6696-4e0f-97e4-d3c2c23cde93","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb6d4ff63-6696-4e0f-97e4-d3c2c23cde93","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:37.228065045Z"}]},"request_id":"6fc4d5a1-4694-424a-b7d1-36ceaef52548","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072537.7802067} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ad88027d8390fdc534100e3ec3e98ff2","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"ad88027d8390fdc534100e3ec3e98ff2"} device-1 | {"level":"info","message":"PATCH /devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93 200 26ms","method":"PATCH","requestID":"ad88027d8390fdc534100e3ec3e98ff2","responseTime":26,"status":200,"url":"/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93"} gateway-1 | {"time_local":"16/Oct/2024:09:55:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93 HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.035","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"ad88027d8390fdc534100e3ec3e98ff2"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM","level":"info","message":"auth send jwt","requestID":"8fa9fc6cbb2ee929e8e204afe8a0954e"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8fa9fc6cbb2ee929e8e204afe8a0954e","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"8fa9fc6cbb2ee929e8e204afe8a0954e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":585,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":585,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.634311,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"8fa9fc6cbb2ee929e8e204afe8a0954e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072537,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8fa9fc6cbb2ee929e8e204afe8a0954e","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F158d3353-bf69-4d8a-af83-f369c671c478","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F158d3353-bf69-4d8a-af83-f369c671c478","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:37.282981801Z"}]},"request_id":"e42fc7d5-6d9f-44d8-b8cc-0552d6e0a62f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072537.7929282} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c92e13440ceab65fb0b0941ebab7f931","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"c92e13440ceab65fb0b0941ebab7f931"} gateway-1 | {"time_local":"16/Oct/2024:09:55:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/158d3353-bf69-4d8a-af83-f369c671c478 HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.049","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"c92e13440ceab65fb0b0941ebab7f931"} device-1 | {"level":"info","message":"PATCH /devices/158d3353-bf69-4d8a-af83-f369c671c478 200 42ms","method":"PATCH","requestID":"c92e13440ceab65fb0b0941ebab7f931","responseTime":42,"status":200,"url":"/devices/158d3353-bf69-4d8a-af83-f369c671c478"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM","level":"info","message":"auth send jwt","requestID":"29c70c8e749f4c93decbd0882b826da2"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"29c70c8e749f4c93decbd0882b826da2","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"29c70c8e749f4c93decbd0882b826da2"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":586,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":586,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.910079,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/158d3353-bf69-4d8a-af83-f369c671c478","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"29c70c8e749f4c93decbd0882b826da2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/158d3353-bf69-4d8a-af83-f369c671c478","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072537,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"8fa9fc6cbb2ee929e8e204afe8a0954e"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"29c70c8e749f4c93decbd0882b826da2","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:55:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93/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.10","requestID":"8fa9fc6cbb2ee929e8e204afe8a0954e"} device-1 | {"level":"info","message":"POST /devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93/websocket 200 21ms","method":"POST","requestID":"8fa9fc6cbb2ee929e8e204afe8a0954e","responseTime":21,"status":200,"url":"/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"29c70c8e749f4c93decbd0882b826da2"} device-1 | {"level":"info","message":"POST /devices/158d3353-bf69-4d8a-af83-f369c671c478/websocket 200 17ms","method":"POST","requestID":"29c70c8e749f4c93decbd0882b826da2","responseTime":17,"status":200,"url":"/devices/158d3353-bf69-4d8a-af83-f369c671c478/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:55:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/158d3353-bf69-4d8a-af83-f369c671c478/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.10","requestID":"29c70c8e749f4c93decbd0882b826da2"} device-1 | {"level":"info","message":"device 'http://localhost/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/158d3353-bf69-4d8a-af83-f369c671c478' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM","level":"info","message":"auth send jwt","requestID":"9861f45e76170b66cf1a568d62023858"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9861f45e76170b66cf1a568d62023858","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9861f45e76170b66cf1a568d62023858"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":587,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":587,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.191177,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"9861f45e76170b66cf1a568d62023858","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072537,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9861f45e76170b66cf1a568d62023858","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb6d4ff63-6696-4e0f-97e4-d3c2c23cde93","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb6d4ff63-6696-4e0f-97e4-d3c2c23cde93","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:37.228065045Z"}]},"request_id":"7e44131b-158c-4fab-9e2f-0af121ddfcb0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072537.8575473} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"9861f45e76170b66cf1a568d62023858","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9861f45e76170b66cf1a568d62023858"} gateway-1 | {"time_local":"16/Oct/2024:09:55:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93? 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":"9861f45e76170b66cf1a568d62023858"} device-1 | {"level":"info","message":"GET /devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93? 200 15ms","method":"GET","requestID":"9861f45e76170b66cf1a568d62023858","responseTime":15,"status":200,"url":"/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM","level":"info","message":"auth send jwt","requestID":"880f3725803c840fe2c271a1f25e14a8"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"880f3725803c840fe2c271a1f25e14a8","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"880f3725803c840fe2c271a1f25e14a8"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":588,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":588,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.013118,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/158d3353-bf69-4d8a-af83-f369c671c478","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"880f3725803c840fe2c271a1f25e14a8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/158d3353-bf69-4d8a-af83-f369c671c478","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072537,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"880f3725803c840fe2c271a1f25e14a8","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F158d3353-bf69-4d8a-af83-f369c671c478","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F158d3353-bf69-4d8a-af83-f369c671c478","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:37.282981801Z"}]},"request_id":"033ca0b4-2812-4ffa-850e-8d65d9a15e9a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072537.8816674} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"880f3725803c840fe2c271a1f25e14a8","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"880f3725803c840fe2c271a1f25e14a8"} device-1 | {"level":"info","message":"GET /devices/158d3353-bf69-4d8a-af83-f369c671c478? 200 17ms","method":"GET","requestID":"880f3725803c840fe2c271a1f25e14a8","responseTime":17,"status":200,"url":"/devices/158d3353-bf69-4d8a-af83-f369c671c478?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/158d3353-bf69-4d8a-af83-f369c671c478? 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":"880f3725803c840fe2c271a1f25e14a8"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM","level":"info","message":"auth send jwt","requestID":"072f9b2a75f8f601fbd7b0dae32cfb30"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"072f9b2a75f8f601fbd7b0dae32cfb30","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"072f9b2a75f8f601fbd7b0dae32cfb30"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":589,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":589,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.357617,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"072f9b2a75f8f601fbd7b0dae32cfb30","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072537,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"072f9b2a75f8f601fbd7b0dae32cfb30","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51"},"level":"info","message":"Attempting to run experiment","requestID":"072f9b2a75f8f601fbd7b0dae32cfb30"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51"},"level":"info","message":"Attempting to book experiment","requestID":"072f9b2a75f8f601fbd7b0dae32cfb30"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51"},"level":"info","message":"Successfully booked experiment","requestID":"072f9b2a75f8f601fbd7b0dae32cfb30"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cba6d320-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cba72140-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":590,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":590,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.143645,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cba6d320-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072537,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"cba6d320-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":591,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":591,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.504153,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/158d3353-bf69-4d8a-af83-f369c671c478","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cba72140-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/158d3353-bf69-4d8a-af83-f369c671c478","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072537,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"cba72140-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb6d4ff63-6696-4e0f-97e4-d3c2c23cde93","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb6d4ff63-6696-4e0f-97e4-d3c2c23cde93","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:37.228065045Z"}]},"request_id":"6afce49d-1d04-47ac-9a7b-2e800dda4a72","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072537.9540725} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"cba6d320-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F158d3353-bf69-4d8a-af83-f369c671c478","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F158d3353-bf69-4d8a-af83-f369c671c478","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:37.282981801Z"}]},"request_id":"b1b74df9-8451-4cf7-a38b-0750a95a5f26","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072537.9557269} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"cba72140-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cba6d320-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93? 200 22ms","method":"GET","requestID":"cba6d320-8ba4-11ef-a62f-5f7f958aa687","responseTime":22,"status":200,"url":"/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cba72140-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/158d3353-bf69-4d8a-af83-f369c671c478? 200 21ms","method":"GET","requestID":"cba72140-8ba4-11ef-a62f-5f7f958aa687","responseTime":21,"status":200,"url":"/devices/158d3353-bf69-4d8a-af83-f369c671c478?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51"},"level":"info","message":"Setting up experiment","requestID":"072f9b2a75f8f601fbd7b0dae32cfb30"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"072f9b2a75f8f601fbd7b0dae32cfb30"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51"},"level":"info","message":"Successfully locked booking for experiment","requestID":"072f9b2a75f8f601fbd7b0dae32cfb30"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"072f9b2a75f8f601fbd7b0dae32cfb30"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"072f9b2a75f8f601fbd7b0dae32cfb30"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51"},"level":"info","message":"Attempting to update booking for experiment","requestID":"072f9b2a75f8f601fbd7b0dae32cfb30"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51"},"level":"info","message":"Successfully updated booking for experiment","requestID":"072f9b2a75f8f601fbd7b0dae32cfb30"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51"},"level":"info","message":"Successfully set up experiment","requestID":"072f9b2a75f8f601fbd7b0dae32cfb30"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cbb1f6b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cbb244d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cbb292f0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":592,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":592,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.261371,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":593,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:38Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51"},"level":"info","message":"Successfully running experiment","requestID":"072f9b2a75f8f601fbd7b0dae32cfb30"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cbb1f6b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072537,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"cbb1f6b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":593,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":3.150504,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"client_addr":"127.0.0.1:59252","level":"info","msg":"Received request.","req_id":594,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/158d3353-bf69-4d8a-af83-f369c671c478","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cbb244d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/158d3353-bf69-4d8a-af83-f369c671c478","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072537,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM"} authorization-1 | {"level":"info","message":"POST /authorize 200 14ms","method":"POST","requestID":"cbb244d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59252","level":"info","msg":"Sent response.","req_id":594,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.256339,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb6d4ff63-6696-4e0f-97e4-d3c2c23cde93","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e2cf9399-e37f-442c-a04d-d0acec860c16","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.0276418} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cbb292f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93","object_type":"device","rebac_allow":false,"scope_allow":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":"cbb292f0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb6d4ff63-6696-4e0f-97e4-d3c2c23cde93","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb6d4ff63-6696-4e0f-97e4-d3c2c23cde93","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:37.228065045Z"}]},"request_id":"74bbb159-0cbb-4724-9178-4da221f40f77","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.0343297} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cbb292f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93/signaling 200 27ms","method":"POST","requestID":"cbb292f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":27,"status":200,"url":"/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 12ms","method":"POST","requestID":"cbb1f6b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F158d3353-bf69-4d8a-af83-f369c671c478","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F158d3353-bf69-4d8a-af83-f369c671c478","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:37.282981801Z"}]},"request_id":"e3bfb06d-63e1-4196-8d56-df7d578b557a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.0409799} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"cbb244d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cbb774f0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F0a088aae-4fdc-4d99-b5b7-4e1a30537d51#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F0a088aae-4fdc-4d99-b5b7-4e1a30537d51","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"beb372be-b3c6-48c2-8980-4d91bab2bfca","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.0483215} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c6f3ad87-fa53-4526-95e3-c479e3e6b682","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.0487266} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cbb1f6b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93? 200 41ms","method":"GET","requestID":"cbb1f6b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":41,"status":200,"url":"/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cbb244d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/158d3353-bf69-4d8a-af83-f369c671c478? 200 41ms","method":"GET","requestID":"cbb244d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":41,"status":200,"url":"/devices/158d3353-bf69-4d8a-af83-f369c671c478?"} authorization-1 | {"level":"info","message":"POST /relations/update 200 28ms","method":"POST","requestID":"072f9b2a75f8f601fbd7b0dae32cfb30","responseTime":28,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":595,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F158d3353-bf69-4d8a-af83-f369c671c478","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"449d47ff-fa97-484d-8b33-407742271689","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.0565283} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":595,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.453709,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:38Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cbb922a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/158d3353-bf69-4d8a-af83-f369c671c478","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cbb774f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/158d3353-bf69-4d8a-af83-f369c671c478","object_type":"device","rebac_allow":false,"scope_allow":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":"cbb774f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":596,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:38Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cbb774f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/158d3353-bf69-4d8a-af83-f369c671c478/signaling 200 16ms","method":"POST","requestID":"cbb774f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/158d3353-bf69-4d8a-af83-f369c671c478/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb6d4ff63-6696-4e0f-97e4-d3c2c23cde93","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"abc4b34a-dc20-4b37-8ea3-e8066e04f0a7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.0643332} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":596,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.532444,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:38Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"072f9b2a75f8f601fbd7b0dae32cfb30"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cbb922a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93","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":"16/Oct/2024:09:55:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"786","request_time":"0.178","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"072f9b2a75f8f601fbd7b0dae32cfb30"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"cbb922a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"POST /experiments? 201 173ms","method":"POST","requestID":"072f9b2a75f8f601fbd7b0dae32cfb30","responseTime":173,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cbb922a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93/signaling 200 12ms","method":"POST","requestID":"cbb922a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzOH0.T4TlKnotcMVv_gWbRA6SRfP8W8rzhaCpgHGF1-R79og","level":"info","message":"auth send jwt","requestID":"f9c241e9a084e9cbde2e0239b92d96f3"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"f9c241e9a084e9cbde2e0239b92d96f3","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cbbb6c90-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f9c241e9a084e9cbde2e0239b92d96f3"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":597,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":598,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F158d3353-bf69-4d8a-af83-f369c671c478","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"92a5ae87-ffc1-4a79-9a14-459d02b2e05e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.0791004} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":598,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.066356,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f9c241e9a084e9cbde2e0239b92d96f3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072538,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzOH0.T4TlKnotcMVv_gWbRA6SRfP8W8rzhaCpgHGF1-R79og"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f9c241e9a084e9cbde2e0239b92d96f3","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":597,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.990173,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/158d3353-bf69-4d8a-af83-f369c671c478","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cbbb6c90-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/158d3353-bf69-4d8a-af83-f369c671c478","object_type":"device","rebac_allow":false,"scope_allow":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":"cbbb6c90-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb6d4ff63-6696-4e0f-97e4-d3c2c23cde93","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb6d4ff63-6696-4e0f-97e4-d3c2c23cde93","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:37.228065045Z"}]},"request_id":"d93ad64d-ef29-4d1e-a8eb-9d8068df79a5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.084634} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cbbb6c90-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/158d3353-bf69-4d8a-af83-f369c671c478/signaling 200 12ms","method":"POST","requestID":"cbbb6c90-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/158d3353-bf69-4d8a-af83-f369c671c478/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f9c241e9a084e9cbde2e0239b92d96f3","responseTime":4,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"072f9b2a75f8f601fbd7b0dae32cfb30"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cbbd8f70-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cbbe04a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":599,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:38Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f9c241e9a084e9cbde2e0239b92d96f3"} device-1 | {"level":"info","message":"GET /devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93? 200 17ms","method":"GET","requestID":"f9c241e9a084e9cbde2e0239b92d96f3","responseTime":17,"status":200,"url":"/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93? 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":"f9c241e9a084e9cbde2e0239b92d96f3"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":599,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.947886,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":600,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cbbd8f70-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072537,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"cbbd8f70-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":600,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.882074,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/158d3353-bf69-4d8a-af83-f369c671c478","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cbbe04a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/158d3353-bf69-4d8a-af83-f369c671c478","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072537,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"cbbe04a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzOH0.T4TlKnotcMVv_gWbRA6SRfP8W8rzhaCpgHGF1-R79og","level":"info","message":"auth send jwt","requestID":"e63219fb4d3fa714095c316304dc25ff"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e63219fb4d3fa714095c316304dc25ff","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e63219fb4d3fa714095c316304dc25ff"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb6d4ff63-6696-4e0f-97e4-d3c2c23cde93","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb6d4ff63-6696-4e0f-97e4-d3c2c23cde93","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:37.228065045Z"}]},"request_id":"7ec168f6-463a-4e3f-bf45-d99448aa4c49","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.0991676} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"cbbd8f70-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F158d3353-bf69-4d8a-af83-f369c671c478","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F158d3353-bf69-4d8a-af83-f369c671c478","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:37.282981801Z"}]},"request_id":"d7cb1785-f61a-48ec-96d1-99c059e6fb86","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.1005101} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cbbd8f70-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"cbbe04a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":601,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:38Z"} device-1 | {"level":"info","message":"GET /devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93? 200 16ms","method":"GET","requestID":"cbbd8f70-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":601,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.957274,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/158d3353-bf69-4d8a-af83-f369c671c478","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e63219fb4d3fa714095c316304dc25ff","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/158d3353-bf69-4d8a-af83-f369c671c478","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072538,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzOH0.T4TlKnotcMVv_gWbRA6SRfP8W8rzhaCpgHGF1-R79og"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e63219fb4d3fa714095c316304dc25ff","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cbbe04a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/158d3353-bf69-4d8a-af83-f369c671c478? 200 18ms","method":"GET","requestID":"cbbe04a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/158d3353-bf69-4d8a-af83-f369c671c478?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51"},"level":"info","message":"Building connection plan","requestID":"072f9b2a75f8f601fbd7b0dae32cfb30"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"0a78859d-56d4-4711-ad26-a2a90da10301"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"dadd5211-6580-42ff-ac88-1d23b848e108"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/file","uuid":"f017c83f-62a7-404a-b547-d2e9f93baa02"}]},"level":"info","message":"Built pairwise service configurations","requestID":"072f9b2a75f8f601fbd7b0dae32cfb30"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F158d3353-bf69-4d8a-af83-f369c671c478","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F158d3353-bf69-4d8a-af83-f369c671c478","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:37.282981801Z"}]},"request_id":"90ef9a73-da6c-4551-9771-2b8183385cc7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.1094944} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e63219fb4d3fa714095c316304dc25ff","responseTime":3,"status":200,"url":"/relations/query"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"cbc138f0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"cbc138f0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"cbc138f0-8ba4-11ef-a042-213954f0282b","responseTime":1,"status":201,"url":"/rooms"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e63219fb4d3fa714095c316304dc25ff"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971?id=2fc64565-7b47-44f8-803e-bc85521d6f7a","ws://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971?id=9021379b-921b-4cee-8ba6-195ec4823c4c"]},"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/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93"},{"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/158d3353-bf69-4d8a-af83-f369c671c478"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"072f9b2a75f8f601fbd7b0dae32cfb30"} gateway-1 | {"time_local":"16/Oct/2024:09:55:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/158d3353-bf69-4d8a-af83-f369c671c478? 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":"e63219fb4d3fa714095c316304dc25ff"} device-1 | {"level":"info","message":"GET /devices/158d3353-bf69-4d8a-af83-f369c671c478? 200 14ms","method":"GET","requestID":"e63219fb4d3fa714095c316304dc25ff","responseTime":14,"status":200,"url":"/devices/158d3353-bf69-4d8a-af83-f369c671c478?"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"cbc1ae20-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":602,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":602,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.023851,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cbc1ae20-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072537,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzN30.0p8zqNrimxvlW7xQBoPqJXPw9frYrd-vZGlxfjNwjrM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"cbc1ae20-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"7486c8b3-1230-487e-b89a-fb2ad8afdeb9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.1269026} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7853e776-e965-4d2b-a73f-55a2ae40371e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.1270988} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"cbc1ae20-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"cbc1ae20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"cbc1ae20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/8250daa5-e726-4f7a-ae82-1aeeca945185'","requestID":"cbc1ae20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/8250daa5-e726-4f7a-ae82-1aeeca945185'","requestID":"cbc1ae20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"cbc1ae20-8ba4-11ef-a62f-5f7f958aa687"} 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":"cbc1ae20-8ba4-11ef-a62f-5f7f958aa687","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":"cbc1ae20-8ba4-11ef-a62f-5f7f958aa687"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"cbc72c60-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"2fc64565-7b47-44f8-803e-bc85521d6f7a\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\"","requestID":"cbc72c60-8ba4-11ef-a042-213954f0282b"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/8250daa5-e726-4f7a-ae82-1aeeca945185' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"8250daa5-e726-4f7a-ae82-1aeeca945185","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"cbc72c60-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"cbc75370-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\"","requestID":"cbc75370-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"cbc75370-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2549ec4bd01a7192de3b18cbe88fff30","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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 \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"2549ec4bd01a7192de3b18cbe88fff30","responseTime":1,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} 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":"connecting","url":"http://localhost/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93"},{"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/158d3353-bf69-4d8a-af83-f369c671c478"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/8250daa5-e726-4f7a-ae82-1aeeca945185"}}},"level":"info","message":"received a callback","requestID":"2549ec4bd01a7192de3b18cbe88fff30"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 13ms","method":"POST","requestID":"2549ec4bd01a7192de3b18cbe88fff30","responseTime":13,"status":200,"url":"/callbacks/experiment"} device-1 | {"data":{"peerconnection":"8250daa5-e726-4f7a-ae82-1aeeca945185","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} gateway-1 | {"time_local":"16/Oct/2024:09:55:38 +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":"2549ec4bd01a7192de3b18cbe88fff30"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"072f9b2a75f8f601fbd7b0dae32cfb30"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cbcbc040-8ba4-11ef-a62f-5f7f958aa687"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} device-1 | {"data":{"peerconnection":"8250daa5-e726-4f7a-ae82-1aeeca945185","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":603,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:38Z"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb6d4ff63-6696-4e0f-97e4-d3c2c23cde93","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0c39056d-c1ba-451d-bc00-58a3a18d0e47","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.1852822} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":603,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.978376,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:38Z"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cbcbc040-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93","object_type":"device","rebac_allow":false,"scope_allow":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":"cbcbc040-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/8250daa5-e726-4f7a-ae82-1aeeca945185' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"8250daa5-e726-4f7a-ae82-1aeeca945185","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cbcbc040-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93/signaling 200 20ms","method":"POST","requestID":"cbcbc040-8ba4-11ef-a62f-5f7f958aa687","responseTime":20,"status":200,"url":"/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93/signaling"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e867026fabe30367cc87d67c3db8c7ca","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"e867026fabe30367cc87d67c3db8c7ca","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cbcf1ba0-8ba4-11ef-a62f-5f7f958aa687"} 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/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93"},{"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/158d3353-bf69-4d8a-af83-f369c671c478"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/8250daa5-e726-4f7a-ae82-1aeeca945185"}}},"level":"info","message":"received a callback","requestID":"e867026fabe30367cc87d67c3db8c7ca"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":604,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F158d3353-bf69-4d8a-af83-f369c671c478","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"409745d9-f097-4b1b-9a95-7bd44ef4b95e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.206598} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":604,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.463439,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/158d3353-bf69-4d8a-af83-f369c671c478","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cbcf1ba0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/158d3353-bf69-4d8a-af83-f369c671c478","object_type":"device","rebac_allow":false,"scope_allow":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":"cbcf1ba0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cbcf1ba0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/158d3353-bf69-4d8a-af83-f369c671c478/signaling 200 10ms","method":"POST","requestID":"cbcf1ba0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/158d3353-bf69-4d8a-af83-f369c671c478/signaling"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"cbd0c950-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":605,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F8250daa5-e726-4f7a-ae82-1aeeca945185","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4e45ee6e-95e9-470c-bf26-c796f8c39d65","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.2183468} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":605,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.868992,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/8250daa5-e726-4f7a-ae82-1aeeca945185","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cbd0c950-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/8250daa5-e726-4f7a-ae82-1aeeca945185","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":"cbd0c950-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"cbd0c950-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/8250daa5-e726-4f7a-ae82-1aeeca945185 200 10ms","method":"GET","requestID":"cbd0c950-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/peerconnections/8250daa5-e726-4f7a-ae82-1aeeca945185"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 41ms","method":"POST","requestID":"e867026fabe30367cc87d67c3db8c7ca","responseTime":41,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55:38 +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":"e867026fabe30367cc87d67c3db8c7ca"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cbd58440-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":606,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb6d4ff63-6696-4e0f-97e4-d3c2c23cde93","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"745cfff1-da81-4ebe-ba55-d0c6a7f9c40c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.2484236} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":606,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.441736,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cbd58440-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93","object_type":"device","rebac_allow":false,"scope_allow":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":"cbd58440-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cbd58440-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93/signaling 200 8ms","method":"POST","requestID":"cbd58440-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cbd70ae0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":607,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F158d3353-bf69-4d8a-af83-f369c671c478","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5f07ffa4-4107-424d-a205-b1c541589306","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.258378} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":607,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.001936,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/158d3353-bf69-4d8a-af83-f369c671c478","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cbd70ae0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/158d3353-bf69-4d8a-af83-f369c671c478","object_type":"device","rebac_allow":false,"scope_allow":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":"cbd70ae0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cbd70ae0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/158d3353-bf69-4d8a-af83-f369c671c478/signaling 200 8ms","method":"POST","requestID":"cbd70ae0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/158d3353-bf69-4d8a-af83-f369c671c478/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzOH0.T4TlKnotcMVv_gWbRA6SRfP8W8rzhaCpgHGF1-R79og","level":"info","message":"auth send jwt","requestID":"592842f55a670c0eaf2744024f9a2a68"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"592842f55a670c0eaf2744024f9a2a68","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51","requestID":"592842f55a670c0eaf2744024f9a2a68"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":608,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":608,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.296075,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"592842f55a670c0eaf2744024f9a2a68","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072538,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzOH0.T4TlKnotcMVv_gWbRA6SRfP8W8rzhaCpgHGF1-R79og"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"592842f55a670c0eaf2744024f9a2a68","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51","requestID":"592842f55a670c0eaf2744024f9a2a68"} gateway-1 | {"time_local":"16/Oct/2024:09:55:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51 HTTP/1.1","status": "200","body_bytes_sent":"859","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"592842f55a670c0eaf2744024f9a2a68"} experiment-1 | {"level":"info","message":"GET /experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51 200 18ms","method":"GET","requestID":"592842f55a670c0eaf2744024f9a2a68","responseTime":18,"status":200,"url":"/experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzOH0.T4TlKnotcMVv_gWbRA6SRfP8W8rzhaCpgHGF1-R79og","level":"info","message":"auth send jwt","requestID":"9eb4fd04696596a109e3182f9ecabff3"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"9eb4fd04696596a109e3182f9ecabff3","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51","requestID":"9eb4fd04696596a109e3182f9ecabff3"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":609,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":609,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.564216,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"9eb4fd04696596a109e3182f9ecabff3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072538,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzOH0.T4TlKnotcMVv_gWbRA6SRfP8W8rzhaCpgHGF1-R79og"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"9eb4fd04696596a109e3182f9ecabff3","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51"},"level":"info","message":"Attempting to finish experiment","requestID":"9eb4fd04696596a109e3182f9ecabff3"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"cbeb7d40-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":610,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":610,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.392678,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/8250daa5-e726-4f7a-ae82-1aeeca945185","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cbeb7d40-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/8250daa5-e726-4f7a-ae82-1aeeca945185","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072538,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzOH0.T4TlKnotcMVv_gWbRA6SRfP8W8rzhaCpgHGF1-R79og"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"cbeb7d40-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:55:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/655e71d9-74f7-491d-b49b-f28dd86b1971?id=9021379b-921b-4cee-8ba6-195ec4823c4c HTTP/1.1","status": "101","body_bytes_sent":"1203023","request_time":"0.255","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"b17bea160cbf26ef483e3cb8768a2fc3"} gateway-1 | {"time_local":"16/Oct/2024:09:55:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/655e71d9-74f7-491d-b49b-f28dd86b1971?id=2fc64565-7b47-44f8-803e-bc85521d6f7a HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.256","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"0370f4dd19be2976c2bbddc40969717a"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" from room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\", code: 1006, reason: "} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/8250daa5-e726-4f7a-ae82-1aeeca945185' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/8250daa5-e726-4f7a-ae82-1aeeca945185' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"8250daa5-e726-4f7a-ae82-1aeeca945185","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"2fc64565-7b47-44f8-803e-bc85521d6f7a\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"2fc64565-7b47-44f8-803e-bc85521d6f7a\" from room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\", code: 1006, reason: "} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"8a4f64d08a12ebee75b3365556080bb3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"8a4f64d08a12ebee75b3365556080bb3","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F8250daa5-e726-4f7a-ae82-1aeeca945185': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F8250daa5-e726-4f7a-ae82-1aeeca945185","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"c0a7b721-fba4-4827-b7b2-162e69e91f68","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.4104683} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"12a4fc08c75123813ce24653c4361743","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a9298902-096f-4125-abdd-eebfa2f8174d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.4107382} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"12a4fc08c75123813ce24653c4361743","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":"connected","url":"http://localhost/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93"},{"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/158d3353-bf69-4d8a-af83-f369c671c478"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/8250daa5-e726-4f7a-ae82-1aeeca945185"}}},"level":"info","message":"received a callback","requestID":"8a4f64d08a12ebee75b3365556080bb3"} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"cbeb7d40-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/relations/update"} 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/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93"},{"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/158d3353-bf69-4d8a-af83-f369c671c478"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/8250daa5-e726-4f7a-ae82-1aeeca945185"}}},"level":"info","message":"received a callback","requestID":"12a4fc08c75123813ce24653c4361743"} device-1 | {"data":{"peerconnection":"8250daa5-e726-4f7a-ae82-1aeeca945185","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"cbeb7d40-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/8250daa5-e726-4f7a-ae82-1aeeca945185 204 40ms","method":"DELETE","requestID":"cbeb7d40-8ba4-11ef-a62f-5f7f958aa687","responseTime":40,"status":204,"url":"/peerconnections/8250daa5-e726-4f7a-ae82-1aeeca945185"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51"},"level":"info","message":"Successfully finished experiment","requestID":"9eb4fd04696596a109e3182f9ecabff3"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cbf3e1b0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":611,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb6d4ff63-6696-4e0f-97e4-d3c2c23cde93","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2c99a1e2-e373-43ef-89ca-1695d59e8b5f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.4504204} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":611,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.410659,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cbf3e1b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93","object_type":"device","rebac_allow":false,"scope_allow":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":"cbf3e1b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cbf3e1b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93/signaling 200 12ms","method":"POST","requestID":"cbf3e1b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F0a088aae-4fdc-4d99-b5b7-4e1a30537d51': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F0a088aae-4fdc-4d99-b5b7-4e1a30537d51","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"3347a088-205b-488a-9d36-6d0a6f389738","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.4566574} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7f1991b4-2780-4585-abb3-0030cb41453c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.4568617} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cbf60490-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"9eb4fd04696596a109e3182f9ecabff3","responseTime":17,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":612,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F158d3353-bf69-4d8a-af83-f369c671c478","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"578e0929-0e08-4cd9-b4c1-5a197825ecf8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.464648} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":612,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.325817,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/158d3353-bf69-4d8a-af83-f369c671c478","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cbf60490-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/158d3353-bf69-4d8a-af83-f369c671c478","object_type":"device","rebac_allow":false,"scope_allow":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":"cbf60490-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cbf60490-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/158d3353-bf69-4d8a-af83-f369c671c478/signaling 200 13ms","method":"POST","requestID":"cbf60490-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/158d3353-bf69-4d8a-af83-f369c671c478/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51","requestID":"9eb4fd04696596a109e3182f9ecabff3"} gateway-1 | {"time_local":"16/Oct/2024:09:55:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51 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":"9eb4fd04696596a109e3182f9ecabff3"} gateway-1 | {"time_local":"16/Oct/2024:09:55:38 +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.699","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"7aaad38597cd438683df23c90f77041d"} gateway-1 | {"time_local":"16/Oct/2024:09:55:38 +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.711","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"e835dea9edf7ea4f5a083d57e7eddfea"} experiment-1 | {"level":"info","message":"DELETE /experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51 204 150ms","method":"DELETE","requestID":"9eb4fd04696596a109e3182f9ecabff3","responseTime":150,"status":204,"url":"/experiments/0a088aae-4fdc-4d99-b5b7-4e1a30537d51"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 113ms","method":"POST","requestID":"8a4f64d08a12ebee75b3365556080bb3","responseTime":113,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55:38 +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":"8a4f64d08a12ebee75b3365556080bb3"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 113ms","method":"POST","requestID":"12a4fc08c75123813ce24653c4361743","responseTime":113,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55:38 +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":"12a4fc08c75123813ce24653c4361743"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzOH0.T4TlKnotcMVv_gWbRA6SRfP8W8rzhaCpgHGF1-R79og","level":"info","message":"auth send jwt","requestID":"0c3b1ee7392d8a4d0d4f0c47af7630b8"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0c3b1ee7392d8a4d0d4f0c47af7630b8","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/b6d4ff63-6696-4e0f-97e4-d3c2c23cde93' closed"} device-1 | {"level":"info","message":"postDevices called","requestID":"0c3b1ee7392d8a4d0d4f0c47af7630b8"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":613,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":613,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.863645,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0c3b1ee7392d8a4d0d4f0c47af7630b8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072538,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzOH0.T4TlKnotcMVv_gWbRA6SRfP8W8rzhaCpgHGF1-R79og"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0c3b1ee7392d8a4d0d4f0c47af7630b8","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/158d3353-bf69-4d8a-af83-f369c671c478' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4d57aa46-7a11-41ae-80c8-6f993945b9df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"12012f1f-eb12-4859-97a9-6adfa368efa2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.548578} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0c3b1ee7392d8a4d0d4f0c47af7630b8","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4ef954c3-d00f-443e-9ec0-4114e5632890","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.5538175} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"0c3b1ee7392d8a4d0d4f0c47af7630b8","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4d57aa46-7a11-41ae-80c8-6f993945b9df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"5c7238de-773a-494a-bfa0-306bc8269ee5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.5640595} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f632c0a8-259d-4a50-ba1b-ba2393fd4597","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.5646825} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"0c3b1ee7392d8a4d0d4f0c47af7630b8","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4d57aa46-7a11-41ae-80c8-6f993945b9df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4d57aa46-7a11-41ae-80c8-6f993945b9df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:38.564037404Z"}]},"request_id":"c2ff6b81-7101-4910-a0f5-b7b137b3da74","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.5696993} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0c3b1ee7392d8a4d0d4f0c47af7630b8","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"0c3b1ee7392d8a4d0d4f0c47af7630b8"} device-1 | {"level":"info","message":"POST /devices? 201 42ms","method":"POST","requestID":"0c3b1ee7392d8a4d0d4f0c47af7630b8","responseTime":42,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:38 +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":"0c3b1ee7392d8a4d0d4f0c47af7630b8"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzOH0.T4TlKnotcMVv_gWbRA6SRfP8W8rzhaCpgHGF1-R79og","level":"info","message":"auth send jwt","requestID":"3f78a292d706507a82b968188d88156b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3f78a292d706507a82b968188d88156b","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"3f78a292d706507a82b968188d88156b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":614,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":614,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.794995,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:38Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3f78a292d706507a82b968188d88156b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072538,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjUzOH0.T4TlKnotcMVv_gWbRA6SRfP8W8rzhaCpgHGF1-R79og"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3f78a292d706507a82b968188d88156b","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"a54846de-f4c1-4edd-bb3b-60146c646e30","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.5931098} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3f78a292d706507a82b968188d88156b","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"24fb3b10-9411-47bd-b06c-97030a1d2329","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.5985098} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"3f78a292d706507a82b968188d88156b","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"fe41ae86-25be-4e15-b624-259efaba2a43","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.6154256} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e258a637-3e48-410f-b075-f06de54bdf15","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.6156077} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"3f78a292d706507a82b968188d88156b","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:38.615401127Z"}]},"request_id":"ab05252b-e44b-4e4a-8d1e-73fcf13dd4de","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072538.6212003} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3f78a292d706507a82b968188d88156b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"3f78a292d706507a82b968188d88156b"} gateway-1 | {"time_local":"16/Oct/2024:09:55:38 +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":"3f78a292d706507a82b968188d88156b"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"3f78a292d706507a82b968188d88156b","responseTime":46,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"79515226341df88917f6f92cf1316dcf","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"79515226341df88917f6f92cf1316dcf","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f/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":"79515226341df88917f6f92cf1316dcf"} device-1 | {"level":"info","message":"OPTIONS /devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f/websocket 200 1ms","method":"OPTIONS","requestID":"79515226341df88917f6f92cf1316dcf","responseTime":1,"status":200,"url":"/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MH0.B14jHAx3gsRZkWbeUGYM7YbvEeZy8TM0w1KOVKbGYB0","level":"info","message":"auth send jwt","requestID":"62bf4040d6daa5b87ef5fac70d05ed48"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"62bf4040d6daa5b87ef5fac70d05ed48","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"62bf4040d6daa5b87ef5fac70d05ed48"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":615,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":615,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.981803,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"62bf4040d6daa5b87ef5fac70d05ed48","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072540,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MH0.B14jHAx3gsRZkWbeUGYM7YbvEeZy8TM0w1KOVKbGYB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"62bf4040d6daa5b87ef5fac70d05ed48","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c85be0474d15663375b1ef83c46b137c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"c85be0474d15663375b1ef83c46b137c","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/4d57aa46-7a11-41ae-80c8-6f993945b9df/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":"c85be0474d15663375b1ef83c46b137c"} device-1 | {"level":"info","message":"OPTIONS /devices/4d57aa46-7a11-41ae-80c8-6f993945b9df/websocket 200 1ms","method":"OPTIONS","requestID":"c85be0474d15663375b1ef83c46b137c","responseTime":1,"status":200,"url":"/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MH0.B14jHAx3gsRZkWbeUGYM7YbvEeZy8TM0w1KOVKbGYB0","level":"info","message":"auth send jwt","requestID":"82461ae3f703a31da5b567c22c6374db"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"82461ae3f703a31da5b567c22c6374db","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"82461ae3f703a31da5b567c22c6374db"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"62bf4040d6daa5b87ef5fac70d05ed48"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":616,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:40Z"} device-1 | {"level":"info","message":"POST /devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f/websocket 200 20ms","method":"POST","requestID":"62bf4040d6daa5b87ef5fac70d05ed48","responseTime":20,"status":200,"url":"/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:55:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f/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":"62bf4040d6daa5b87ef5fac70d05ed48"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":616,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.990759,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"82461ae3f703a31da5b567c22c6374db","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072540,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MH0.B14jHAx3gsRZkWbeUGYM7YbvEeZy8TM0w1KOVKbGYB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"82461ae3f703a31da5b567c22c6374db","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"82461ae3f703a31da5b567c22c6374db"} device-1 | {"level":"info","message":"POST /devices/4d57aa46-7a11-41ae-80c8-6f993945b9df/websocket 200 20ms","method":"POST","requestID":"82461ae3f703a31da5b567c22c6374db","responseTime":20,"status":200,"url":"/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:55:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/4d57aa46-7a11-41ae-80c8-6f993945b9df/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.022","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"82461ae3f703a31da5b567c22c6374db"} device-1 | {"level":"info","message":"device 'http://localhost/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0e95d1a7e3fec02e1d17efb1200fc3ab","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"0e95d1a7e3fec02e1d17efb1200fc3ab","responseTime":0,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f? 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":"0e95d1a7e3fec02e1d17efb1200fc3ab"} device-1 | {"level":"info","message":"OPTIONS /devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f? 200 0ms","method":"OPTIONS","requestID":"0e95d1a7e3fec02e1d17efb1200fc3ab","responseTime":0,"status":200,"url":"/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ee493241157371808b6f5e26a073e61e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"ee493241157371808b6f5e26a073e61e","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/4d57aa46-7a11-41ae-80c8-6f993945b9df? 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":"ee493241157371808b6f5e26a073e61e"} device-1 | {"level":"info","message":"OPTIONS /devices/4d57aa46-7a11-41ae-80c8-6f993945b9df? 200 1ms","method":"OPTIONS","requestID":"ee493241157371808b6f5e26a073e61e","responseTime":1,"status":200,"url":"/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MH0.B14jHAx3gsRZkWbeUGYM7YbvEeZy8TM0w1KOVKbGYB0","level":"info","message":"auth send jwt","requestID":"a766bebabaa968c1ae36968a107d5334"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"a766bebabaa968c1ae36968a107d5334","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"a766bebabaa968c1ae36968a107d5334"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":617,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:40Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MH0.B14jHAx3gsRZkWbeUGYM7YbvEeZy8TM0w1KOVKbGYB0","level":"info","message":"auth send jwt","requestID":"f5adb74dec56f4c7ec4e36171026b08b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":617,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.232402,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:40Z"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"f5adb74dec56f4c7ec4e36171026b08b","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a766bebabaa968c1ae36968a107d5334","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072540,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MH0.B14jHAx3gsRZkWbeUGYM7YbvEeZy8TM0w1KOVKbGYB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"a766bebabaa968c1ae36968a107d5334","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"f5adb74dec56f4c7ec4e36171026b08b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":618,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":618,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.718232,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f5adb74dec56f4c7ec4e36171026b08b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072540,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MH0.B14jHAx3gsRZkWbeUGYM7YbvEeZy8TM0w1KOVKbGYB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f5adb74dec56f4c7ec4e36171026b08b","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:38.615401127Z"}]},"request_id":"b5ecdc10-89e7-443c-82a9-3d8056d8ed44","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072540.6560447} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"a766bebabaa968c1ae36968a107d5334","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4d57aa46-7a11-41ae-80c8-6f993945b9df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4d57aa46-7a11-41ae-80c8-6f993945b9df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:38.564037404Z"}]},"request_id":"b10f43e5-5e35-4c37-9c1b-e3317c2a9cbe","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072540.659259} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f5adb74dec56f4c7ec4e36171026b08b","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8e1b0baf-8afe-4763-8484-552ea093f134","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072540.6610641} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"a766bebabaa968c1ae36968a107d5334","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8c92691f-0fc9-452a-84c5-d474c83f715f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072540.6662643} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"f5adb74dec56f4c7ec4e36171026b08b","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:38.615401127Z"}]},"request_id":"d118c168-468a-4bcf-96d1-99e3eb4ed00e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072540.6762576} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a766bebabaa968c1ae36968a107d5334","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"a766bebabaa968c1ae36968a107d5334"} gateway-1 | {"time_local":"16/Oct/2024:09:55:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f? 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":"a766bebabaa968c1ae36968a107d5334"} device-1 | {"level":"info","message":"PATCH /devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f? 200 36ms","method":"PATCH","requestID":"a766bebabaa968c1ae36968a107d5334","responseTime":36,"status":200,"url":"/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4d57aa46-7a11-41ae-80c8-6f993945b9df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4d57aa46-7a11-41ae-80c8-6f993945b9df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:38.564037404Z"}]},"request_id":"ab773223-69f5-4fb3-b794-24f2b3342cbf","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072540.6867898} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"f5adb74dec56f4c7ec4e36171026b08b","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"f5adb74dec56f4c7ec4e36171026b08b"} device-1 | {"level":"info","message":"PATCH /devices/4d57aa46-7a11-41ae-80c8-6f993945b9df? 200 41ms","method":"PATCH","requestID":"f5adb74dec56f4c7ec4e36171026b08b","responseTime":41,"status":200,"url":"/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/4d57aa46-7a11-41ae-80c8-6f993945b9df? 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":"f5adb74dec56f4c7ec4e36171026b08b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MH0.B14jHAx3gsRZkWbeUGYM7YbvEeZy8TM0w1KOVKbGYB0","level":"info","message":"auth send jwt","requestID":"00dc89009748efc0f5d212d380897e6a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"00dc89009748efc0f5d212d380897e6a","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"00dc89009748efc0f5d212d380897e6a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":619,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":619,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.709314,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"00dc89009748efc0f5d212d380897e6a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072540,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MH0.B14jHAx3gsRZkWbeUGYM7YbvEeZy8TM0w1KOVKbGYB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"00dc89009748efc0f5d212d380897e6a","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4d57aa46-7a11-41ae-80c8-6f993945b9df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4d57aa46-7a11-41ae-80c8-6f993945b9df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:38.564037404Z"}]},"request_id":"8e1fc6b1-7c9b-478f-bea2-c1a1c1dc6f82","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072540.710155} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"00dc89009748efc0f5d212d380897e6a","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"00dc89009748efc0f5d212d380897e6a"} gateway-1 | {"time_local":"16/Oct/2024:09:55:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/4d57aa46-7a11-41ae-80c8-6f993945b9df? 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":"00dc89009748efc0f5d212d380897e6a"} device-1 | {"level":"info","message":"GET /devices/4d57aa46-7a11-41ae-80c8-6f993945b9df? 200 14ms","method":"GET","requestID":"00dc89009748efc0f5d212d380897e6a","responseTime":14,"status":200,"url":"/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MH0.B14jHAx3gsRZkWbeUGYM7YbvEeZy8TM0w1KOVKbGYB0","level":"info","message":"auth send jwt","requestID":"c558324b1ecf001acfb57217ef5c196c"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"c558324b1ecf001acfb57217ef5c196c","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c558324b1ecf001acfb57217ef5c196c"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":620,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":620,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.960443,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c558324b1ecf001acfb57217ef5c196c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072540,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MH0.B14jHAx3gsRZkWbeUGYM7YbvEeZy8TM0w1KOVKbGYB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c558324b1ecf001acfb57217ef5c196c","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:38.615401127Z"}]},"request_id":"7dae8d49-8e34-4d0a-af1b-bc1e0f0fa180","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072540.7289474} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c558324b1ecf001acfb57217ef5c196c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c558324b1ecf001acfb57217ef5c196c"} gateway-1 | {"time_local":"16/Oct/2024:09:55:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f? 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":"c558324b1ecf001acfb57217ef5c196c"} device-1 | {"level":"info","message":"GET /devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f? 200 14ms","method":"GET","requestID":"c558324b1ecf001acfb57217ef5c196c","responseTime":14,"status":200,"url":"/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MH0.B14jHAx3gsRZkWbeUGYM7YbvEeZy8TM0w1KOVKbGYB0","level":"info","message":"auth send jwt","requestID":"604fbe23f02cee1764581596e0408c4c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"604fbe23f02cee1764581596e0408c4c","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"604fbe23f02cee1764581596e0408c4c"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":621,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":621,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.123424,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"604fbe23f02cee1764581596e0408c4c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072540,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MH0.B14jHAx3gsRZkWbeUGYM7YbvEeZy8TM0w1KOVKbGYB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"604fbe23f02cee1764581596e0408c4c","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/82d5d289-5e52-4833-8080-239bb8280ac7"},"level":"info","message":"Attempting to run experiment","requestID":"604fbe23f02cee1764581596e0408c4c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/82d5d289-5e52-4833-8080-239bb8280ac7"},"level":"info","message":"Attempting to book experiment","requestID":"604fbe23f02cee1764581596e0408c4c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/82d5d289-5e52-4833-8080-239bb8280ac7"},"level":"info","message":"Successfully booked experiment","requestID":"604fbe23f02cee1764581596e0408c4c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cd591700-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cd593e10-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":622,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":622,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.347932,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cd591700-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072540,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MH0.B14jHAx3gsRZkWbeUGYM7YbvEeZy8TM0w1KOVKbGYB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"cd591700-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":623,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":623,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.241551,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cd593e10-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072540,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MH0.B14jHAx3gsRZkWbeUGYM7YbvEeZy8TM0w1KOVKbGYB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"cd593e10-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4d57aa46-7a11-41ae-80c8-6f993945b9df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4d57aa46-7a11-41ae-80c8-6f993945b9df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:38.564037404Z"}]},"request_id":"cef7b848-a395-4130-ab14-b3941b557f72","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072540.794504} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"cd591700-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:38.615401127Z"}]},"request_id":"36ccac1f-2a75-4190-9d5b-b11a223ffa95","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072540.7966244} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"cd593e10-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cd591700-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/4d57aa46-7a11-41ae-80c8-6f993945b9df? 200 17ms","method":"GET","requestID":"cd591700-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cd593e10-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f? 200 17ms","method":"GET","requestID":"cd593e10-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/82d5d289-5e52-4833-8080-239bb8280ac7"},"level":"info","message":"Setting up experiment","requestID":"604fbe23f02cee1764581596e0408c4c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/82d5d289-5e52-4833-8080-239bb8280ac7"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"604fbe23f02cee1764581596e0408c4c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/82d5d289-5e52-4833-8080-239bb8280ac7"},"level":"info","message":"Successfully locked booking for experiment","requestID":"604fbe23f02cee1764581596e0408c4c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/82d5d289-5e52-4833-8080-239bb8280ac7"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"604fbe23f02cee1764581596e0408c4c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/82d5d289-5e52-4833-8080-239bb8280ac7"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"604fbe23f02cee1764581596e0408c4c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/82d5d289-5e52-4833-8080-239bb8280ac7"},"level":"info","message":"Attempting to update booking for experiment","requestID":"604fbe23f02cee1764581596e0408c4c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/82d5d289-5e52-4833-8080-239bb8280ac7"},"level":"info","message":"Successfully updated booking for experiment","requestID":"604fbe23f02cee1764581596e0408c4c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/82d5d289-5e52-4833-8080-239bb8280ac7"},"level":"info","message":"Successfully set up experiment","requestID":"604fbe23f02cee1764581596e0408c4c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cd6488b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cd64afc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cd64fde0-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/82d5d289-5e52-4833-8080-239bb8280ac7"},"level":"info","message":"Successfully running experiment","requestID":"604fbe23f02cee1764581596e0408c4c"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":624,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":624,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.781183,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":625,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cd6488b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072540,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MH0.B14jHAx3gsRZkWbeUGYM7YbvEeZy8TM0w1KOVKbGYB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"cd6488b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":625,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.048969,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"client_addr":"127.0.0.1:59252","level":"info","msg":"Received request.","req_id":626,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cd64afc0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072540,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MH0.B14jHAx3gsRZkWbeUGYM7YbvEeZy8TM0w1KOVKbGYB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"cd64afc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59252","level":"info","msg":"Sent response.","req_id":626,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.158814,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4d57aa46-7a11-41ae-80c8-6f993945b9df","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8ddbed2d-44a2-43d0-b254-9fe747c40363","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072540.8713553} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cd64fde0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df","object_type":"device","rebac_allow":false,"scope_allow":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":"cd64fde0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4d57aa46-7a11-41ae-80c8-6f993945b9df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4d57aa46-7a11-41ae-80c8-6f993945b9df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:38.564037404Z"}]},"request_id":"21e788b1-faf9-4c60-89b2-699c10786d4d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072540.8734515} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cd64fde0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/4d57aa46-7a11-41ae-80c8-6f993945b9df/signaling 200 16ms","method":"POST","requestID":"cd64fde0-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"cd6488b0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:38.615401127Z"}]},"request_id":"c4af2820-f328-400d-a3e2-3dc8dbb5d3fb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072540.8773484} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"cd64afc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cd67e410-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cd6488b0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":627,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:40Z"} device-1 | {"level":"info","message":"GET /devices/4d57aa46-7a11-41ae-80c8-6f993945b9df? 200 25ms","method":"GET","requestID":"cd6488b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":25,"status":200,"url":"/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cd64afc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f? 200 25ms","method":"GET","requestID":"cd64afc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":25,"status":200,"url":"/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a3b03832-321c-42ed-a4d7-abc44c056e60","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072540.8863568} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cd68ce70-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":627,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.197049,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cd67e410-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","object_type":"device","rebac_allow":false,"scope_allow":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":"cd67e410-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F82d5d289-5e52-4833-8080-239bb8280ac7#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F82d5d289-5e52-4833-8080-239bb8280ac7","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"e29a877d-240e-46b4-823b-3a26339f4698","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072540.8891764} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"df6c3ddb-1eff-40e4-a9b4-091a8951f0be","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072540.8893921} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cd67e410-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f/signaling 200 11ms","method":"POST","requestID":"cd67e410-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 25ms","method":"POST","requestID":"604fbe23f02cee1764581596e0408c4c","responseTime":25,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4d57aa46-7a11-41ae-80c8-6f993945b9df","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"426f50ef-2d65-48b0-9311-ca23c8843447","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072540.8930755} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":628,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":628,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.829942,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cd68ce70-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df","object_type":"device","rebac_allow":false,"scope_allow":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":"cd68ce70-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cd68ce70-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/82d5d289-5e52-4833-8080-239bb8280ac7","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"604fbe23f02cee1764581596e0408c4c"} device-1 | {"level":"info","message":"POST /devices/4d57aa46-7a11-41ae-80c8-6f993945b9df/signaling 200 12ms","method":"POST","requestID":"cd68ce70-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df/signaling"} gateway-1 | {"time_local":"16/Oct/2024:09:55:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1288","request_time":"0.164","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"604fbe23f02cee1764581596e0408c4c"} experiment-1 | {"level":"info","message":"POST /experiments? 201 159ms","method":"POST","requestID":"604fbe23f02cee1764581596e0408c4c","responseTime":159,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cd6b1860-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MH0.B14jHAx3gsRZkWbeUGYM7YbvEeZy8TM0w1KOVKbGYB0","level":"info","message":"auth send jwt","requestID":"922770147af2f6cd6665671bd575374c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"922770147af2f6cd6665671bd575374c","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"922770147af2f6cd6665671bd575374c"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":629,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"14516f42-4137-46c3-8cf1-9de1a2f78b1e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072540.9069993} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":629,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.613471,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":630,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cd6b1860-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","object_type":"device","rebac_allow":false,"scope_allow":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":"cd6b1860-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":630,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.868932,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"922770147af2f6cd6665671bd575374c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072540,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MH0.B14jHAx3gsRZkWbeUGYM7YbvEeZy8TM0w1KOVKbGYB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"922770147af2f6cd6665671bd575374c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cd6b1860-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f/signaling 200 11ms","method":"POST","requestID":"cd6b1860-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/82d5d289-5e52-4833-8080-239bb8280ac7"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"604fbe23f02cee1764581596e0408c4c"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4d57aa46-7a11-41ae-80c8-6f993945b9df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4d57aa46-7a11-41ae-80c8-6f993945b9df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:38.564037404Z"}]},"request_id":"21d3079b-2d13-4f2d-8c29-1c1233cca700","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072540.9154036} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cd6d1430-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"922770147af2f6cd6665671bd575374c","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cd6d3b40-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":631,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":631,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.639432,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":632,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:40Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"922770147af2f6cd6665671bd575374c"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cd6d1430-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072540,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MH0.B14jHAx3gsRZkWbeUGYM7YbvEeZy8TM0w1KOVKbGYB0"} gateway-1 | {"time_local":"16/Oct/2024:09:55:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/4d57aa46-7a11-41ae-80c8-6f993945b9df? 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":"922770147af2f6cd6665671bd575374c"} device-1 | {"level":"info","message":"GET /devices/4d57aa46-7a11-41ae-80c8-6f993945b9df? 200 15ms","method":"GET","requestID":"922770147af2f6cd6665671bd575374c","responseTime":15,"status":200,"url":"/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df?"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"cd6d1430-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":632,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.618777,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cd6d3b40-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072540,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MH0.B14jHAx3gsRZkWbeUGYM7YbvEeZy8TM0w1KOVKbGYB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"cd6d3b40-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4d57aa46-7a11-41ae-80c8-6f993945b9df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4d57aa46-7a11-41ae-80c8-6f993945b9df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:38.564037404Z"}]},"request_id":"1815799a-5d4e-4f2f-b3fa-c25fcd6bde5f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072540.9240015} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MH0.B14jHAx3gsRZkWbeUGYM7YbvEeZy8TM0w1KOVKbGYB0","level":"info","message":"auth send jwt","requestID":"617ee5c1fcc323ab23a1c03ace7bcd8c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"617ee5c1fcc323ab23a1c03ace7bcd8c","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"cd6d1430-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:38.615401127Z"}]},"request_id":"dbf039ba-5ad1-45ee-a4db-55eaa966cfee","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072540.925267} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"617ee5c1fcc323ab23a1c03ace7bcd8c"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"cd6d3b40-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":633,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":633,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.874822,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"617ee5c1fcc323ab23a1c03ace7bcd8c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072540,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MH0.B14jHAx3gsRZkWbeUGYM7YbvEeZy8TM0w1KOVKbGYB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"617ee5c1fcc323ab23a1c03ace7bcd8c","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cd6d1430-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/4d57aa46-7a11-41ae-80c8-6f993945b9df? 200 19ms","method":"GET","requestID":"cd6d1430-8ba4-11ef-a62f-5f7f958aa687","responseTime":19,"status":200,"url":"/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cd6d3b40-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f? 200 19ms","method":"GET","requestID":"cd6d3b40-8ba4-11ef-a62f-5f7f958aa687","responseTime":19,"status":200,"url":"/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:38.615401127Z"}]},"request_id":"55abb067-dc02-47ae-aa33-1ce1eecce942","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072540.935339} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"617ee5c1fcc323ab23a1c03ace7bcd8c","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/82d5d289-5e52-4833-8080-239bb8280ac7"},"level":"info","message":"Building connection plan","requestID":"604fbe23f02cee1764581596e0408c4c"} 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":"c0d44ec4-aefb-4f9e-be07-d06bf65741b8"},{"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":"bc490186-5b88-4f86-8c00-39485b0dca3c"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"f70416da-1e5d-49e3-a250-62af063843b3"}]},"level":"info","message":"Built pairwise service configurations","requestID":"604fbe23f02cee1764581596e0408c4c"} 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/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f"},{"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/4d57aa46-7a11-41ae-80c8-6f993945b9df"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"604fbe23f02cee1764581596e0408c4c"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"cd7096a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"617ee5c1fcc323ab23a1c03ace7bcd8c"} gateway-1 | {"time_local":"16/Oct/2024:09:55:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f? 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":"617ee5c1fcc323ab23a1c03ace7bcd8c"} device-1 | {"level":"info","message":"GET /devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f? 200 14ms","method":"GET","requestID":"617ee5c1fcc323ab23a1c03ace7bcd8c","responseTime":14,"status":200,"url":"/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":634,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":634,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.686573,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cd7096a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072540,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MH0.B14jHAx3gsRZkWbeUGYM7YbvEeZy8TM0w1KOVKbGYB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"cd7096a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"b609e7fc-4c04-4499-b914-00b2aadcda23","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072540.9490693} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7cf60904-a449-4eb1-9fb4-95640d55cbfe","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072540.9492853} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"cd7096a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"cd7096a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"cd7096a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/fa7bac99-8e36-4534-a9d7-fe8df69bcfaa'","requestID":"cd7096a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/fa7bac99-8e36-4534-a9d7-fe8df69bcfaa'","requestID":"cd7096a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"cd7096a0-8ba4-11ef-a62f-5f7f958aa687"} 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":"cd7096a0-8ba4-11ef-a62f-5f7f958aa687","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":"cd7096a0-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/82d5d289-5e52-4833-8080-239bb8280ac7"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"604fbe23f02cee1764581596e0408c4c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cd7837c0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":635,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4d57aa46-7a11-41ae-80c8-6f993945b9df","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"323ec14d-9fe8-4529-8bdc-0c5b43020e26","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072540.992724} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":635,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.194494,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:40Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cd7837c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df","object_type":"device","rebac_allow":false,"scope_allow":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":"cd7837c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cd7837c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/4d57aa46-7a11-41ae-80c8-6f993945b9df/signaling 200 8ms","method":"POST","requestID":"cd7837c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cd79be60-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":636,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:41Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"62998fa8-4c27-43f0-8014-907ac53b38e9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072541.0024366} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":636,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.229934,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cd79be60-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","object_type":"device","rebac_allow":false,"scope_allow":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":"cd79be60-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cd79be60-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f/signaling 200 10ms","method":"POST","requestID":"cd79be60-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f/signaling"} device-1 | {"device":"3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"device":"4d57aa46-7a11-41ae-80c8-6f993945b9df","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"4d57aa46-7a11-41ae-80c8-6f993945b9df","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 4382286080059801074 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:YZDW\r\na=ice-pwd:nMwMOvHAP1nPaHo9ELtgClrS\r\na=ice-options:trickle\r\na=fingerprint:sha-256 B5:8D:AC:CA:B8:C0:E2:89:A8:2B:2F:8E:74:94:B1:38:8D:7B:4C:1F:75:0B:48:F7:34:72:FD:38:75:C3:A0:8F\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"4d57aa46-7a11-41ae-80c8-6f993945b9df","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 1466791560455167317 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:RCKh\r\na=ice-pwd:oRRuPL8qf63gs722Ik2IdMMN\r\na=ice-options:trickle\r\na=fingerprint:sha-256 5B:6D:4B:58:0B:2E:6E:64:1F:77:0F:2C:AE:12:10:44:1A:0A:95:D0:C7:59:2D:6C:70:5D:51:AD:05:88:2C:B9\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:2224537924 1 udp 2113937151 b7abe103-7259-47d0-8096-2c77faffde8f.local 49850 typ host generation 0 ufrag RCKh network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:398221399 1 udp 1677729535 141.24.211.56 49850 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag RCKh network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","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/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f'"} device-1 | {"content":{"candidate":"candidate:633257977 1 udp 2113937151 5576dbb8-48f1-498d-a22a-d74c0580d16c.local 46623 typ host generation 0 ufrag YZDW network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"4d57aa46-7a11-41ae-80c8-6f993945b9df","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2710820230 1 udp 1677729535 141.24.211.56 46623 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag YZDW network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"4d57aa46-7a11-41ae-80c8-6f993945b9df","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/4d57aa46-7a11-41ae-80c8-6f993945b9df'"} device-1 | {"device":"4d57aa46-7a11-41ae-80c8-6f993945b9df","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","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/fa7bac99-8e36-4534-a9d7-fe8df69bcfaa' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"fa7bac99-8e36-4534-a9d7-fe8df69bcfaa","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"4d57aa46-7a11-41ae-80c8-6f993945b9df","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"19517ac7dbbee73de02748c3ca8168c2","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"19517ac7dbbee73de02748c3ca8168c2","responseTime":1,"status":200,"url":"/auth"} device-1 | {"device":"4d57aa46-7a11-41ae-80c8-6f993945b9df","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":[{"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/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f"},{"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/4d57aa46-7a11-41ae-80c8-6f993945b9df"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/fa7bac99-8e36-4534-a9d7-fe8df69bcfaa"}}},"level":"info","message":"received a callback","requestID":"19517ac7dbbee73de02748c3ca8168c2"} device-1 | {"device":"3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 6ms","method":"POST","requestID":"19517ac7dbbee73de02748c3ca8168c2","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.008","http_referrer":"","http_user_agent":"node-fetch","requestID":"19517ac7dbbee73de02748c3ca8168c2"} device-1 | {"device":"3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","deviceName":"JS Device 2","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"fa7bac99-8e36-4534-a9d7-fe8df69bcfaa","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"fa7bac99-8e36-4534-a9d7-fe8df69bcfaa","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/fa7bac99-8e36-4534-a9d7-fe8df69bcfaa' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"fa7bac99-8e36-4534-a9d7-fe8df69bcfaa","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"81b46a0f67d6b55e518a20677c97e363","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"81b46a0f67d6b55e518a20677c97e363","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/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f"},{"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/4d57aa46-7a11-41ae-80c8-6f993945b9df"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/fa7bac99-8e36-4534-a9d7-fe8df69bcfaa"}}},"level":"info","message":"received a callback","requestID":"81b46a0f67d6b55e518a20677c97e363"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"cd861a70-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":637,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:41Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ffa7bac99-8e36-4534-a9d7-fe8df69bcfaa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"45f7453d-5265-4109-b9a7-adb40d745feb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072541.0842519} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":637,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.169554,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/fa7bac99-8e36-4534-a9d7-fe8df69bcfaa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cd861a70-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/fa7bac99-8e36-4534-a9d7-fe8df69bcfaa","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":"cd861a70-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"cd861a70-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/fa7bac99-8e36-4534-a9d7-fe8df69bcfaa 200 8ms","method":"GET","requestID":"cd861a70-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/peerconnections/fa7bac99-8e36-4534-a9d7-fe8df69bcfaa"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 32ms","method":"POST","requestID":"81b46a0f67d6b55e518a20677c97e363","responseTime":32,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.035","http_referrer":"","http_user_agent":"node-fetch","requestID":"81b46a0f67d6b55e518a20677c97e363"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cd8aae50-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":638,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:41Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0928854d-2ee8-47b1-bbaa-52ce79f57973","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072541.1137922} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":638,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.87294,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cd8aae50-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","object_type":"device","rebac_allow":false,"scope_allow":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":"cd8aae50-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cd8aae50-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f/signaling 200 8ms","method":"POST","requestID":"cd8aae50-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cd8c5c00-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":639,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:41Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4d57aa46-7a11-41ae-80c8-6f993945b9df","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1f884141-8dae-4327-b52a-12ac1ff7a3d5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072541.1243474} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":639,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.256235,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cd8c5c00-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df","object_type":"device","rebac_allow":false,"scope_allow":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":"cd8c5c00-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cd8c5c00-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/4d57aa46-7a11-41ae-80c8-6f993945b9df/signaling 200 8ms","method":"POST","requestID":"cd8c5c00-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MX0._Fp7nTT660YrQI6h3OUW43bWB3wArLLpzEd39GMcHhM","level":"info","message":"auth send jwt","requestID":"c9d5a97349cbaa9fc7700ee250274cd7"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"c9d5a97349cbaa9fc7700ee250274cd7","responseTime":6,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/82d5d289-5e52-4833-8080-239bb8280ac7","requestID":"c9d5a97349cbaa9fc7700ee250274cd7"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":640,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:41Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":640,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.910884,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/82d5d289-5e52-4833-8080-239bb8280ac7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c9d5a97349cbaa9fc7700ee250274cd7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/82d5d289-5e52-4833-8080-239bb8280ac7","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072541,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MX0._Fp7nTT660YrQI6h3OUW43bWB3wArLLpzEd39GMcHhM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c9d5a97349cbaa9fc7700ee250274cd7","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/82d5d289-5e52-4833-8080-239bb8280ac7","requestID":"c9d5a97349cbaa9fc7700ee250274cd7"} gateway-1 | {"time_local":"16/Oct/2024:09:55:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/82d5d289-5e52-4833-8080-239bb8280ac7 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":"c9d5a97349cbaa9fc7700ee250274cd7"} experiment-1 | {"level":"info","message":"GET /experiments/82d5d289-5e52-4833-8080-239bb8280ac7 200 14ms","method":"GET","requestID":"c9d5a97349cbaa9fc7700ee250274cd7","responseTime":14,"status":200,"url":"/experiments/82d5d289-5e52-4833-8080-239bb8280ac7"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MX0._Fp7nTT660YrQI6h3OUW43bWB3wArLLpzEd39GMcHhM","level":"info","message":"auth send jwt","requestID":"bd4516cb49de9b626fb6943c91e30c23"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"bd4516cb49de9b626fb6943c91e30c23","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/82d5d289-5e52-4833-8080-239bb8280ac7","requestID":"bd4516cb49de9b626fb6943c91e30c23"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":641,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:41Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":641,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.331889,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:41Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/82d5d289-5e52-4833-8080-239bb8280ac7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bd4516cb49de9b626fb6943c91e30c23","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/82d5d289-5e52-4833-8080-239bb8280ac7","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072541,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MX0._Fp7nTT660YrQI6h3OUW43bWB3wArLLpzEd39GMcHhM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"bd4516cb49de9b626fb6943c91e30c23","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/82d5d289-5e52-4833-8080-239bb8280ac7"},"level":"info","message":"Attempting to finish experiment","requestID":"bd4516cb49de9b626fb6943c91e30c23"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"cd98df20-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":642,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:41Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":642,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.274688,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:41Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/fa7bac99-8e36-4534-a9d7-fe8df69bcfaa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cd98df20-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/fa7bac99-8e36-4534-a9d7-fe8df69bcfaa","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072541,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MX0._Fp7nTT660YrQI6h3OUW43bWB3wArLLpzEd39GMcHhM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"cd98df20-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/fa7bac99-8e36-4534-a9d7-fe8df69bcfaa","device":"3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/fa7bac99-8e36-4534-a9d7-fe8df69bcfaa","device":"4d57aa46-7a11-41ae-80c8-6f993945b9df","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/fa7bac99-8e36-4534-a9d7-fe8df69bcfaa' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/fa7bac99-8e36-4534-a9d7-fe8df69bcfaa' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"fa7bac99-8e36-4534-a9d7-fe8df69bcfaa","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1aa2055452d0a0a39819f12751fd3f05","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"1aa2055452d0a0a39819f12751fd3f05","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ffa7bac99-8e36-4534-a9d7-fe8df69bcfaa': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ffa7bac99-8e36-4534-a9d7-fe8df69bcfaa","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"00950859-0e69-4ec7-9a13-8dd9f2bf5822","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072541.2323048} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ce0f53aa25493dbd8338f83bb5a6cc1b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"connected","url":"http://localhost/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f"},{"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/4d57aa46-7a11-41ae-80c8-6f993945b9df"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/fa7bac99-8e36-4534-a9d7-fe8df69bcfaa"}}},"level":"info","message":"received a callback","requestID":"1aa2055452d0a0a39819f12751fd3f05"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ce0f53aa25493dbd8338f83bb5a6cc1b","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9a93c42a-9802-4e49-86d6-a7d08d5bb262","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072541.2329597} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"cd98df20-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"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":["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/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f"},{"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/4d57aa46-7a11-41ae-80c8-6f993945b9df"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/fa7bac99-8e36-4534-a9d7-fe8df69bcfaa"}}},"level":"info","message":"received a callback","requestID":"ce0f53aa25493dbd8338f83bb5a6cc1b"} device-1 | {"data":{"peerconnection":"fa7bac99-8e36-4534-a9d7-fe8df69bcfaa","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"cd98df20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/fa7bac99-8e36-4534-a9d7-fe8df69bcfaa 204 52ms","method":"DELETE","requestID":"cd98df20-8ba4-11ef-a62f-5f7f958aa687","responseTime":52,"status":204,"url":"/peerconnections/fa7bac99-8e36-4534-a9d7-fe8df69bcfaa"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/82d5d289-5e52-4833-8080-239bb8280ac7"},"level":"info","message":"Successfully finished experiment","requestID":"bd4516cb49de9b626fb6943c91e30c23"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cda4c600-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":643,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:41Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"136ba362-60e5-45f7-8c79-dc6d3f1bd369","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072541.2875824} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":643,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.901247,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cda4c600-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f","object_type":"device","rebac_allow":false,"scope_allow":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":"cda4c600-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cda4c600-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f/signaling 200 15ms","method":"POST","requestID":"cda4c600-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F82d5d289-5e52-4833-8080-239bb8280ac7': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F82d5d289-5e52-4833-8080-239bb8280ac7","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"a04b89ce-d02f-410c-b3fd-3803557bc19c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072541.2958817} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"75b5e59a-6a70-4228-b8cf-8d72719441c0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072541.2966504} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"bd4516cb49de9b626fb6943c91e30c23","responseTime":20,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cda78520-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":644,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:41Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4d57aa46-7a11-41ae-80c8-6f993945b9df","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ad870cd6-8875-4e61-a38c-243b3ef9980b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072541.3048792} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":644,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.389612,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cda78520-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df","object_type":"device","rebac_allow":false,"scope_allow":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":"cda78520-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cda78520-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/4d57aa46-7a11-41ae-80c8-6f993945b9df/signaling 200 13ms","method":"POST","requestID":"cda78520-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/82d5d289-5e52-4833-8080-239bb8280ac7","requestID":"bd4516cb49de9b626fb6943c91e30c23"} gateway-1 | {"time_local":"16/Oct/2024:09:55:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/82d5d289-5e52-4833-8080-239bb8280ac7 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.183","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"bd4516cb49de9b626fb6943c91e30c23"} experiment-1 | {"level":"info","message":"DELETE /experiments/82d5d289-5e52-4833-8080-239bb8280ac7 204 178ms","method":"DELETE","requestID":"bd4516cb49de9b626fb6943c91e30c23","responseTime":178,"status":204,"url":"/experiments/82d5d289-5e52-4833-8080-239bb8280ac7"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 134ms","method":"POST","requestID":"1aa2055452d0a0a39819f12751fd3f05","responseTime":134,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.139","http_referrer":"","http_user_agent":"node-fetch","requestID":"1aa2055452d0a0a39819f12751fd3f05"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 134ms","method":"POST","requestID":"ce0f53aa25493dbd8338f83bb5a6cc1b","responseTime":134,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.140","http_referrer":"","http_user_agent":"node-fetch","requestID":"ce0f53aa25493dbd8338f83bb5a6cc1b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MX0._Fp7nTT660YrQI6h3OUW43bWB3wArLLpzEd39GMcHhM","level":"info","message":"auth send jwt","requestID":"323979c054e64ac042781c6fda3277d7"} gateway-1 | {"time_local":"16/Oct/2024:09:55:41 +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.775","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"d063a6862f0f76703128d16c8cfe42cd"} gateway-1 | {"time_local":"16/Oct/2024:09:55:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3319","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":"b69112efbb07eeda0b801787eb6d0a5f"} authentication-1 | {"level":"info","message":"GET /auth 200 8ms","method":"GET","requestID":"323979c054e64ac042781c6fda3277d7","responseTime":8,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"323979c054e64ac042781c6fda3277d7"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":645,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:41Z"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/4d57aa46-7a11-41ae-80c8-6f993945b9df' closed"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":645,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.844509,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:41Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"323979c054e64ac042781c6fda3277d7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072541,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MX0._Fp7nTT660YrQI6h3OUW43bWB3wArLLpzEd39GMcHhM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"323979c054e64ac042781c6fda3277d7","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/3ebb2bde-1f87-4cf7-98f3-1d842cadc52f' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f9fc34b-86e2-4a61-b915-36f64a032bab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"50357bf6-bb58-479f-9349-c71d3d79e2be","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072541.4005082} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"323979c054e64ac042781c6fda3277d7","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8fabe627-e411-4479-83be-4013d39f1219","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072541.404738} authorization-1 | {"level":"info","message":"POST /relations/update 200 2ms","method":"POST","requestID":"323979c054e64ac042781c6fda3277d7","responseTime":2,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f9fc34b-86e2-4a61-b915-36f64a032bab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"207701c5-026a-4b20-b07a-0e5ccd48b26b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072541.4139307} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2bf34b0a-202f-4e2b-a347-b64515141ed4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072541.414797} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"323979c054e64ac042781c6fda3277d7","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f9fc34b-86e2-4a61-b915-36f64a032bab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f9fc34b-86e2-4a61-b915-36f64a032bab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:41.413899202Z"}]},"request_id":"3d812288-ca0a-4ab5-8181-4ac1f9c3a079","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072541.4184792} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"323979c054e64ac042781c6fda3277d7","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"323979c054e64ac042781c6fda3277d7"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"323979c054e64ac042781c6fda3277d7","responseTime":43,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:41 +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":"323979c054e64ac042781c6fda3277d7"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MX0._Fp7nTT660YrQI6h3OUW43bWB3wArLLpzEd39GMcHhM","level":"info","message":"auth send jwt","requestID":"53b88a0325981cf841c08838fa5d73e6"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"53b88a0325981cf841c08838fa5d73e6","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"53b88a0325981cf841c08838fa5d73e6"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":646,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:41Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":646,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.713575,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:41Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"53b88a0325981cf841c08838fa5d73e6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072541,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0MX0._Fp7nTT660YrQI6h3OUW43bWB3wArLLpzEd39GMcHhM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"53b88a0325981cf841c08838fa5d73e6","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb622578b-e83b-4400-9419-a5d703fbb6a6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"5e5061a3-f99e-4419-90dd-7b1cafa0797e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072541.4460123} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"53b88a0325981cf841c08838fa5d73e6","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0cad5824-00f0-4220-91e8-1bf89a7698fc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072541.4508853} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"53b88a0325981cf841c08838fa5d73e6","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb622578b-e83b-4400-9419-a5d703fbb6a6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"14790ab3-e519-483e-a50e-a5d4106604f8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072541.4607458} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"77ff5030-35ab-473a-b004-0e84d6a70c63","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072541.4609504} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"53b88a0325981cf841c08838fa5d73e6","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb622578b-e83b-4400-9419-a5d703fbb6a6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb622578b-e83b-4400-9419-a5d703fbb6a6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:41.460722974Z"}]},"request_id":"6c651eb9-a75a-41ea-876b-1d8eba95ec64","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072541.4648604} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"53b88a0325981cf841c08838fa5d73e6","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"53b88a0325981cf841c08838fa5d73e6"} gateway-1 | {"time_local":"16/Oct/2024:09:55:41 +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":"53b88a0325981cf841c08838fa5d73e6"} device-1 | {"level":"info","message":"POST /devices? 201 42ms","method":"POST","requestID":"53b88a0325981cf841c08838fa5d73e6","responseTime":42,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"bff62fbf86d0d1426639a45f29a20773","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"bff62fbf86d0d1426639a45f29a20773","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/6f9fc34b-86e2-4a61-b915-36f64a032bab/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":"bff62fbf86d0d1426639a45f29a20773"} device-1 | {"level":"info","message":"OPTIONS /devices/6f9fc34b-86e2-4a61-b915-36f64a032bab/websocket 200 1ms","method":"OPTIONS","requestID":"bff62fbf86d0d1426639a45f29a20773","responseTime":1,"status":200,"url":"/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0M30.qnbXdIyepxyrSMB-vGOvof1aS1CwPRLWlixY7mkV7aM","level":"info","message":"auth send jwt","requestID":"e3b46426b03095c487790226f0c829e4"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e3b46426b03095c487790226f0c829e4","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"e3b46426b03095c487790226f0c829e4"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":647,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":647,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.177431,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e3b46426b03095c487790226f0c829e4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072543,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0M30.qnbXdIyepxyrSMB-vGOvof1aS1CwPRLWlixY7mkV7aM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e3b46426b03095c487790226f0c829e4","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"e3b46426b03095c487790226f0c829e4"} gateway-1 | {"time_local":"16/Oct/2024:09:55:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/6f9fc34b-86e2-4a61-b915-36f64a032bab/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":"e3b46426b03095c487790226f0c829e4"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"437eeea1a39b36bc0b2701ed6135d92c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"POST /devices/6f9fc34b-86e2-4a61-b915-36f64a032bab/websocket 200 21ms","method":"POST","requestID":"e3b46426b03095c487790226f0c829e4","responseTime":21,"status":200,"url":"/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:55:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/b622578b-e83b-4400-9419-a5d703fbb6a6/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":"437eeea1a39b36bc0b2701ed6135d92c"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"437eeea1a39b36bc0b2701ed6135d92c","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"OPTIONS /devices/b622578b-e83b-4400-9419-a5d703fbb6a6/websocket 200 0ms","method":"OPTIONS","requestID":"437eeea1a39b36bc0b2701ed6135d92c","responseTime":0,"status":200,"url":"/devices/b622578b-e83b-4400-9419-a5d703fbb6a6/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0M30.qnbXdIyepxyrSMB-vGOvof1aS1CwPRLWlixY7mkV7aM","level":"info","message":"auth send jwt","requestID":"3647537134934e908d875c6971803b8b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3647537134934e908d875c6971803b8b","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"3647537134934e908d875c6971803b8b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":648,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":648,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.002388,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/b622578b-e83b-4400-9419-a5d703fbb6a6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3647537134934e908d875c6971803b8b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b622578b-e83b-4400-9419-a5d703fbb6a6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072543,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0M30.qnbXdIyepxyrSMB-vGOvof1aS1CwPRLWlixY7mkV7aM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3647537134934e908d875c6971803b8b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"device 'http://localhost/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab' connected"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"3647537134934e908d875c6971803b8b"} device-1 | {"level":"info","message":"POST /devices/b622578b-e83b-4400-9419-a5d703fbb6a6/websocket 200 22ms","method":"POST","requestID":"3647537134934e908d875c6971803b8b","responseTime":22,"status":200,"url":"/devices/b622578b-e83b-4400-9419-a5d703fbb6a6/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:55:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/b622578b-e83b-4400-9419-a5d703fbb6a6/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":"3647537134934e908d875c6971803b8b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e5d865aeffbe9d0631bb2703233c7fc5","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"e5d865aeffbe9d0631bb2703233c7fc5","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/6f9fc34b-86e2-4a61-b915-36f64a032bab? 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":"e5d865aeffbe9d0631bb2703233c7fc5"} device-1 | {"level":"info","message":"OPTIONS /devices/6f9fc34b-86e2-4a61-b915-36f64a032bab? 200 0ms","method":"OPTIONS","requestID":"e5d865aeffbe9d0631bb2703233c7fc5","responseTime":0,"status":200,"url":"/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0M30.qnbXdIyepxyrSMB-vGOvof1aS1CwPRLWlixY7mkV7aM","level":"info","message":"auth send jwt","requestID":"66fb82ee7148abc5cca065f68bb4e290"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"66fb82ee7148abc5cca065f68bb4e290","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"66fb82ee7148abc5cca065f68bb4e290"} device-1 | {"level":"info","message":"device 'http://localhost/devices/b622578b-e83b-4400-9419-a5d703fbb6a6' connected"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":649,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":649,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.73565,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"66fb82ee7148abc5cca065f68bb4e290","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072543,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0M30.qnbXdIyepxyrSMB-vGOvof1aS1CwPRLWlixY7mkV7aM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"66fb82ee7148abc5cca065f68bb4e290","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f9fc34b-86e2-4a61-b915-36f64a032bab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f9fc34b-86e2-4a61-b915-36f64a032bab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:41.413899202Z"}]},"request_id":"abe78866-f378-4db1-a101-f94b8174187c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072543.521979} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"66fb82ee7148abc5cca065f68bb4e290","responseTime":4,"status":200,"url":"/relations/query"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"eef4093b0692d8b17e5e20d330dcc8ec","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"eef4093b0692d8b17e5e20d330dcc8ec","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/b622578b-e83b-4400-9419-a5d703fbb6a6? 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":"eef4093b0692d8b17e5e20d330dcc8ec"} device-1 | {"level":"info","message":"OPTIONS /devices/b622578b-e83b-4400-9419-a5d703fbb6a6? 200 0ms","method":"OPTIONS","requestID":"eef4093b0692d8b17e5e20d330dcc8ec","responseTime":0,"status":200,"url":"/devices/b622578b-e83b-4400-9419-a5d703fbb6a6?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ab338194-0b4f-4ad5-a6f6-0a8927685981","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072543.528562} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"66fb82ee7148abc5cca065f68bb4e290","responseTime":5,"status":200,"url":"/relations/update"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0M30.qnbXdIyepxyrSMB-vGOvof1aS1CwPRLWlixY7mkV7aM","level":"info","message":"auth send jwt","requestID":"8faa6120b82d3eb82565293dd6b55d8c"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"8faa6120b82d3eb82565293dd6b55d8c","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"8faa6120b82d3eb82565293dd6b55d8c"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":650,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":650,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.134991,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/b622578b-e83b-4400-9419-a5d703fbb6a6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"8faa6120b82d3eb82565293dd6b55d8c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b622578b-e83b-4400-9419-a5d703fbb6a6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072543,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0M30.qnbXdIyepxyrSMB-vGOvof1aS1CwPRLWlixY7mkV7aM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8faa6120b82d3eb82565293dd6b55d8c","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f9fc34b-86e2-4a61-b915-36f64a032bab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f9fc34b-86e2-4a61-b915-36f64a032bab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:41.413899202Z"}]},"request_id":"e64a2d88-82cf-427e-b47d-672a8de38282","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072543.5427287} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"66fb82ee7148abc5cca065f68bb4e290","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb622578b-e83b-4400-9419-a5d703fbb6a6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb622578b-e83b-4400-9419-a5d703fbb6a6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:41.460722974Z"}]},"request_id":"c9bf12d1-94f4-4a32-942b-0b2e6bcab662","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072543.54419} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"66fb82ee7148abc5cca065f68bb4e290"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8faa6120b82d3eb82565293dd6b55d8c","responseTime":3,"status":200,"url":"/relations/query"} gateway-1 | {"time_local":"16/Oct/2024:09:55:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/6f9fc34b-86e2-4a61-b915-36f64a032bab? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.038","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"66fb82ee7148abc5cca065f68bb4e290"} device-1 | {"level":"info","message":"PATCH /devices/6f9fc34b-86e2-4a61-b915-36f64a032bab? 200 34ms","method":"PATCH","requestID":"66fb82ee7148abc5cca065f68bb4e290","responseTime":34,"status":200,"url":"/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c842faf1-528e-4afa-9d8d-4375c70fe0fe","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072543.5511012} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"8faa6120b82d3eb82565293dd6b55d8c","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb622578b-e83b-4400-9419-a5d703fbb6a6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb622578b-e83b-4400-9419-a5d703fbb6a6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:41.460722974Z"}]},"request_id":"85964d3d-b40c-436e-8b6b-1244fc49ecbe","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072543.5607445} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"8faa6120b82d3eb82565293dd6b55d8c","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"8faa6120b82d3eb82565293dd6b55d8c"} device-1 | {"level":"info","message":"PATCH /devices/b622578b-e83b-4400-9419-a5d703fbb6a6? 200 30ms","method":"PATCH","requestID":"8faa6120b82d3eb82565293dd6b55d8c","responseTime":30,"status":200,"url":"/devices/b622578b-e83b-4400-9419-a5d703fbb6a6?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/b622578b-e83b-4400-9419-a5d703fbb6a6? HTTP/1.1","status": "200","body_bytes_sent":"998","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":"8faa6120b82d3eb82565293dd6b55d8c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0M30.qnbXdIyepxyrSMB-vGOvof1aS1CwPRLWlixY7mkV7aM","level":"info","message":"auth send jwt","requestID":"1912b37eddd670ecc29f9b371f9cb761"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"1912b37eddd670ecc29f9b371f9cb761","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1912b37eddd670ecc29f9b371f9cb761"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":651,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":651,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.825175,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"1912b37eddd670ecc29f9b371f9cb761","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072543,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0M30.qnbXdIyepxyrSMB-vGOvof1aS1CwPRLWlixY7mkV7aM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"1912b37eddd670ecc29f9b371f9cb761","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f9fc34b-86e2-4a61-b915-36f64a032bab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f9fc34b-86e2-4a61-b915-36f64a032bab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:41.413899202Z"}]},"request_id":"0f575f4c-2d81-400d-a4b5-f0445c464983","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072543.5844586} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"1912b37eddd670ecc29f9b371f9cb761","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1912b37eddd670ecc29f9b371f9cb761"} gateway-1 | {"time_local":"16/Oct/2024:09:55:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6f9fc34b-86e2-4a61-b915-36f64a032bab? 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":"1912b37eddd670ecc29f9b371f9cb761"} device-1 | {"level":"info","message":"GET /devices/6f9fc34b-86e2-4a61-b915-36f64a032bab? 200 13ms","method":"GET","requestID":"1912b37eddd670ecc29f9b371f9cb761","responseTime":13,"status":200,"url":"/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0M30.qnbXdIyepxyrSMB-vGOvof1aS1CwPRLWlixY7mkV7aM","level":"info","message":"auth send jwt","requestID":"3f6d0992a3087cf528c48b01ba3fdecd"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"3f6d0992a3087cf528c48b01ba3fdecd","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3f6d0992a3087cf528c48b01ba3fdecd"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":652,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":652,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.908047,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b622578b-e83b-4400-9419-a5d703fbb6a6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3f6d0992a3087cf528c48b01ba3fdecd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b622578b-e83b-4400-9419-a5d703fbb6a6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072543,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0M30.qnbXdIyepxyrSMB-vGOvof1aS1CwPRLWlixY7mkV7aM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3f6d0992a3087cf528c48b01ba3fdecd","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb622578b-e83b-4400-9419-a5d703fbb6a6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb622578b-e83b-4400-9419-a5d703fbb6a6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:41.460722974Z"}]},"request_id":"724920d9-1834-4ddf-8cd8-8923576fb084","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072543.6042857} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3f6d0992a3087cf528c48b01ba3fdecd","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3f6d0992a3087cf528c48b01ba3fdecd"} device-1 | {"level":"info","message":"GET /devices/b622578b-e83b-4400-9419-a5d703fbb6a6? 200 16ms","method":"GET","requestID":"3f6d0992a3087cf528c48b01ba3fdecd","responseTime":16,"status":200,"url":"/devices/b622578b-e83b-4400-9419-a5d703fbb6a6?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b622578b-e83b-4400-9419-a5d703fbb6a6? 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":"3f6d0992a3087cf528c48b01ba3fdecd"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0M30.qnbXdIyepxyrSMB-vGOvof1aS1CwPRLWlixY7mkV7aM","level":"info","message":"auth send jwt","requestID":"3f320cd70d965ec0b9f299c5db130dac"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3f320cd70d965ec0b9f299c5db130dac","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"3f320cd70d965ec0b9f299c5db130dac"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":653,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":653,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.791908,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3f320cd70d965ec0b9f299c5db130dac","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072543,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0M30.qnbXdIyepxyrSMB-vGOvof1aS1CwPRLWlixY7mkV7aM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"3f320cd70d965ec0b9f299c5db130dac","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31"},"level":"info","message":"Attempting to run experiment","requestID":"3f320cd70d965ec0b9f299c5db130dac"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31"},"level":"info","message":"Attempting to book experiment","requestID":"3f320cd70d965ec0b9f299c5db130dac"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31"},"level":"info","message":"Successfully booked experiment","requestID":"3f320cd70d965ec0b9f299c5db130dac"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cf0feec0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cf103ce0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":654,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":654,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.688996,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":655,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cf0feec0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072543,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0M30.qnbXdIyepxyrSMB-vGOvof1aS1CwPRLWlixY7mkV7aM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"cf0feec0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":655,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.057651,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b622578b-e83b-4400-9419-a5d703fbb6a6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cf103ce0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b622578b-e83b-4400-9419-a5d703fbb6a6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072543,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0M30.qnbXdIyepxyrSMB-vGOvof1aS1CwPRLWlixY7mkV7aM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"cf103ce0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f9fc34b-86e2-4a61-b915-36f64a032bab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f9fc34b-86e2-4a61-b915-36f64a032bab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:41.413899202Z"}]},"request_id":"77f0875f-dad8-4c36-a017-38a9435de904","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072543.6714087} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"cf0feec0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb622578b-e83b-4400-9419-a5d703fbb6a6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb622578b-e83b-4400-9419-a5d703fbb6a6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:41.460722974Z"}]},"request_id":"3989ef74-dd80-4204-8b78-ff143d81a6af","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072543.6730068} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"cf103ce0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cf0feec0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/6f9fc34b-86e2-4a61-b915-36f64a032bab? 200 19ms","method":"GET","requestID":"cf0feec0-8ba4-11ef-a62f-5f7f958aa687","responseTime":19,"status":200,"url":"/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cf103ce0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/b622578b-e83b-4400-9419-a5d703fbb6a6? 200 18ms","method":"GET","requestID":"cf103ce0-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/b622578b-e83b-4400-9419-a5d703fbb6a6?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31"},"level":"info","message":"Setting up experiment","requestID":"3f320cd70d965ec0b9f299c5db130dac"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"3f320cd70d965ec0b9f299c5db130dac"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31"},"level":"info","message":"Successfully locked booking for experiment","requestID":"3f320cd70d965ec0b9f299c5db130dac"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"3f320cd70d965ec0b9f299c5db130dac"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"3f320cd70d965ec0b9f299c5db130dac"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31"},"level":"info","message":"Attempting to update booking for experiment","requestID":"3f320cd70d965ec0b9f299c5db130dac"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31"},"level":"info","message":"Successfully updated booking for experiment","requestID":"3f320cd70d965ec0b9f299c5db130dac"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31"},"level":"info","message":"Successfully set up experiment","requestID":"3f320cd70d965ec0b9f299c5db130dac"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cf1b6070-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cf1bae90-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cf1bd5a0-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31"},"level":"info","message":"Successfully running experiment","requestID":"3f320cd70d965ec0b9f299c5db130dac"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":656,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":656,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.78915,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":657,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cf1b6070-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072543,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0M30.qnbXdIyepxyrSMB-vGOvof1aS1CwPRLWlixY7mkV7aM"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"cf1b6070-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":657,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.103252,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"client_addr":"127.0.0.1:59252","level":"info","msg":"Received request.","req_id":658,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b622578b-e83b-4400-9419-a5d703fbb6a6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cf1bae90-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b622578b-e83b-4400-9419-a5d703fbb6a6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072543,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0M30.qnbXdIyepxyrSMB-vGOvof1aS1CwPRLWlixY7mkV7aM"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"cf1bae90-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59252","level":"info","msg":"Sent response.","req_id":658,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.895555,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f9fc34b-86e2-4a61-b915-36f64a032bab","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3ebc82b0-82cb-40d9-87b7-7cf224c1d850","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072543.747786} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cf1bd5a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 14ms","method":"POST","requestID":"cf1bd5a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f9fc34b-86e2-4a61-b915-36f64a032bab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f9fc34b-86e2-4a61-b915-36f64a032bab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:41.413899202Z"}]},"request_id":"52ddfcf5-0fc7-4a6f-9f86-445235a496f6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072543.7545805} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"cf1b6070-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb622578b-e83b-4400-9419-a5d703fbb6a6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb622578b-e83b-4400-9419-a5d703fbb6a6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:41.460722974Z"}]},"request_id":"967ae24c-e2a0-4ab0-bed7-ac33aeb4b547","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072543.7586436} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cf1bd5a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/6f9fc34b-86e2-4a61-b915-36f64a032bab/signaling 200 22ms","method":"POST","requestID":"cf1bd5a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":22,"status":200,"url":"/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"cf1bae90-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cf1fcd40-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cf1b6070-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/6f9fc34b-86e2-4a61-b915-36f64a032bab? 200 34ms","method":"GET","requestID":"cf1b6070-8ba4-11ef-a62f-5f7f958aa687","responseTime":34,"status":200,"url":"/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cf1bae90-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/b622578b-e83b-4400-9419-a5d703fbb6a6? 200 33ms","method":"GET","requestID":"cf1bae90-8ba4-11ef-a62f-5f7f958aa687","responseTime":33,"status":200,"url":"/devices/b622578b-e83b-4400-9419-a5d703fbb6a6?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":659,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb622578b-e83b-4400-9419-a5d703fbb6a6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7175d3e8-632b-4f34-b474-92caaa21b88c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072543.7712178} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":659,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.100447,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F73d238bf-fd19-427e-9275-4a1e87fe7c31#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F73d238bf-fd19-427e-9275-4a1e87fe7c31","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"00007398-e589-4bba-93c2-bd6d315e9d11","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072543.7725282} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b622578b-e83b-4400-9419-a5d703fbb6a6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cf1fcd40-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b622578b-e83b-4400-9419-a5d703fbb6a6","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":"cf2153e0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"cf1fcd40-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c98caafd-c006-45be-8202-f199330d4b28","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072543.7729185} authorization-1 | {"level":"info","message":"POST /relations/update 200 31ms","method":"POST","requestID":"3f320cd70d965ec0b9f299c5db130dac","responseTime":31,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cf1fcd40-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b622578b-e83b-4400-9419-a5d703fbb6a6/signaling 200 16ms","method":"POST","requestID":"cf1fcd40-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/b622578b-e83b-4400-9419-a5d703fbb6a6/signaling"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":660,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f9fc34b-86e2-4a61-b915-36f64a032bab","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"49e45856-e2a9-4f23-8a52-8ca445775296","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072543.783536} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":660,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.461525,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cf2153e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab","object_type":"device","rebac_allow":false,"scope_allow":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":"cf2153e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"3f320cd70d965ec0b9f299c5db130dac"} experiment-1 | {"level":"info","message":"POST /experiments? 201 172ms","method":"POST","requestID":"3f320cd70d965ec0b9f299c5db130dac","responseTime":172,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1288","request_time":"0.177","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3f320cd70d965ec0b9f299c5db130dac"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cf2153e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/6f9fc34b-86e2-4a61-b915-36f64a032bab/signaling 200 16ms","method":"POST","requestID":"cf2153e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cf243a10-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0M30.qnbXdIyepxyrSMB-vGOvof1aS1CwPRLWlixY7mkV7aM","level":"info","message":"auth send jwt","requestID":"c1192e42fb3111bee13d8ad855820634"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c1192e42fb3111bee13d8ad855820634","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":661,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:43Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c1192e42fb3111bee13d8ad855820634"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb622578b-e83b-4400-9419-a5d703fbb6a6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8426e32a-3f29-4db5-b91d-be973425d68f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072543.7978168} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":661,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.800887,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":662,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b622578b-e83b-4400-9419-a5d703fbb6a6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cf243a10-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b622578b-e83b-4400-9419-a5d703fbb6a6","object_type":"device","rebac_allow":false,"scope_allow":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":"cf243a10-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":662,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.264683,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c1192e42fb3111bee13d8ad855820634","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072543,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0M30.qnbXdIyepxyrSMB-vGOvof1aS1CwPRLWlixY7mkV7aM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"c1192e42fb3111bee13d8ad855820634","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cf243a10-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b622578b-e83b-4400-9419-a5d703fbb6a6/signaling 200 11ms","method":"POST","requestID":"cf243a10-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/b622578b-e83b-4400-9419-a5d703fbb6a6/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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f9fc34b-86e2-4a61-b915-36f64a032bab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f9fc34b-86e2-4a61-b915-36f64a032bab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:41.413899202Z"}]},"request_id":"dd52712a-ec9b-4948-a5f5-b86c45ac5c6e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072543.8055549} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"3f320cd70d965ec0b9f299c5db130dac"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c1192e42fb3111bee13d8ad855820634","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cf268400-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cf26ab10-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c1192e42fb3111bee13d8ad855820634"} gateway-1 | {"time_local":"16/Oct/2024:09:55:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6f9fc34b-86e2-4a61-b915-36f64a032bab? 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":"c1192e42fb3111bee13d8ad855820634"} device-1 | {"level":"info","message":"GET /devices/6f9fc34b-86e2-4a61-b915-36f64a032bab? 200 15ms","method":"GET","requestID":"c1192e42fb3111bee13d8ad855820634","responseTime":15,"status":200,"url":"/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":663,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":663,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.758782,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":664,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cf268400-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072543,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0M30.qnbXdIyepxyrSMB-vGOvof1aS1CwPRLWlixY7mkV7aM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"cf268400-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":664,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.008968,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b622578b-e83b-4400-9419-a5d703fbb6a6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cf26ab10-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b622578b-e83b-4400-9419-a5d703fbb6a6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072543,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0M30.qnbXdIyepxyrSMB-vGOvof1aS1CwPRLWlixY7mkV7aM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"cf26ab10-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0M30.qnbXdIyepxyrSMB-vGOvof1aS1CwPRLWlixY7mkV7aM","level":"info","message":"auth send jwt","requestID":"33e914e08e09effe1c9021644d609bf0"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"33e914e08e09effe1c9021644d609bf0","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f9fc34b-86e2-4a61-b915-36f64a032bab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f9fc34b-86e2-4a61-b915-36f64a032bab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:41.413899202Z"}]},"request_id":"9b9ec5eb-b30b-4507-bdd9-9d0db657b294","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072543.8170059} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"33e914e08e09effe1c9021644d609bf0"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"cf268400-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb622578b-e83b-4400-9419-a5d703fbb6a6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb622578b-e83b-4400-9419-a5d703fbb6a6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:41.460722974Z"}]},"request_id":"69cb057a-19ac-42a4-93d7-25063c3f60ae","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072543.819499} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cf268400-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"cf26ab10-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":665,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":665,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.756573,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:43Z"} device-1 | {"level":"info","message":"GET /devices/6f9fc34b-86e2-4a61-b915-36f64a032bab? 200 15ms","method":"GET","requestID":"cf268400-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b622578b-e83b-4400-9419-a5d703fbb6a6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"33e914e08e09effe1c9021644d609bf0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b622578b-e83b-4400-9419-a5d703fbb6a6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072543,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0M30.qnbXdIyepxyrSMB-vGOvof1aS1CwPRLWlixY7mkV7aM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"33e914e08e09effe1c9021644d609bf0","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cf26ab10-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/b622578b-e83b-4400-9419-a5d703fbb6a6? 200 18ms","method":"GET","requestID":"cf26ab10-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/b622578b-e83b-4400-9419-a5d703fbb6a6?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb622578b-e83b-4400-9419-a5d703fbb6a6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb622578b-e83b-4400-9419-a5d703fbb6a6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:41.460722974Z"}]},"request_id":"facf0207-57f3-4379-ad38-f870f0a52118","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072543.8282974} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31"},"level":"info","message":"Building connection plan","requestID":"3f320cd70d965ec0b9f299c5db130dac"} 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":"7f9b50b2-75a9-4a0b-b4b6-a7c336892787"},{"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":"c3fb572e-eb62-4927-aa3a-b40492e7d998"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"15c1e78c-1fc9-4d9e-a629-0932aeb8bcd5"}]},"level":"info","message":"Built pairwise service configurations","requestID":"3f320cd70d965ec0b9f299c5db130dac"} 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/b622578b-e83b-4400-9419-a5d703fbb6a6"},{"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/6f9fc34b-86e2-4a61-b915-36f64a032bab"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"3f320cd70d965ec0b9f299c5db130dac"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"33e914e08e09effe1c9021644d609bf0","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"cf2a0670-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":666,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:43Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"33e914e08e09effe1c9021644d609bf0"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":666,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.858031,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:43Z"} gateway-1 | {"time_local":"16/Oct/2024:09:55:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b622578b-e83b-4400-9419-a5d703fbb6a6? 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":"33e914e08e09effe1c9021644d609bf0"} device-1 | {"level":"info","message":"GET /devices/b622578b-e83b-4400-9419-a5d703fbb6a6? 200 18ms","method":"GET","requestID":"33e914e08e09effe1c9021644d609bf0","responseTime":18,"status":200,"url":"/devices/b622578b-e83b-4400-9419-a5d703fbb6a6?"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cf2a0670-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072543,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0M30.qnbXdIyepxyrSMB-vGOvof1aS1CwPRLWlixY7mkV7aM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"cf2a0670-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"42e35b77-87ca-45ce-90d8-892932d12994","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072543.8463688} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d879785a-4e21-4331-bf07-34a7abc66c31","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072543.846561} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"cf2a0670-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"cf2a0670-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"cf2a0670-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/dc67f071-26c8-462e-bc1b-bfea39e3d85d'","requestID":"cf2a0670-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/dc67f071-26c8-462e-bc1b-bfea39e3d85d'","requestID":"cf2a0670-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"cf2a0670-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 36ms","method":"POST","requestID":"cf2a0670-8ba4-11ef-a62f-5f7f958aa687","responseTime":36,"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":"cf2a0670-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"3f320cd70d965ec0b9f299c5db130dac"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cf343fa0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":667,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f9fc34b-86e2-4a61-b915-36f64a032bab","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ad9a7042-82f9-4223-867c-ce08cdf8983f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072543.9036481} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":667,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.426585,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:43Z"} device-1 | {"device":"6f9fc34b-86e2-4a61-b915-36f64a032bab","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"6f9fc34b-86e2-4a61-b915-36f64a032bab","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cf343fa0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab","object_type":"device","rebac_allow":false,"scope_allow":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":"cf343fa0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"device":"b622578b-e83b-4400-9419-a5d703fbb6a6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"b622578b-e83b-4400-9419-a5d703fbb6a6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cf343fa0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/6f9fc34b-86e2-4a61-b915-36f64a032bab/signaling 200 12ms","method":"POST","requestID":"cf343fa0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cf366280-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":668,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb622578b-e83b-4400-9419-a5d703fbb6a6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8ab6131c-2cfe-4f28-98e7-e9593393ae81","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072543.9168732} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":668,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.423573,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b622578b-e83b-4400-9419-a5d703fbb6a6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cf366280-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b622578b-e83b-4400-9419-a5d703fbb6a6","object_type":"device","rebac_allow":false,"scope_allow":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":"cf366280-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"content":{"sdp":"v=0\r\no=- 5811178901314765842 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:36hB\r\na=ice-pwd:b0fSudLjohH0uQnDsrcPSUeA\r\na=ice-options:trickle\r\na=fingerprint:sha-256 B8:23:F3:C5:7C:E5:51:F0:DF:08:BF:78:26:2D:38:04:F2:78:E7:D1:F6:DD:E6:9C:44:C5:A1:D8:E1:86:CF:E7\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"6f9fc34b-86e2-4a61-b915-36f64a032bab","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cf366280-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b622578b-e83b-4400-9419-a5d703fbb6a6/signaling 200 11ms","method":"POST","requestID":"cf366280-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/b622578b-e83b-4400-9419-a5d703fbb6a6/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 8162499659738346215 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:12jX\r\na=ice-pwd:7BWpNz2WJi+L9MMFOWKWUH0B\r\na=ice-options:trickle\r\na=fingerprint:sha-256 01:C6:54:1E:FE:44:C0:2D:E6:00:90:A1:30:A5:75:20:F8:04:E5:29:0C:CA:D6:4F:BE:C3:38:72:49:B2:2F:84\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"b622578b-e83b-4400-9419-a5d703fbb6a6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:301697342 1 udp 2113937151 693bbe55-36c2-4fec-b3a8-33bba55cc5af.local 42116 typ host generation 0 ufrag 12jX network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"b622578b-e83b-4400-9419-a5d703fbb6a6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2194679853 1 udp 1677729535 141.24.211.56 42116 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag 12jX network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"b622578b-e83b-4400-9419-a5d703fbb6a6","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/b622578b-e83b-4400-9419-a5d703fbb6a6'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/b622578b-e83b-4400-9419-a5d703fbb6a6'"} device-1 | {"content":{"candidate":"candidate:2675006633 1 udp 2113937151 9bbcc521-da2f-4e6f-ad0d-a2fb19a1800a.local 44683 typ host generation 0 ufrag 36hB network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"6f9fc34b-86e2-4a61-b915-36f64a032bab","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:459028182 1 udp 1677729535 141.24.211.56 44683 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag 36hB network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"6f9fc34b-86e2-4a61-b915-36f64a032bab","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/6f9fc34b-86e2-4a61-b915-36f64a032bab'"} device-1 | {"device":"6f9fc34b-86e2-4a61-b915-36f64a032bab","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"b622578b-e83b-4400-9419-a5d703fbb6a6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"6f9fc34b-86e2-4a61-b915-36f64a032bab","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/dc67f071-26c8-462e-bc1b-bfea39e3d85d' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"dc67f071-26c8-462e-bc1b-bfea39e3d85d","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"b622578b-e83b-4400-9419-a5d703fbb6a6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"6f9fc34b-86e2-4a61-b915-36f64a032bab","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":[{"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/b622578b-e83b-4400-9419-a5d703fbb6a6"},{"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/6f9fc34b-86e2-4a61-b915-36f64a032bab"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/dc67f071-26c8-462e-bc1b-bfea39e3d85d"}}},"level":"info","message":"received a callback","requestID":"bb1d412c9285150ba7d65c3502e8d6e6"} device-1 | {"device":"b622578b-e83b-4400-9419-a5d703fbb6a6","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":"bb1d412c9285150ba7d65c3502e8d6e6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"bb1d412c9285150ba7d65c3502e8d6e6","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 5ms","method":"POST","requestID":"bb1d412c9285150ba7d65c3502e8d6e6","responseTime":5,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.009","http_referrer":"","http_user_agent":"node-fetch","requestID":"bb1d412c9285150ba7d65c3502e8d6e6"} device-1 | {"device":"b622578b-e83b-4400-9419-a5d703fbb6a6","deviceName":"JS Device 2","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"dc67f071-26c8-462e-bc1b-bfea39e3d85d","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"dc67f071-26c8-462e-bc1b-bfea39e3d85d","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/dc67f071-26c8-462e-bc1b-bfea39e3d85d' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"dc67f071-26c8-462e-bc1b-bfea39e3d85d","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d42992fb15043e52b2a90fb79a14583a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"d42992fb15043e52b2a90fb79a14583a","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/b622578b-e83b-4400-9419-a5d703fbb6a6"},{"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/6f9fc34b-86e2-4a61-b915-36f64a032bab"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/dc67f071-26c8-462e-bc1b-bfea39e3d85d"}}},"level":"info","message":"received a callback","requestID":"d42992fb15043e52b2a90fb79a14583a"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"cf40e9d0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":669,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fdc67f071-26c8-462e-bc1b-bfea39e3d85d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"94a6cfb1-e2be-4842-9e78-3aff14772571","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072543.9853268} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":669,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.115355,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/dc67f071-26c8-462e-bc1b-bfea39e3d85d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cf40e9d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/dc67f071-26c8-462e-bc1b-bfea39e3d85d","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":"cf40e9d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"cf40e9d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/dc67f071-26c8-462e-bc1b-bfea39e3d85d 200 7ms","method":"GET","requestID":"cf40e9d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/peerconnections/dc67f071-26c8-462e-bc1b-bfea39e3d85d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 32ms","method":"POST","requestID":"d42992fb15043e52b2a90fb79a14583a","responseTime":32,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.035","http_referrer":"","http_user_agent":"node-fetch","requestID":"d42992fb15043e52b2a90fb79a14583a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cf452f90-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":670,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:44Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb622578b-e83b-4400-9419-a5d703fbb6a6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1b0651ea-5f18-49b2-b822-d22e790c9c72","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072544.0132408} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":670,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.409612,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b622578b-e83b-4400-9419-a5d703fbb6a6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cf452f90-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b622578b-e83b-4400-9419-a5d703fbb6a6","object_type":"device","rebac_allow":false,"scope_allow":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":"cf452f90-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cf452f90-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b622578b-e83b-4400-9419-a5d703fbb6a6/signaling 200 8ms","method":"POST","requestID":"cf452f90-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/b622578b-e83b-4400-9419-a5d703fbb6a6/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cf468f20-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":671,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:44Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f9fc34b-86e2-4a61-b915-36f64a032bab","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c9966fc9-9aa2-4b4e-8136-ff73acd9c7ad","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072544.0227182} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":671,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":1.974767,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cf468f20-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab","object_type":"device","rebac_allow":false,"scope_allow":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":"cf468f20-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cf468f20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/6f9fc34b-86e2-4a61-b915-36f64a032bab/signaling 200 8ms","method":"POST","requestID":"cf468f20-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0NH0.iMDsAA6DiJzfro8zAQiYjB9ODhoIQemeU4kSrprWFHM","level":"info","message":"auth send jwt","requestID":"06a51b6df88e0e5cc69fa9d283ad1293"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"06a51b6df88e0e5cc69fa9d283ad1293","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31","requestID":"06a51b6df88e0e5cc69fa9d283ad1293"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":672,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:44Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":672,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.748659,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:44Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"06a51b6df88e0e5cc69fa9d283ad1293","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072544,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0NH0.iMDsAA6DiJzfro8zAQiYjB9ODhoIQemeU4kSrprWFHM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"06a51b6df88e0e5cc69fa9d283ad1293","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31","requestID":"06a51b6df88e0e5cc69fa9d283ad1293"} gateway-1 | {"time_local":"16/Oct/2024:09:55:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31 HTTP/1.1","status": "200","body_bytes_sent":"1361","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"06a51b6df88e0e5cc69fa9d283ad1293"} experiment-1 | {"level":"info","message":"GET /experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31 200 13ms","method":"GET","requestID":"06a51b6df88e0e5cc69fa9d283ad1293","responseTime":13,"status":200,"url":"/experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0NH0.iMDsAA6DiJzfro8zAQiYjB9ODhoIQemeU4kSrprWFHM","level":"info","message":"auth send jwt","requestID":"82a07a7e707f356ef5906eeed9c60853"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"82a07a7e707f356ef5906eeed9c60853","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31","requestID":"82a07a7e707f356ef5906eeed9c60853"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":673,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:44Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":673,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.288721,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:44Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"82a07a7e707f356ef5906eeed9c60853","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072544,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0NH0.iMDsAA6DiJzfro8zAQiYjB9ODhoIQemeU4kSrprWFHM"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"82a07a7e707f356ef5906eeed9c60853","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31"},"level":"info","message":"Attempting to finish experiment","requestID":"82a07a7e707f356ef5906eeed9c60853"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"cf52eb30-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":674,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:44Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":674,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.418097,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:44Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/dc67f071-26c8-462e-bc1b-bfea39e3d85d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cf52eb30-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/dc67f071-26c8-462e-bc1b-bfea39e3d85d","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072544,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0NH0.iMDsAA6DiJzfro8zAQiYjB9ODhoIQemeU4kSrprWFHM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"cf52eb30-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/dc67f071-26c8-462e-bc1b-bfea39e3d85d","device":"b622578b-e83b-4400-9419-a5d703fbb6a6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/dc67f071-26c8-462e-bc1b-bfea39e3d85d","device":"6f9fc34b-86e2-4a61-b915-36f64a032bab","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/dc67f071-26c8-462e-bc1b-bfea39e3d85d' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/dc67f071-26c8-462e-bc1b-bfea39e3d85d' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"dc67f071-26c8-462e-bc1b-bfea39e3d85d","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b3953187dbd3819d3c99d6313f2af948","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"b3953187dbd3819d3c99d6313f2af948","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":"closed","url":"http://localhost/devices/b622578b-e83b-4400-9419-a5d703fbb6a6"},{"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/6f9fc34b-86e2-4a61-b915-36f64a032bab"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/dc67f071-26c8-462e-bc1b-bfea39e3d85d"}}},"level":"info","message":"received a callback","requestID":"b3953187dbd3819d3c99d6313f2af948"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"bf64711820f04ab8b0c163fea1d51d97","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fdc67f071-26c8-462e-bc1b-bfea39e3d85d': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fdc67f071-26c8-462e-bc1b-bfea39e3d85d","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"c8961be8-8064-4cd1-b828-261d2242f5ad","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072544.1281512} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"bf64711820f04ab8b0c163fea1d51d97","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":["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/b622578b-e83b-4400-9419-a5d703fbb6a6"},{"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/6f9fc34b-86e2-4a61-b915-36f64a032bab"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/dc67f071-26c8-462e-bc1b-bfea39e3d85d"}}},"level":"info","message":"received a callback","requestID":"bf64711820f04ab8b0c163fea1d51d97"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"94867102-42f1-4303-b494-95bfea5f0139","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072544.1289446} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"cf52eb30-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"dc67f071-26c8-462e-bc1b-bfea39e3d85d","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"cf52eb30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/dc67f071-26c8-462e-bc1b-bfea39e3d85d 204 47ms","method":"DELETE","requestID":"cf52eb30-8ba4-11ef-a62f-5f7f958aa687","responseTime":47,"status":204,"url":"/peerconnections/dc67f071-26c8-462e-bc1b-bfea39e3d85d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31"},"level":"info","message":"Successfully finished experiment","requestID":"82a07a7e707f356ef5906eeed9c60853"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cf5dc0a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":675,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:44Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb622578b-e83b-4400-9419-a5d703fbb6a6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cdcbf5bf-1521-4696-8697-75bfbae498ad","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072544.1775994} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":675,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.619607,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b622578b-e83b-4400-9419-a5d703fbb6a6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cf5dc0a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b622578b-e83b-4400-9419-a5d703fbb6a6","object_type":"device","rebac_allow":false,"scope_allow":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":"cf5dc0a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cf5dc0a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b622578b-e83b-4400-9419-a5d703fbb6a6/signaling 200 14ms","method":"POST","requestID":"cf5dc0a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/b622578b-e83b-4400-9419-a5d703fbb6a6/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F73d238bf-fd19-427e-9275-4a1e87fe7c31': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F73d238bf-fd19-427e-9275-4a1e87fe7c31","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"58e56b8b-5f43-49bb-a034-f5b009985f96","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072544.1848216} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4a1bc6d8-e54d-4809-b27c-991f7bb7770d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072544.1853342} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"82a07a7e707f356ef5906eeed9c60853","responseTime":20,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"cf60a6d0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":676,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:44Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f9fc34b-86e2-4a61-b915-36f64a032bab","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"87d9fe3b-26ad-4454-8c95-d65bc2d24066","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072544.19594} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":676,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.957886,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cf60a6d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab","object_type":"device","rebac_allow":false,"scope_allow":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":"cf60a6d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"cf60a6d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/6f9fc34b-86e2-4a61-b915-36f64a032bab/signaling 200 14ms","method":"POST","requestID":"cf60a6d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31","requestID":"82a07a7e707f356ef5906eeed9c60853"} gateway-1 | {"time_local":"16/Oct/2024:09:55:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.183","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"82a07a7e707f356ef5906eeed9c60853"} experiment-1 | {"level":"info","message":"DELETE /experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31 204 179ms","method":"DELETE","requestID":"82a07a7e707f356ef5906eeed9c60853","responseTime":179,"status":204,"url":"/experiments/73d238bf-fd19-427e-9275-4a1e87fe7c31"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 137ms","method":"POST","requestID":"b3953187dbd3819d3c99d6313f2af948","responseTime":137,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.142","http_referrer":"","http_user_agent":"node-fetch","requestID":"b3953187dbd3819d3c99d6313f2af948"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 136ms","method":"POST","requestID":"bf64711820f04ab8b0c163fea1d51d97","responseTime":136,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.143","http_referrer":"","http_user_agent":"node-fetch","requestID":"bf64711820f04ab8b0c163fea1d51d97"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0NH0.iMDsAA6DiJzfro8zAQiYjB9ODhoIQemeU4kSrprWFHM","level":"info","message":"auth send jwt","requestID":"0b58f57abcdcd920d70bbdf1e44a5e83"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"0b58f57abcdcd920d70bbdf1e44a5e83","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"0b58f57abcdcd920d70bbdf1e44a5e83"} gateway-1 | {"time_local":"16/Oct/2024:09:55:44 +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.770","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"e243ef0bbe2e20aae3191f6d06c5b79a"} gateway-1 | {"time_local":"16/Oct/2024:09:55:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3319","request_time":"0.800","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"bd0315b8dea4d68421b8225cb7359621"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/6f9fc34b-86e2-4a61-b915-36f64a032bab' closed"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":677,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:44Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":677,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.72251,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:44Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0b58f57abcdcd920d70bbdf1e44a5e83","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072544,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0NH0.iMDsAA6DiJzfro8zAQiYjB9ODhoIQemeU4kSrprWFHM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0b58f57abcdcd920d70bbdf1e44a5e83","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/b622578b-e83b-4400-9419-a5d703fbb6a6' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99ae6b09-b191-482b-97ca-901086e5e45c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"8ffea1fc-2cd1-4f20-8d2f-94384c5bcbde","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072544.296851} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0b58f57abcdcd920d70bbdf1e44a5e83","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5f0b7a9a-7a47-4f20-99f2-2f8e6a4ac0e8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072544.3015132} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"0b58f57abcdcd920d70bbdf1e44a5e83","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99ae6b09-b191-482b-97ca-901086e5e45c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"f42216ac-08d2-455d-b5f0-198453b250c9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072544.3107677} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"331a3f0c-0af5-4457-9e6c-b6f8be25df5e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072544.3111513} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"0b58f57abcdcd920d70bbdf1e44a5e83","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99ae6b09-b191-482b-97ca-901086e5e45c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99ae6b09-b191-482b-97ca-901086e5e45c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:44.310744462Z"}]},"request_id":"de168d10-e8e2-4058-b6de-e807b09202f6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072544.3151367} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0b58f57abcdcd920d70bbdf1e44a5e83","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"0b58f57abcdcd920d70bbdf1e44a5e83"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"0b58f57abcdcd920d70bbdf1e44a5e83","responseTime":47,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.054","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0b58f57abcdcd920d70bbdf1e44a5e83"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0NH0.iMDsAA6DiJzfro8zAQiYjB9ODhoIQemeU4kSrprWFHM","level":"info","message":"auth send jwt","requestID":"31bd50c49611a339edb5d6048ee31db9"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"31bd50c49611a339edb5d6048ee31db9","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"31bd50c49611a339edb5d6048ee31db9"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":678,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:44Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":678,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.702858,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:44Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"31bd50c49611a339edb5d6048ee31db9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072544,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0NH0.iMDsAA6DiJzfro8zAQiYjB9ODhoIQemeU4kSrprWFHM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"31bd50c49611a339edb5d6048ee31db9","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"35567a13-5cf0-4e6d-b9e0-32a1ecf4ebb3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072544.3360188} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"31bd50c49611a339edb5d6048ee31db9","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"598c86bb-50d5-42ac-b9a9-ad9b98a3aa6a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072544.340103} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"31bd50c49611a339edb5d6048ee31db9","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"f38e632d-718e-475e-8d35-9075c38e3ed2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072544.3558939} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5f291505-a28c-43a9-8e44-47db7746492a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072544.3561995} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"31bd50c49611a339edb5d6048ee31db9","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:44.355868079Z"}]},"request_id":"50c98e62-eb83-47e8-aa3b-b1b33595126f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072544.3614488} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"31bd50c49611a339edb5d6048ee31db9","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"31bd50c49611a339edb5d6048ee31db9"} gateway-1 | {"time_local":"16/Oct/2024:09:55:44 +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":"31bd50c49611a339edb5d6048ee31db9"} device-1 | {"level":"info","message":"POST /devices? 201 42ms","method":"POST","requestID":"31bd50c49611a339edb5d6048ee31db9","responseTime":42,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0NH0.iMDsAA6DiJzfro8zAQiYjB9ODhoIQemeU4kSrprWFHM","level":"info","message":"auth send jwt","requestID":"d6b04dd6f328e5b75e31b2e135895da9"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d6b04dd6f328e5b75e31b2e135895da9","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"d6b04dd6f328e5b75e31b2e135895da9"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":679,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:44Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":679,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.19523,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:44Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d6b04dd6f328e5b75e31b2e135895da9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072544,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0NH0.iMDsAA6DiJzfro8zAQiYjB9ODhoIQemeU4kSrprWFHM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d6b04dd6f328e5b75e31b2e135895da9","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:44.355868079Z"}]},"request_id":"a7a70876-3e30-4997-9daa-ad663050a7db","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072544.8589811} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"d6b04dd6f328e5b75e31b2e135895da9","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1e0e6d79-45f5-4942-8f3d-3b6ca5236fd4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072544.8660452} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"d6b04dd6f328e5b75e31b2e135895da9","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:44.355868079Z"}]},"request_id":"ee5e116f-141f-4954-a9c0-7ea4a72fda39","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072544.8791962} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"d6b04dd6f328e5b75e31b2e135895da9","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"d6b04dd6f328e5b75e31b2e135895da9"} gateway-1 | {"time_local":"16/Oct/2024:09:55:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.043","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"d6b04dd6f328e5b75e31b2e135895da9"} device-1 | {"level":"info","message":"PATCH /devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa 200 39ms","method":"PATCH","requestID":"d6b04dd6f328e5b75e31b2e135895da9","responseTime":39,"status":200,"url":"/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0NH0.iMDsAA6DiJzfro8zAQiYjB9ODhoIQemeU4kSrprWFHM","level":"info","message":"auth send jwt","requestID":"241dfa7cd263307ac6abfe187b096bc8"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"241dfa7cd263307ac6abfe187b096bc8","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"241dfa7cd263307ac6abfe187b096bc8"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":680,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:44Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":680,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.745559,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:44Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"241dfa7cd263307ac6abfe187b096bc8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072544,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0NH0.iMDsAA6DiJzfro8zAQiYjB9ODhoIQemeU4kSrprWFHM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"241dfa7cd263307ac6abfe187b096bc8","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"241dfa7cd263307ac6abfe187b096bc8"} gateway-1 | {"time_local":"16/Oct/2024:09:55:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa/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.10","requestID":"241dfa7cd263307ac6abfe187b096bc8"} device-1 | {"level":"info","message":"POST /devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa/websocket 200 24ms","method":"POST","requestID":"241dfa7cd263307ac6abfe187b096bc8","responseTime":24,"status":200,"url":"/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"48d3c6c252ed06158efb5748c492bac5","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"48d3c6c252ed06158efb5748c492bac5","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"OPTIONS /devices/99ae6b09-b191-482b-97ca-901086e5e45c/websocket 200 1ms","method":"OPTIONS","requestID":"48d3c6c252ed06158efb5748c492bac5","responseTime":1,"status":200,"url":"/devices/99ae6b09-b191-482b-97ca-901086e5e45c/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:55:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/99ae6b09-b191-482b-97ca-901086e5e45c/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":"48d3c6c252ed06158efb5748c492bac5"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0Nn0.riFp_YAG9c1M7UDcsY56QxDrK2BQbbE_3Oa2daExFt8","level":"info","message":"auth send jwt","requestID":"fdf2e6dae9a8d9366a2df405eba28404"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"fdf2e6dae9a8d9366a2df405eba28404","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"fdf2e6dae9a8d9366a2df405eba28404"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":681,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":681,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.29719,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/99ae6b09-b191-482b-97ca-901086e5e45c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fdf2e6dae9a8d9366a2df405eba28404","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/99ae6b09-b191-482b-97ca-901086e5e45c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072546,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0Nn0.riFp_YAG9c1M7UDcsY56QxDrK2BQbbE_3Oa2daExFt8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"fdf2e6dae9a8d9366a2df405eba28404","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"fdf2e6dae9a8d9366a2df405eba28404"} device-1 | {"level":"info","message":"POST /devices/99ae6b09-b191-482b-97ca-901086e5e45c/websocket 200 23ms","method":"POST","requestID":"fdf2e6dae9a8d9366a2df405eba28404","responseTime":23,"status":200,"url":"/devices/99ae6b09-b191-482b-97ca-901086e5e45c/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:55:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/99ae6b09-b191-482b-97ca-901086e5e45c/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":"fdf2e6dae9a8d9366a2df405eba28404"} device-1 | {"level":"info","message":"device 'http://localhost/devices/99ae6b09-b191-482b-97ca-901086e5e45c' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"448bcc5fc6c6111cc72beea26248dc50","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"448bcc5fc6c6111cc72beea26248dc50","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/99ae6b09-b191-482b-97ca-901086e5e45c? 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":"448bcc5fc6c6111cc72beea26248dc50"} device-1 | {"level":"info","message":"OPTIONS /devices/99ae6b09-b191-482b-97ca-901086e5e45c? 200 1ms","method":"OPTIONS","requestID":"448bcc5fc6c6111cc72beea26248dc50","responseTime":1,"status":200,"url":"/devices/99ae6b09-b191-482b-97ca-901086e5e45c?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0Nn0.riFp_YAG9c1M7UDcsY56QxDrK2BQbbE_3Oa2daExFt8","level":"info","message":"auth send jwt","requestID":"64af2917b3c886cead9c8de1474f4f82"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"64af2917b3c886cead9c8de1474f4f82","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"64af2917b3c886cead9c8de1474f4f82"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":682,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":682,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.374463,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/99ae6b09-b191-482b-97ca-901086e5e45c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"64af2917b3c886cead9c8de1474f4f82","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/99ae6b09-b191-482b-97ca-901086e5e45c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072546,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0Nn0.riFp_YAG9c1M7UDcsY56QxDrK2BQbbE_3Oa2daExFt8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"64af2917b3c886cead9c8de1474f4f82","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99ae6b09-b191-482b-97ca-901086e5e45c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99ae6b09-b191-482b-97ca-901086e5e45c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:44.310744462Z"}]},"request_id":"1c8c1f34-fc78-47d8-821f-c0c928fe72d6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072546.4793267} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"64af2917b3c886cead9c8de1474f4f82","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d51e6255-ab99-4656-8f8d-7f2fc7c59c6f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072546.4879045} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"64af2917b3c886cead9c8de1474f4f82","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99ae6b09-b191-482b-97ca-901086e5e45c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99ae6b09-b191-482b-97ca-901086e5e45c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:44.310744462Z"}]},"request_id":"1f4a9691-6adb-4e58-8825-9e8c44314bf5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072546.5002153} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"64af2917b3c886cead9c8de1474f4f82","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"64af2917b3c886cead9c8de1474f4f82"} gateway-1 | {"time_local":"16/Oct/2024:09:55:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/99ae6b09-b191-482b-97ca-901086e5e45c? 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":"64af2917b3c886cead9c8de1474f4f82"} device-1 | {"level":"info","message":"PATCH /devices/99ae6b09-b191-482b-97ca-901086e5e45c? 200 40ms","method":"PATCH","requestID":"64af2917b3c886cead9c8de1474f4f82","responseTime":40,"status":200,"url":"/devices/99ae6b09-b191-482b-97ca-901086e5e45c?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0Nn0.riFp_YAG9c1M7UDcsY56QxDrK2BQbbE_3Oa2daExFt8","level":"info","message":"auth send jwt","requestID":"75797af47e01bc6431f63342da87f53c"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"75797af47e01bc6431f63342da87f53c","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"75797af47e01bc6431f63342da87f53c"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":683,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":683,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.808177,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/99ae6b09-b191-482b-97ca-901086e5e45c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"75797af47e01bc6431f63342da87f53c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/99ae6b09-b191-482b-97ca-901086e5e45c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072546,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0Nn0.riFp_YAG9c1M7UDcsY56QxDrK2BQbbE_3Oa2daExFt8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"75797af47e01bc6431f63342da87f53c","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99ae6b09-b191-482b-97ca-901086e5e45c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99ae6b09-b191-482b-97ca-901086e5e45c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:44.310744462Z"}]},"request_id":"77904525-4af7-4d23-a3e2-246f5ac3a57c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072546.5294425} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"75797af47e01bc6431f63342da87f53c","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"75797af47e01bc6431f63342da87f53c"} device-1 | {"level":"info","message":"GET /devices/99ae6b09-b191-482b-97ca-901086e5e45c? 200 18ms","method":"GET","requestID":"75797af47e01bc6431f63342da87f53c","responseTime":18,"status":200,"url":"/devices/99ae6b09-b191-482b-97ca-901086e5e45c?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/99ae6b09-b191-482b-97ca-901086e5e45c? 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":"75797af47e01bc6431f63342da87f53c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0Nn0.riFp_YAG9c1M7UDcsY56QxDrK2BQbbE_3Oa2daExFt8","level":"info","message":"auth send jwt","requestID":"2db59be71eb6a9f7854c6e947fcaba2d"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"2db59be71eb6a9f7854c6e947fcaba2d","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2db59be71eb6a9f7854c6e947fcaba2d"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":684,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":684,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.175621,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"2db59be71eb6a9f7854c6e947fcaba2d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072546,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0Nn0.riFp_YAG9c1M7UDcsY56QxDrK2BQbbE_3Oa2daExFt8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2db59be71eb6a9f7854c6e947fcaba2d","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:44.355868079Z"}]},"request_id":"b933ad0c-0926-4595-a050-f0999c10b54c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072546.5528922} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"2db59be71eb6a9f7854c6e947fcaba2d","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2db59be71eb6a9f7854c6e947fcaba2d"} device-1 | {"level":"info","message":"GET /devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa? 200 16ms","method":"GET","requestID":"2db59be71eb6a9f7854c6e947fcaba2d","responseTime":16,"status":200,"url":"/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa? 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":"2db59be71eb6a9f7854c6e947fcaba2d"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0Nn0.riFp_YAG9c1M7UDcsY56QxDrK2BQbbE_3Oa2daExFt8","level":"info","message":"auth send jwt","requestID":"d3f776373d13714c85e8cd18a2e06b38"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"d3f776373d13714c85e8cd18a2e06b38","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"d3f776373d13714c85e8cd18a2e06b38"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":685,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":685,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.30127,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d3f776373d13714c85e8cd18a2e06b38","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072546,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0Nn0.riFp_YAG9c1M7UDcsY56QxDrK2BQbbE_3Oa2daExFt8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d3f776373d13714c85e8cd18a2e06b38","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9"},"level":"info","message":"Attempting to run experiment","requestID":"d3f776373d13714c85e8cd18a2e06b38"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9"},"level":"info","message":"Attempting to book experiment","requestID":"d3f776373d13714c85e8cd18a2e06b38"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9"},"level":"info","message":"Successfully booked experiment","requestID":"d3f776373d13714c85e8cd18a2e06b38"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d0d21120-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d0d25f40-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":686,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":687,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":686,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.670687,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/99ae6b09-b191-482b-97ca-901086e5e45c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d0d21120-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/99ae6b09-b191-482b-97ca-901086e5e45c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072546,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0Nn0.riFp_YAG9c1M7UDcsY56QxDrK2BQbbE_3Oa2daExFt8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d0d21120-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":687,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.065036,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d0d25f40-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072546,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0Nn0.riFp_YAG9c1M7UDcsY56QxDrK2BQbbE_3Oa2daExFt8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d0d25f40-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99ae6b09-b191-482b-97ca-901086e5e45c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99ae6b09-b191-482b-97ca-901086e5e45c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:44.310744462Z"}]},"request_id":"9a6ac3af-8bff-42da-8d9f-934ef47a2ebf","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072546.6211624} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d0d21120-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:44.355868079Z"}]},"request_id":"cee80f56-4088-4bbf-9318-b503c93a2851","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072546.6222188} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d0d25f40-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d0d21120-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/99ae6b09-b191-482b-97ca-901086e5e45c? 200 17ms","method":"GET","requestID":"d0d21120-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/99ae6b09-b191-482b-97ca-901086e5e45c?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d0d25f40-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa? 200 16ms","method":"GET","requestID":"d0d25f40-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9"},"level":"info","message":"Setting up experiment","requestID":"d3f776373d13714c85e8cd18a2e06b38"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"d3f776373d13714c85e8cd18a2e06b38"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9"},"level":"info","message":"Successfully locked booking for experiment","requestID":"d3f776373d13714c85e8cd18a2e06b38"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"d3f776373d13714c85e8cd18a2e06b38"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"d3f776373d13714c85e8cd18a2e06b38"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9"},"level":"info","message":"Attempting to update booking for experiment","requestID":"d3f776373d13714c85e8cd18a2e06b38"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9"},"level":"info","message":"Successfully updated booking for experiment","requestID":"d3f776373d13714c85e8cd18a2e06b38"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9"},"level":"info","message":"Successfully set up experiment","requestID":"d3f776373d13714c85e8cd18a2e06b38"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d0dc7160-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d0dcbf80-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9"},"level":"info","message":"Successfully running experiment","requestID":"d3f776373d13714c85e8cd18a2e06b38"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d0dd34b0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":688,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":688,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.364,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":689,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/99ae6b09-b191-482b-97ca-901086e5e45c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d0dc7160-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/99ae6b09-b191-482b-97ca-901086e5e45c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072546,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0Nn0.riFp_YAG9c1M7UDcsY56QxDrK2BQbbE_3Oa2daExFt8"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"d0dc7160-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":689,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.289237,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"client_addr":"127.0.0.1:59252","level":"info","msg":"Received request.","req_id":690,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d0dcbf80-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072546,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0Nn0.riFp_YAG9c1M7UDcsY56QxDrK2BQbbE_3Oa2daExFt8"} authorization-1 | {"level":"info","message":"POST /authorize 200 13ms","method":"POST","requestID":"d0dcbf80-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59252","level":"info","msg":"Sent response.","req_id":690,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.568183,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99ae6b09-b191-482b-97ca-901086e5e45c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9096b2d9-5d5d-4541-ae43-6f1abfc9908a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072546.6978064} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/99ae6b09-b191-482b-97ca-901086e5e45c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d0dd34b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/99ae6b09-b191-482b-97ca-901086e5e45c","object_type":"device","rebac_allow":false,"scope_allow":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":"d0dd34b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d0dd34b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/99ae6b09-b191-482b-97ca-901086e5e45c/signaling 200 25ms","method":"POST","requestID":"d0dd34b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":25,"status":200,"url":"/devices/99ae6b09-b191-482b-97ca-901086e5e45c/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d0e17a70-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99ae6b09-b191-482b-97ca-901086e5e45c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99ae6b09-b191-482b-97ca-901086e5e45c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:44.310744462Z"}]},"request_id":"1411211f-6c80-42d5-81f5-ac73d4b0eaba","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072546.701968} authorization-1 | {"level":"info","message":"POST /relations/query 200 17ms","method":"POST","requestID":"d0dc7160-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d0dc7160-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/99ae6b09-b191-482b-97ca-901086e5e45c? 200 41ms","method":"GET","requestID":"d0dc7160-8ba4-11ef-a62f-5f7f958aa687","responseTime":41,"status":200,"url":"/devices/99ae6b09-b191-482b-97ca-901086e5e45c?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:44.355868079Z"}]},"request_id":"8e4f407d-06cd-4758-b3cb-abb7278ec96d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072546.7148585} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1c580c92-74c1-452e-b3b9-8d028fa279d9#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1c580c92-74c1-452e-b3b9-8d028fa279d9","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"86165800-ee34-40d2-834a-0680fa1daecb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072546.7186022} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9ee86b4a-f4a9-4fda-b4af-6d467825976d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072546.718952} authorization-1 | {"level":"info","message":"POST /relations/query 200 18ms","method":"POST","requestID":"d0dcbf80-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/update 200 35ms","method":"POST","requestID":"d3f776373d13714c85e8cd18a2e06b38","responseTime":35,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3fedebbc-1567-4c2a-9a2d-8f2865af4456","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072546.7227912} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":691,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":691,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.451072,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d0e17a70-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","object_type":"device","rebac_allow":false,"scope_allow":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":"d0e17a70-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d0dcbf80-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa? 200 50ms","method":"GET","requestID":"d0dcbf80-8ba4-11ef-a62f-5f7f958aa687","responseTime":50,"status":200,"url":"/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa?"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"d3f776373d13714c85e8cd18a2e06b38"} gateway-1 | {"time_local":"16/Oct/2024:09:55:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1292","request_time":"0.171","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d3f776373d13714c85e8cd18a2e06b38"} experiment-1 | {"level":"info","message":"POST /experiments? 201 164ms","method":"POST","requestID":"d3f776373d13714c85e8cd18a2e06b38","responseTime":164,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d0e17a70-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa/signaling 200 21ms","method":"POST","requestID":"d0e17a70-8ba4-11ef-a62f-5f7f958aa687","responseTime":21,"status":200,"url":"/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d0e4fce0-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0Nn0.riFp_YAG9c1M7UDcsY56QxDrK2BQbbE_3Oa2daExFt8","level":"info","message":"auth send jwt","requestID":"1346896d1d1765cd902ee9367d2bfee4"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"1346896d1d1765cd902ee9367d2bfee4","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":692,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:46Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1346896d1d1765cd902ee9367d2bfee4"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99ae6b09-b191-482b-97ca-901086e5e45c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f08bc467-164d-463c-9986-7fe0d3cdb2b5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072546.7398334} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":692,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.903708,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":693,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/99ae6b09-b191-482b-97ca-901086e5e45c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d0e4fce0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/99ae6b09-b191-482b-97ca-901086e5e45c","object_type":"device","rebac_allow":false,"scope_allow":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":"d0e4fce0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":693,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.87703,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/99ae6b09-b191-482b-97ca-901086e5e45c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"1346896d1d1765cd902ee9367d2bfee4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/99ae6b09-b191-482b-97ca-901086e5e45c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072546,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0Nn0.riFp_YAG9c1M7UDcsY56QxDrK2BQbbE_3Oa2daExFt8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1346896d1d1765cd902ee9367d2bfee4","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d0e4fce0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/99ae6b09-b191-482b-97ca-901086e5e45c/signaling 200 13ms","method":"POST","requestID":"d0e4fce0-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/99ae6b09-b191-482b-97ca-901086e5e45c/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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99ae6b09-b191-482b-97ca-901086e5e45c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99ae6b09-b191-482b-97ca-901086e5e45c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:44.310744462Z"}]},"request_id":"a0eaa8b1-a6d3-42b9-bfd5-3dd14d93661d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072546.7476735} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"1346896d1d1765cd902ee9367d2bfee4","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d0e794f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1346896d1d1765cd902ee9367d2bfee4"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":694,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:46Z"} gateway-1 | {"time_local":"16/Oct/2024:09:55:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/99ae6b09-b191-482b-97ca-901086e5e45c? 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":"1346896d1d1765cd902ee9367d2bfee4"} device-1 | {"level":"info","message":"GET /devices/99ae6b09-b191-482b-97ca-901086e5e45c? 200 16ms","method":"GET","requestID":"1346896d1d1765cd902ee9367d2bfee4","responseTime":16,"status":200,"url":"/devices/99ae6b09-b191-482b-97ca-901086e5e45c?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"513fc91c-9b07-41df-a8e4-ad361947ca1d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072546.7563188} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":694,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.341009,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d0e794f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","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.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0Nn0.riFp_YAG9c1M7UDcsY56QxDrK2BQbbE_3Oa2daExFt8","level":"info","message":"auth send jwt","requestID":"1af3ff1d2f382b81b496e70b145e722a"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"d0e794f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"1af3ff1d2f382b81b496e70b145e722a","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1af3ff1d2f382b81b496e70b145e722a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d0e794f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa/signaling 200 14ms","method":"POST","requestID":"d0e794f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa/signaling"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":695,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:46Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"d3f776373d13714c85e8cd18a2e06b38"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":695,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.935447,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"1af3ff1d2f382b81b496e70b145e722a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072546,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0Nn0.riFp_YAG9c1M7UDcsY56QxDrK2BQbbE_3Oa2daExFt8"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d0ea05f0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"1af3ff1d2f382b81b496e70b145e722a","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d0ea2d00-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":696,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":696,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.214253,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Received request.","req_id":697,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/99ae6b09-b191-482b-97ca-901086e5e45c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d0ea05f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/99ae6b09-b191-482b-97ca-901086e5e45c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072546,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0Nn0.riFp_YAG9c1M7UDcsY56QxDrK2BQbbE_3Oa2daExFt8"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d0ea05f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59236","level":"info","msg":"Sent response.","req_id":697,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.855026,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d0ea2d00-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072546,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0Nn0.riFp_YAG9c1M7UDcsY56QxDrK2BQbbE_3Oa2daExFt8"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d0ea2d00-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:44.355868079Z"}]},"request_id":"c81e54b0-ff1d-49fd-a4b1-81ba61377547","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072546.7736228} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"1af3ff1d2f382b81b496e70b145e722a","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1af3ff1d2f382b81b496e70b145e722a"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99ae6b09-b191-482b-97ca-901086e5e45c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99ae6b09-b191-482b-97ca-901086e5e45c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:44.310744462Z"}]},"request_id":"d0aac9ff-d8c9-4bcd-bb08-d293aa49de6a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072546.778322} gateway-1 | {"time_local":"16/Oct/2024:09:55:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa? 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":"1af3ff1d2f382b81b496e70b145e722a"} device-1 | {"level":"info","message":"GET /devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa? 200 17ms","method":"GET","requestID":"1af3ff1d2f382b81b496e70b145e722a","responseTime":17,"status":200,"url":"/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa?"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d0ea05f0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:44.355868079Z"}]},"request_id":"f2510f2a-adc7-467a-9b1f-657861995b84","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072546.7790828} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d0ea2d00-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d0ea05f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/99ae6b09-b191-482b-97ca-901086e5e45c? 200 16ms","method":"GET","requestID":"d0ea05f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/99ae6b09-b191-482b-97ca-901086e5e45c?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d0ea2d00-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa? 200 16ms","method":"GET","requestID":"d0ea2d00-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9"},"level":"info","message":"Building connection plan","requestID":"d3f776373d13714c85e8cd18a2e06b38"} 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":"dcb62133-cad4-46a0-b26b-0f5e658b140b"},{"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":"ce94062e-99b1-4bd5-ae32-a9fa6115f669"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"0930e633-64b5-4aca-acd6-482c4fc76c92"}]},"level":"info","message":"Built pairwise service configurations","requestID":"d3f776373d13714c85e8cd18a2e06b38"} 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/99ae6b09-b191-482b-97ca-901086e5e45c"},{"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/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"d3f776373d13714c85e8cd18a2e06b38"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"d0ed1330-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":698,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":698,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.797169,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d0ed1330-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072546,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0Nn0.riFp_YAG9c1M7UDcsY56QxDrK2BQbbE_3Oa2daExFt8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d0ed1330-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"59f70dda-90de-41f3-ade1-87adbdadecaf","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072546.800351} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"97e0a5f6-28fc-41ab-87f3-e5b71c4e2723","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072546.8006341} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"d0ed1330-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"d0ed1330-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"d0ed1330-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/5faed63c-6b33-4526-a3e2-4572b503fc26'","requestID":"d0ed1330-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/5faed63c-6b33-4526-a3e2-4572b503fc26'","requestID":"d0ed1330-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"d0ed1330-8ba4-11ef-a62f-5f7f958aa687"} 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":"d0ed1330-8ba4-11ef-a62f-5f7f958aa687","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":"d0ed1330-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"d3f776373d13714c85e8cd18a2e06b38"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d0f613e0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":699,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99ae6b09-b191-482b-97ca-901086e5e45c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"51576aa8-dcc4-4dba-822f-0005102a85e0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072546.8515217} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":699,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.707233,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/99ae6b09-b191-482b-97ca-901086e5e45c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d0f613e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/99ae6b09-b191-482b-97ca-901086e5e45c","object_type":"device","rebac_allow":false,"scope_allow":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":"d0f613e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d0f613e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/99ae6b09-b191-482b-97ca-901086e5e45c/signaling 200 10ms","method":"POST","requestID":"d0f613e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/99ae6b09-b191-482b-97ca-901086e5e45c/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d0f7e8a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":700,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:46Z"} device-1 | {"device":"99ae6b09-b191-482b-97ca-901086e5e45c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ba482329-bbb6-4fb8-a6a9-d8af6305dcf3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072546.8623323} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":700,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.480277,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:46Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d0f7e8a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","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":"99ae6b09-b191-482b-97ca-901086e5e45c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d0f7e8a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d0f7e8a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa/signaling 200 10ms","method":"POST","requestID":"d0f7e8a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa/signaling"} device-1 | {"device":"ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","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":"5faed63c-6b33-4526-a3e2-4572b503fc26","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 1038867668753072136 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:jTeI\r\na=ice-pwd:iJi8/Qgt/THhG1vLFlLsfOgs\r\na=ice-options:trickle\r\na=fingerprint:sha-256 70:7E:A4:E5:D7:1C:69:4F:B4:67:03:F6:F7:16:83:D4:3F:E0:20:0D:D0:16:D8:CB:77:28:05:1B:EE:9F:3A:97\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"99ae6b09-b191-482b-97ca-901086e5e45c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:3763015850 1 udp 2113937151 2ffefc13-20f9-4bea-bc3e-08d41c93f950.local 35562 typ host generation 0 ufrag jTeI network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"99ae6b09-b191-482b-97ca-901086e5e45c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"99ae6b09-b191-482b-97ca-901086e5e45c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:1935716793 1 udp 1677729535 141.24.211.56 35562 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag jTeI network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"99ae6b09-b191-482b-97ca-901086e5e45c","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/5faed63c-6b33-4526-a3e2-4572b503fc26' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"5faed63c-6b33-4526-a3e2-4572b503fc26","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"99ae6b09-b191-482b-97ca-901086e5e45c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","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":"ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","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":"ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","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":"3423f88e926aa3a86b5fdb05b9ae8869","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"3423f88e926aa3a86b5fdb05b9ae8869","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/99ae6b09-b191-482b-97ca-901086e5e45c'"} 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/99ae6b09-b191-482b-97ca-901086e5e45c"},{"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/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/5faed63c-6b33-4526-a3e2-4572b503fc26"}}},"level":"info","message":"received a callback","requestID":"3423f88e926aa3a86b5fdb05b9ae8869"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 6ms","method":"POST","requestID":"3423f88e926aa3a86b5fdb05b9ae8869","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.009","http_referrer":"","http_user_agent":"node-fetch","requestID":"3423f88e926aa3a86b5fdb05b9ae8869"} device-1 | {"data":{"peerconnection":"5faed63c-6b33-4526-a3e2-4572b503fc26","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","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":"99ae6b09-b191-482b-97ca-901086e5e45c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","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":"5faed63c-6b33-4526-a3e2-4572b503fc26","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"99ae6b09-b191-482b-97ca-901086e5e45c","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/5faed63c-6b33-4526-a3e2-4572b503fc26' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"5faed63c-6b33-4526-a3e2-4572b503fc26","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a8f7d071d00d49149ba200e32ade7c17","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"a8f7d071d00d49149ba200e32ade7c17","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":["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/99ae6b09-b191-482b-97ca-901086e5e45c"},{"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/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/5faed63c-6b33-4526-a3e2-4572b503fc26"}}},"level":"info","message":"received a callback","requestID":"a8f7d071d00d49149ba200e32ade7c17"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"d23327c0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":701,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:48Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F5faed63c-6b33-4526-a3e2-4572b503fc26","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7c7176e6-a505-4356-b866-ce1ced13e720","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072548.9296813} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":701,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.647864,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/5faed63c-6b33-4526-a3e2-4572b503fc26","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d23327c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/5faed63c-6b33-4526-a3e2-4572b503fc26","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":"d23327c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"d23327c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/5faed63c-6b33-4526-a3e2-4572b503fc26 200 11ms","method":"GET","requestID":"d23327c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/peerconnections/5faed63c-6b33-4526-a3e2-4572b503fc26"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 41ms","method":"POST","requestID":"a8f7d071d00d49149ba200e32ade7c17","responseTime":41,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.045","http_referrer":"","http_user_agent":"node-fetch","requestID":"a8f7d071d00d49149ba200e32ade7c17"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d238cd10-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":702,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:48Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99ae6b09-b191-482b-97ca-901086e5e45c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7622abb9-2612-4dc0-b9f9-be8e656a327f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072548.967197} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":702,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.498777,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:48Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/99ae6b09-b191-482b-97ca-901086e5e45c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d238cd10-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/99ae6b09-b191-482b-97ca-901086e5e45c","object_type":"device","rebac_allow":false,"scope_allow":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":"d238cd10-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d238cd10-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/99ae6b09-b191-482b-97ca-901086e5e45c/signaling 200 13ms","method":"POST","requestID":"d238cd10-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/99ae6b09-b191-482b-97ca-901086e5e45c/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d23b3e10-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":703,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:48Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"288fec29-8e82-4dba-a3a8-b686f0267549","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072548.9844568} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":703,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.929839,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:48Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d23b3e10-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","object_type":"device","rebac_allow":false,"scope_allow":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":"d23b3e10-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d23b3e10-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa/signaling 200 14ms","method":"POST","requestID":"d23b3e10-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0OX0.aqTsGzyqTvHEZ1PAYBZBErP2mv5mUd9L5nrgSARJJPw","level":"info","message":"auth send jwt","requestID":"e501e74634273b0d93d4a147d7bdba83"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e501e74634273b0d93d4a147d7bdba83","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9","requestID":"e501e74634273b0d93d4a147d7bdba83"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":704,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":704,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.136694,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e501e74634273b0d93d4a147d7bdba83","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072549,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0OX0.aqTsGzyqTvHEZ1PAYBZBErP2mv5mUd9L5nrgSARJJPw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e501e74634273b0d93d4a147d7bdba83","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9","requestID":"e501e74634273b0d93d4a147d7bdba83"} gateway-1 | {"time_local":"16/Oct/2024:09:55:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9 HTTP/1.1","status": "200","body_bytes_sent":"1365","request_time":"0.026","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e501e74634273b0d93d4a147d7bdba83"} experiment-1 | {"level":"info","message":"GET /experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9 200 19ms","method":"GET","requestID":"e501e74634273b0d93d4a147d7bdba83","responseTime":19,"status":200,"url":"/experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0OX0.aqTsGzyqTvHEZ1PAYBZBErP2mv5mUd9L5nrgSARJJPw","level":"info","message":"auth send jwt","requestID":"1e4b3f2a6573656418d92b6f89d05def"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"1e4b3f2a6573656418d92b6f89d05def","responseTime":6,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9","requestID":"1e4b3f2a6573656418d92b6f89d05def"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":705,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":705,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":2.477603,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:49Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"1e4b3f2a6573656418d92b6f89d05def","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072549,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0OX0.aqTsGzyqTvHEZ1PAYBZBErP2mv5mUd9L5nrgSARJJPw"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"1e4b3f2a6573656418d92b6f89d05def","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9"},"level":"info","message":"Attempting to finish experiment","requestID":"1e4b3f2a6573656418d92b6f89d05def"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"d248f9b0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":706,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":706,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.274391,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:49Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/5faed63c-6b33-4526-a3e2-4572b503fc26","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d248f9b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/5faed63c-6b33-4526-a3e2-4572b503fc26","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072549,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0OX0.aqTsGzyqTvHEZ1PAYBZBErP2mv5mUd9L5nrgSARJJPw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d248f9b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/5faed63c-6b33-4526-a3e2-4572b503fc26","device":"99ae6b09-b191-482b-97ca-901086e5e45c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","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":"ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","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":"ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","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/5faed63c-6b33-4526-a3e2-4572b503fc26' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/5faed63c-6b33-4526-a3e2-4572b503fc26' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"5faed63c-6b33-4526-a3e2-4572b503fc26","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F5faed63c-6b33-4526-a3e2-4572b503fc26': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F5faed63c-6b33-4526-a3e2-4572b503fc26","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"09e20a29-922d-4209-97bf-2a056a86dbf0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072549.0940506} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c3e789adcbfe0e23d66e04b6401cd1b8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f34e45b7-272b-4cac-9ed8-2d028b6bddbc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072549.094744} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"c3e789adcbfe0e23d66e04b6401cd1b8","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"d248f9b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"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":["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/99ae6b09-b191-482b-97ca-901086e5e45c"},{"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/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/5faed63c-6b33-4526-a3e2-4572b503fc26"}}},"level":"info","message":"received a callback","requestID":"c3e789adcbfe0e23d66e04b6401cd1b8"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d3f6afd3f724ea32ea7bd7aa3ffbb9db","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"d3f6afd3f724ea32ea7bd7aa3ffbb9db","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/99ae6b09-b191-482b-97ca-901086e5e45c"},{"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/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/5faed63c-6b33-4526-a3e2-4572b503fc26"}}},"level":"info","message":"received a callback","requestID":"d3f6afd3f724ea32ea7bd7aa3ffbb9db"} device-1 | {"data":{"peerconnection":"5faed63c-6b33-4526-a3e2-4572b503fc26","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"d248f9b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/5faed63c-6b33-4526-a3e2-4572b503fc26 204 52ms","method":"DELETE","requestID":"d248f9b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":52,"status":204,"url":"/peerconnections/5faed63c-6b33-4526-a3e2-4572b503fc26"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9"},"level":"info","message":"Successfully finished experiment","requestID":"1e4b3f2a6573656418d92b6f89d05def"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d2546b60-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":707,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:49Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99ae6b09-b191-482b-97ca-901086e5e45c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7de3a0cc-8e3c-4396-94c9-a829fc74c447","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072549.1500025} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":707,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.870908,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/99ae6b09-b191-482b-97ca-901086e5e45c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d2546b60-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/99ae6b09-b191-482b-97ca-901086e5e45c","object_type":"device","rebac_allow":false,"scope_allow":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":"d2546b60-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d2546b60-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/99ae6b09-b191-482b-97ca-901086e5e45c/signaling 200 15ms","method":"POST","requestID":"d2546b60-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/99ae6b09-b191-482b-97ca-901086e5e45c/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1c580c92-74c1-452e-b3b9-8d028fa279d9': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1c580c92-74c1-452e-b3b9-8d028fa279d9","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"8708be34-78f1-4f34-8f25-5e1188de2cf3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072549.159462} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"74a11c3e-3297-4470-9192-2c8635811e2f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072549.160203} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d2575190-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"1e4b3f2a6573656418d92b6f89d05def","responseTime":23,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":708,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:49Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"194f5433-0a78-41b8-8b58-69d5ee173a9b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072549.1711752} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":708,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":6.093641,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d2575190-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa","object_type":"device","rebac_allow":false,"scope_allow":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":"d2575190-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d2575190-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa/signaling 200 17ms","method":"POST","requestID":"d2575190-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9","requestID":"1e4b3f2a6573656418d92b6f89d05def"} gateway-1 | {"time_local":"16/Oct/2024:09:55:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.183","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1e4b3f2a6573656418d92b6f89d05def"} gateway-1 | {"time_local":"16/Oct/2024:09:55:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3269","request_time":"4.311","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"616dd3ae593eee15f02582e3f9d2f7f3"} experiment-1 | {"level":"info","message":"DELETE /experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9 204 177ms","method":"DELETE","requestID":"1e4b3f2a6573656418d92b6f89d05def","responseTime":177,"status":204,"url":"/experiments/1c580c92-74c1-452e-b3b9-8d028fa279d9"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 131ms","method":"POST","requestID":"c3e789adcbfe0e23d66e04b6401cd1b8","responseTime":131,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.137","http_referrer":"","http_user_agent":"node-fetch","requestID":"c3e789adcbfe0e23d66e04b6401cd1b8"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 128ms","method":"POST","requestID":"d3f6afd3f724ea32ea7bd7aa3ffbb9db","responseTime":128,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.138","http_referrer":"","http_user_agent":"node-fetch","requestID":"d3f6afd3f724ea32ea7bd7aa3ffbb9db"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0OX0.aqTsGzyqTvHEZ1PAYBZBErP2mv5mUd9L5nrgSARJJPw","level":"info","message":"auth send jwt","requestID":"94ad0f57148d4f9b80f85b916a06585f"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"94ad0f57148d4f9b80f85b916a06585f","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"94ad0f57148d4f9b80f85b916a06585f"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":709,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":709,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.058105,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:49Z"} gateway-1 | {"time_local":"16/Oct/2024:09:55:49 +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.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":"7aa2545ebb550a54a5588a2415bf059f"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"94ad0f57148d4f9b80f85b916a06585f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072549,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0OX0.aqTsGzyqTvHEZ1PAYBZBErP2mv5mUd9L5nrgSARJJPw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"94ad0f57148d4f9b80f85b916a06585f","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/ec2f7d7d-1fc0-4cc1-9bbc-339de1f788aa' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F493ee18b-9727-4f7b-bcca-1bc490df591c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"a9d55fa7-d419-4bf7-ab3a-a941df5a2d0c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072549.2584355} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"94ad0f57148d4f9b80f85b916a06585f","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"54622645-02d0-4a0b-9501-088bfd0ba6ec","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072549.263637} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/99ae6b09-b191-482b-97ca-901086e5e45c' closed"} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"94ad0f57148d4f9b80f85b916a06585f","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F493ee18b-9727-4f7b-bcca-1bc490df591c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"37f55119-61e4-49a4-80d8-1edf16febb8e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072549.2744634} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a1fea391-d5b7-441a-a097-28dd3887cfc1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072549.2747943} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"94ad0f57148d4f9b80f85b916a06585f","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F493ee18b-9727-4f7b-bcca-1bc490df591c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F493ee18b-9727-4f7b-bcca-1bc490df591c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:49.274432368Z"}]},"request_id":"e777233a-e3be-4639-a536-d5a23a9d2735","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072549.2796087} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"94ad0f57148d4f9b80f85b916a06585f","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"94ad0f57148d4f9b80f85b916a06585f"} device-1 | {"level":"info","message":"POST /devices? 201 48ms","method":"POST","requestID":"94ad0f57148d4f9b80f85b916a06585f","responseTime":48,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:49 +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":"94ad0f57148d4f9b80f85b916a06585f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0OX0.aqTsGzyqTvHEZ1PAYBZBErP2mv5mUd9L5nrgSARJJPw","level":"info","message":"auth send jwt","requestID":"47baf7b500dde68b7ced8cf27ec2d788"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"47baf7b500dde68b7ced8cf27ec2d788","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"47baf7b500dde68b7ced8cf27ec2d788"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":710,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":710,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.73291,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:49Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"47baf7b500dde68b7ced8cf27ec2d788","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072549,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0OX0.aqTsGzyqTvHEZ1PAYBZBErP2mv5mUd9L5nrgSARJJPw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"47baf7b500dde68b7ced8cf27ec2d788","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f7292b5-1bbb-412f-aff4-e87410a58604","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"c5fe0f83-d948-421b-bcd9-9a9ebf81ccca","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072549.3092985} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"47baf7b500dde68b7ced8cf27ec2d788","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"24e828c0-d11e-4a2b-ab7d-71672db460a1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072549.314353} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"47baf7b500dde68b7ced8cf27ec2d788","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f7292b5-1bbb-412f-aff4-e87410a58604","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"08ded5c0-ebfe-4e9a-ac7c-b1839e8da31d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072549.3248003} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"43b0d672-1dc8-46b3-a42b-ccf0bfba6d73","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072549.324917} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"47baf7b500dde68b7ced8cf27ec2d788","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f7292b5-1bbb-412f-aff4-e87410a58604","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f7292b5-1bbb-412f-aff4-e87410a58604","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:49.324777098Z"}]},"request_id":"5ab7112d-1af6-4391-893b-1439095622ce","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072549.3292408} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"47baf7b500dde68b7ced8cf27ec2d788","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"47baf7b500dde68b7ced8cf27ec2d788"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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":"47baf7b500dde68b7ced8cf27ec2d788"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"47baf7b500dde68b7ced8cf27ec2d788","responseTime":43,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0OX0.aqTsGzyqTvHEZ1PAYBZBErP2mv5mUd9L5nrgSARJJPw","level":"info","message":"auth send jwt","requestID":"aacad79e36ffe16cb6784ae35ca526d0"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"aacad79e36ffe16cb6784ae35ca526d0","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"aacad79e36ffe16cb6784ae35ca526d0"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":711,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":711,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.151583,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:49Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f7292b5-1bbb-412f-aff4-e87410a58604","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"aacad79e36ffe16cb6784ae35ca526d0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4f7292b5-1bbb-412f-aff4-e87410a58604","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072549,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0OX0.aqTsGzyqTvHEZ1PAYBZBErP2mv5mUd9L5nrgSARJJPw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"aacad79e36ffe16cb6784ae35ca526d0","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f7292b5-1bbb-412f-aff4-e87410a58604","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f7292b5-1bbb-412f-aff4-e87410a58604","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:49.324777098Z"}]},"request_id":"c9d67588-3b19-488b-be69-1477c2dca53e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072549.8239665} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"aacad79e36ffe16cb6784ae35ca526d0","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9499ead2-10b2-408d-b906-b1b651f27f04","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072549.8298364} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"aacad79e36ffe16cb6784ae35ca526d0","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f7292b5-1bbb-412f-aff4-e87410a58604","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f7292b5-1bbb-412f-aff4-e87410a58604","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:49.324777098Z"}]},"request_id":"44c9913c-133b-411d-b37a-f1770f76c1a1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072549.8427248} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"aacad79e36ffe16cb6784ae35ca526d0","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"aacad79e36ffe16cb6784ae35ca526d0"} gateway-1 | {"time_local":"16/Oct/2024:09:55:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/4f7292b5-1bbb-412f-aff4-e87410a58604 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.040","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"aacad79e36ffe16cb6784ae35ca526d0"} device-1 | {"level":"info","message":"PATCH /devices/4f7292b5-1bbb-412f-aff4-e87410a58604 200 35ms","method":"PATCH","requestID":"aacad79e36ffe16cb6784ae35ca526d0","responseTime":35,"status":200,"url":"/devices/4f7292b5-1bbb-412f-aff4-e87410a58604"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0OX0.aqTsGzyqTvHEZ1PAYBZBErP2mv5mUd9L5nrgSARJJPw","level":"info","message":"auth send jwt","requestID":"7b392b8f2ac0d3987b8561b31903b921"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"7b392b8f2ac0d3987b8561b31903b921","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"7b392b8f2ac0d3987b8561b31903b921"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":712,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":712,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.21064,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:49Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f7292b5-1bbb-412f-aff4-e87410a58604","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"7b392b8f2ac0d3987b8561b31903b921","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4f7292b5-1bbb-412f-aff4-e87410a58604","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072549,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU0OX0.aqTsGzyqTvHEZ1PAYBZBErP2mv5mUd9L5nrgSARJJPw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7b392b8f2ac0d3987b8561b31903b921","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"7b392b8f2ac0d3987b8561b31903b921"} gateway-1 | {"time_local":"16/Oct/2024:09:55:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/4f7292b5-1bbb-412f-aff4-e87410a58604/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.10","requestID":"7b392b8f2ac0d3987b8561b31903b921"} device-1 | {"level":"info","message":"POST /devices/4f7292b5-1bbb-412f-aff4-e87410a58604/websocket 200 20ms","method":"POST","requestID":"7b392b8f2ac0d3987b8561b31903b921","responseTime":20,"status":200,"url":"/devices/4f7292b5-1bbb-412f-aff4-e87410a58604/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/4f7292b5-1bbb-412f-aff4-e87410a58604' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"96bb00f35a10b3abfe3d3ae14a710fce","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"96bb00f35a10b3abfe3d3ae14a710fce","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/493ee18b-9727-4f7b-bcca-1bc490df591c/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":"96bb00f35a10b3abfe3d3ae14a710fce"} device-1 | {"level":"info","message":"OPTIONS /devices/493ee18b-9727-4f7b-bcca-1bc490df591c/websocket 200 1ms","method":"OPTIONS","requestID":"96bb00f35a10b3abfe3d3ae14a710fce","responseTime":1,"status":200,"url":"/devices/493ee18b-9727-4f7b-bcca-1bc490df591c/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1MX0.Bc3jBXI4a7h77226hpyGtVKDmFPIH8dyhwvMTG_u-Zc","level":"info","message":"auth send jwt","requestID":"18c734e95fc538bf4a46be116c4c1215"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"18c734e95fc538bf4a46be116c4c1215","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"18c734e95fc538bf4a46be116c4c1215"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":713,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":713,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.523454,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/493ee18b-9727-4f7b-bcca-1bc490df591c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"18c734e95fc538bf4a46be116c4c1215","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/493ee18b-9727-4f7b-bcca-1bc490df591c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072551,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1MX0.Bc3jBXI4a7h77226hpyGtVKDmFPIH8dyhwvMTG_u-Zc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"18c734e95fc538bf4a46be116c4c1215","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"18c734e95fc538bf4a46be116c4c1215"} gateway-1 | {"time_local":"16/Oct/2024:09:55:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/493ee18b-9727-4f7b-bcca-1bc490df591c/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":"18c734e95fc538bf4a46be116c4c1215"} device-1 | {"level":"info","message":"POST /devices/493ee18b-9727-4f7b-bcca-1bc490df591c/websocket 200 21ms","method":"POST","requestID":"18c734e95fc538bf4a46be116c4c1215","responseTime":21,"status":200,"url":"/devices/493ee18b-9727-4f7b-bcca-1bc490df591c/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/493ee18b-9727-4f7b-bcca-1bc490df591c' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"efbd4ed29d935bb0d76ed66c66696097","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"efbd4ed29d935bb0d76ed66c66696097","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/493ee18b-9727-4f7b-bcca-1bc490df591c? 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":"efbd4ed29d935bb0d76ed66c66696097"} device-1 | {"level":"info","message":"OPTIONS /devices/493ee18b-9727-4f7b-bcca-1bc490df591c? 200 1ms","method":"OPTIONS","requestID":"efbd4ed29d935bb0d76ed66c66696097","responseTime":1,"status":200,"url":"/devices/493ee18b-9727-4f7b-bcca-1bc490df591c?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1MX0.Bc3jBXI4a7h77226hpyGtVKDmFPIH8dyhwvMTG_u-Zc","level":"info","message":"auth send jwt","requestID":"baa029a43666c7f2301346ef6c452fb0"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"baa029a43666c7f2301346ef6c452fb0","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"baa029a43666c7f2301346ef6c452fb0"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":714,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":714,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.277056,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/493ee18b-9727-4f7b-bcca-1bc490df591c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"baa029a43666c7f2301346ef6c452fb0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/493ee18b-9727-4f7b-bcca-1bc490df591c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072551,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1MX0.Bc3jBXI4a7h77226hpyGtVKDmFPIH8dyhwvMTG_u-Zc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"baa029a43666c7f2301346ef6c452fb0","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F493ee18b-9727-4f7b-bcca-1bc490df591c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F493ee18b-9727-4f7b-bcca-1bc490df591c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:49.274432368Z"}]},"request_id":"da1a7a03-c703-43cc-9df5-58d55b63acb1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072551.4520252} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"baa029a43666c7f2301346ef6c452fb0","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cdb314f9-b766-41fd-9202-9f17f9f14e02","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072551.4583747} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"baa029a43666c7f2301346ef6c452fb0","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F493ee18b-9727-4f7b-bcca-1bc490df591c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F493ee18b-9727-4f7b-bcca-1bc490df591c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:49.274432368Z"}]},"request_id":"7e46ed28-4bf9-4544-8111-b05b20052334","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072551.4729698} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"baa029a43666c7f2301346ef6c452fb0","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"baa029a43666c7f2301346ef6c452fb0"} device-1 | {"level":"info","message":"PATCH /devices/493ee18b-9727-4f7b-bcca-1bc490df591c? 200 38ms","method":"PATCH","requestID":"baa029a43666c7f2301346ef6c452fb0","responseTime":38,"status":200,"url":"/devices/493ee18b-9727-4f7b-bcca-1bc490df591c?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/493ee18b-9727-4f7b-bcca-1bc490df591c? 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":"baa029a43666c7f2301346ef6c452fb0"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1MX0.Bc3jBXI4a7h77226hpyGtVKDmFPIH8dyhwvMTG_u-Zc","level":"info","message":"auth send jwt","requestID":"597acd2a9ac7c31929d66adc7f9a1ae2"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"597acd2a9ac7c31929d66adc7f9a1ae2","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"597acd2a9ac7c31929d66adc7f9a1ae2"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":715,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":715,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.646025,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/493ee18b-9727-4f7b-bcca-1bc490df591c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"597acd2a9ac7c31929d66adc7f9a1ae2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/493ee18b-9727-4f7b-bcca-1bc490df591c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072551,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1MX0.Bc3jBXI4a7h77226hpyGtVKDmFPIH8dyhwvMTG_u-Zc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"597acd2a9ac7c31929d66adc7f9a1ae2","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F493ee18b-9727-4f7b-bcca-1bc490df591c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F493ee18b-9727-4f7b-bcca-1bc490df591c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:49.274432368Z"}]},"request_id":"a03da731-06ec-43ef-821a-0e7053edb683","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072551.4996562} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"597acd2a9ac7c31929d66adc7f9a1ae2","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"597acd2a9ac7c31929d66adc7f9a1ae2"} device-1 | {"level":"info","message":"GET /devices/493ee18b-9727-4f7b-bcca-1bc490df591c? 200 17ms","method":"GET","requestID":"597acd2a9ac7c31929d66adc7f9a1ae2","responseTime":17,"status":200,"url":"/devices/493ee18b-9727-4f7b-bcca-1bc490df591c?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/493ee18b-9727-4f7b-bcca-1bc490df591c? 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":"597acd2a9ac7c31929d66adc7f9a1ae2"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1MX0.Bc3jBXI4a7h77226hpyGtVKDmFPIH8dyhwvMTG_u-Zc","level":"info","message":"auth send jwt","requestID":"2f6a1dfcbcc57411cbc5c6e8fa7bd6b6"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"2f6a1dfcbcc57411cbc5c6e8fa7bd6b6","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2f6a1dfcbcc57411cbc5c6e8fa7bd6b6"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":716,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":716,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.272807,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f7292b5-1bbb-412f-aff4-e87410a58604","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"2f6a1dfcbcc57411cbc5c6e8fa7bd6b6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4f7292b5-1bbb-412f-aff4-e87410a58604","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072551,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1MX0.Bc3jBXI4a7h77226hpyGtVKDmFPIH8dyhwvMTG_u-Zc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2f6a1dfcbcc57411cbc5c6e8fa7bd6b6","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f7292b5-1bbb-412f-aff4-e87410a58604","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f7292b5-1bbb-412f-aff4-e87410a58604","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:49.324777098Z"}]},"request_id":"76150285-438f-40c6-b2d4-160986cd7375","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072551.5254261} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2f6a1dfcbcc57411cbc5c6e8fa7bd6b6","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2f6a1dfcbcc57411cbc5c6e8fa7bd6b6"} device-1 | {"level":"info","message":"GET /devices/4f7292b5-1bbb-412f-aff4-e87410a58604? 200 15ms","method":"GET","requestID":"2f6a1dfcbcc57411cbc5c6e8fa7bd6b6","responseTime":15,"status":200,"url":"/devices/4f7292b5-1bbb-412f-aff4-e87410a58604?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/4f7292b5-1bbb-412f-aff4-e87410a58604? 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":"2f6a1dfcbcc57411cbc5c6e8fa7bd6b6"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1MX0.Bc3jBXI4a7h77226hpyGtVKDmFPIH8dyhwvMTG_u-Zc","level":"info","message":"auth send jwt","requestID":"1882036444145ed93ccaacd72c664788"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"1882036444145ed93ccaacd72c664788","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"1882036444145ed93ccaacd72c664788"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":717,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":717,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.222459,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"1882036444145ed93ccaacd72c664788","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072551,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1MX0.Bc3jBXI4a7h77226hpyGtVKDmFPIH8dyhwvMTG_u-Zc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1882036444145ed93ccaacd72c664788","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f775caa2-6164-4546-9297-fffc9db820b4"},"level":"info","message":"Attempting to run experiment","requestID":"1882036444145ed93ccaacd72c664788"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f775caa2-6164-4546-9297-fffc9db820b4"},"level":"info","message":"Attempting to book experiment","requestID":"1882036444145ed93ccaacd72c664788"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f775caa2-6164-4546-9297-fffc9db820b4"},"level":"info","message":"Successfully booked experiment","requestID":"1882036444145ed93ccaacd72c664788"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d3c7aa70-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d3c7f890-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":718,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":718,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.798489,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/493ee18b-9727-4f7b-bcca-1bc490df591c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d3c7aa70-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/493ee18b-9727-4f7b-bcca-1bc490df591c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072551,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1MX0.Bc3jBXI4a7h77226hpyGtVKDmFPIH8dyhwvMTG_u-Zc"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"d3c7aa70-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59768","level":"info","msg":"Received request.","req_id":719,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"client_addr":"127.0.0.1:59768","level":"info","msg":"Sent response.","req_id":719,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.59998,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f7292b5-1bbb-412f-aff4-e87410a58604","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d3c7f890-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4f7292b5-1bbb-412f-aff4-e87410a58604","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072551,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1MX0.Bc3jBXI4a7h77226hpyGtVKDmFPIH8dyhwvMTG_u-Zc"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"d3c7f890-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F493ee18b-9727-4f7b-bcca-1bc490df591c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F493ee18b-9727-4f7b-bcca-1bc490df591c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:49.274432368Z"}]},"request_id":"81706366-1318-4779-a588-57b02894ecdd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072551.590239} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"d3c7aa70-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d3c7aa70-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/493ee18b-9727-4f7b-bcca-1bc490df591c? 200 21ms","method":"GET","requestID":"d3c7aa70-8ba4-11ef-a62f-5f7f958aa687","responseTime":21,"status":200,"url":"/devices/493ee18b-9727-4f7b-bcca-1bc490df591c?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f7292b5-1bbb-412f-aff4-e87410a58604","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f7292b5-1bbb-412f-aff4-e87410a58604","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:49.324777098Z"}]},"request_id":"b7eaea29-ba65-4652-a833-1b47d207948b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072551.5959547} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"d3c7f890-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d3c7f890-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/4f7292b5-1bbb-412f-aff4-e87410a58604? 200 24ms","method":"GET","requestID":"d3c7f890-8ba4-11ef-a62f-5f7f958aa687","responseTime":24,"status":200,"url":"/devices/4f7292b5-1bbb-412f-aff4-e87410a58604?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f775caa2-6164-4546-9297-fffc9db820b4"},"level":"info","message":"Setting up experiment","requestID":"1882036444145ed93ccaacd72c664788"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f775caa2-6164-4546-9297-fffc9db820b4"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"1882036444145ed93ccaacd72c664788"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f775caa2-6164-4546-9297-fffc9db820b4"},"level":"info","message":"Successfully locked booking for experiment","requestID":"1882036444145ed93ccaacd72c664788"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f775caa2-6164-4546-9297-fffc9db820b4"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"1882036444145ed93ccaacd72c664788"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f775caa2-6164-4546-9297-fffc9db820b4"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"1882036444145ed93ccaacd72c664788"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f775caa2-6164-4546-9297-fffc9db820b4"},"level":"info","message":"Attempting to update booking for experiment","requestID":"1882036444145ed93ccaacd72c664788"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f775caa2-6164-4546-9297-fffc9db820b4"},"level":"info","message":"Successfully updated booking for experiment","requestID":"1882036444145ed93ccaacd72c664788"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f775caa2-6164-4546-9297-fffc9db820b4"},"level":"info","message":"Successfully set up experiment","requestID":"1882036444145ed93ccaacd72c664788"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d3d2a6f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d3d31c20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d3d39150-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f775caa2-6164-4546-9297-fffc9db820b4"},"level":"info","message":"Successfully running experiment","requestID":"1882036444145ed93ccaacd72c664788"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":720,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":720,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.488108,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"client_addr":"127.0.0.1:59768","level":"info","msg":"Received request.","req_id":721,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/493ee18b-9727-4f7b-bcca-1bc490df591c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d3d2a6f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/493ee18b-9727-4f7b-bcca-1bc490df591c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072551,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1MX0.Bc3jBXI4a7h77226hpyGtVKDmFPIH8dyhwvMTG_u-Zc"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"d3d2a6f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59768","level":"info","msg":"Sent response.","req_id":721,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.470809,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f7292b5-1bbb-412f-aff4-e87410a58604","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d3d31c20-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4f7292b5-1bbb-412f-aff4-e87410a58604","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072551,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1MX0.Bc3jBXI4a7h77226hpyGtVKDmFPIH8dyhwvMTG_u-Zc"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"d3d31c20-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59778","level":"info","msg":"Received request.","req_id":722,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f7292b5-1bbb-412f-aff4-e87410a58604","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f7292b5-1bbb-412f-aff4-e87410a58604","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:49.324777098Z"}]},"request_id":"a61d5658-fc64-49b5-a71f-2f5fc30d8c60","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072551.6679978} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F493ee18b-9727-4f7b-bcca-1bc490df591c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9f4eefdf-4911-4927-b793-a83f02da70dc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072551.6683016} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"d3d31c20-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:59778","level":"info","msg":"Sent response.","req_id":722,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.629647,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F493ee18b-9727-4f7b-bcca-1bc490df591c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F493ee18b-9727-4f7b-bcca-1bc490df591c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:49.274432368Z"}]},"request_id":"4dbaaad3-c2a4-442d-b59b-c001e50cc94e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072551.669735} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/493ee18b-9727-4f7b-bcca-1bc490df591c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d3d39150-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/493ee18b-9727-4f7b-bcca-1bc490df591c","object_type":"device","rebac_allow":false,"scope_allow":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":"d3d39150-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"d3d2a6f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d3d31c20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/4f7292b5-1bbb-412f-aff4-e87410a58604? 200 28ms","method":"GET","requestID":"d3d31c20-8ba4-11ef-a62f-5f7f958aa687","responseTime":28,"status":200,"url":"/devices/4f7292b5-1bbb-412f-aff4-e87410a58604?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff775caa2-6164-4546-9297-fffc9db820b4#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff775caa2-6164-4546-9297-fffc9db820b4","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"d30f6250-f987-4f7b-b657-a0c052d72fa8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072551.6782768} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ca8537b5-6c7b-426d-9e47-fa7d51c31a52","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072551.6784778} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d3d39150-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/493ee18b-9727-4f7b-bcca-1bc490df591c/signaling 200 28ms","method":"POST","requestID":"d3d39150-8ba4-11ef-a62f-5f7f958aa687","responseTime":28,"status":200,"url":"/devices/493ee18b-9727-4f7b-bcca-1bc490df591c/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d3d2a6f0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"1882036444145ed93ccaacd72c664788","responseTime":21,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"GET /devices/493ee18b-9727-4f7b-bcca-1bc490df591c? 200 35ms","method":"GET","requestID":"d3d2a6f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":35,"status":200,"url":"/devices/493ee18b-9727-4f7b-bcca-1bc490df591c?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d3d82530-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":723,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:51Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d3d936a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f7292b5-1bbb-412f-aff4-e87410a58604","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"88c1dcb8-2621-4791-8e72-e845c4503b0d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072551.6911745} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":723,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.814098,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"client_addr":"127.0.0.1:59768","level":"info","msg":"Received request.","req_id":724,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:51Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/f775caa2-6164-4546-9297-fffc9db820b4","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"1882036444145ed93ccaacd72c664788"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f7292b5-1bbb-412f-aff4-e87410a58604","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d3d82530-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4f7292b5-1bbb-412f-aff4-e87410a58604","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":"16/Oct/2024:09:55:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1292","request_time":"0.166","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1882036444145ed93ccaacd72c664788"} experiment-1 | {"level":"info","message":"POST /experiments? 201 159ms","method":"POST","requestID":"1882036444145ed93ccaacd72c664788","responseTime":159,"status":201,"url":"/experiments?"} authorization-1 | {"level":"info","message":"POST /authorize 200 13ms","method":"POST","requestID":"d3d82530-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F493ee18b-9727-4f7b-bcca-1bc490df591c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dd427a87-ebb8-4b94-b317-780c9ae3429f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072551.7004316} authorization-1 | {"client_addr":"127.0.0.1:59768","level":"info","msg":"Sent response.","req_id":724,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":6.723569,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:51Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d3d82530-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/4f7292b5-1bbb-412f-aff4-e87410a58604/signaling 200 20ms","method":"POST","requestID":"d3d82530-8ba4-11ef-a62f-5f7f958aa687","responseTime":20,"status":200,"url":"/devices/4f7292b5-1bbb-412f-aff4-e87410a58604/signaling"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/493ee18b-9727-4f7b-bcca-1bc490df591c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d3d936a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/493ee18b-9727-4f7b-bcca-1bc490df591c","object_type":"device","rebac_allow":false,"scope_allow":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":"d3d936a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1MX0.Bc3jBXI4a7h77226hpyGtVKDmFPIH8dyhwvMTG_u-Zc","level":"info","message":"auth send jwt","requestID":"434fe76778a3a6ea79bd90ea796a65cf"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"434fe76778a3a6ea79bd90ea796a65cf","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d3d936a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/493ee18b-9727-4f7b-bcca-1bc490df591c/signaling 200 17ms","method":"POST","requestID":"d3d936a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/493ee18b-9727-4f7b-bcca-1bc490df591c/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"434fe76778a3a6ea79bd90ea796a65cf"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d3dc1cd0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":725,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":725,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.975751,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"client_addr":"127.0.0.1:59768","level":"info","msg":"Received request.","req_id":726,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/493ee18b-9727-4f7b-bcca-1bc490df591c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"434fe76778a3a6ea79bd90ea796a65cf","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/493ee18b-9727-4f7b-bcca-1bc490df591c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072551,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1MX0.Bc3jBXI4a7h77226hpyGtVKDmFPIH8dyhwvMTG_u-Zc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"434fe76778a3a6ea79bd90ea796a65cf","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f7292b5-1bbb-412f-aff4-e87410a58604","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e1a81106-fee5-4a25-aa61-c8f946ea4b13","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072551.7149434} authorization-1 | {"client_addr":"127.0.0.1:59768","level":"info","msg":"Sent response.","req_id":726,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.122446,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f7292b5-1bbb-412f-aff4-e87410a58604","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d3dc1cd0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4f7292b5-1bbb-412f-aff4-e87410a58604","object_type":"device","rebac_allow":false,"scope_allow":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":"d3dc1cd0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F493ee18b-9727-4f7b-bcca-1bc490df591c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F493ee18b-9727-4f7b-bcca-1bc490df591c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:49.274432368Z"}]},"request_id":"9710b5f7-3513-4f1e-9e44-610c0d37fee2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072551.7202485} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d3dc1cd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/4f7292b5-1bbb-412f-aff4-e87410a58604/signaling 200 12ms","method":"POST","requestID":"d3dc1cd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/4f7292b5-1bbb-412f-aff4-e87410a58604/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"434fe76778a3a6ea79bd90ea796a65cf","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f775caa2-6164-4546-9297-fffc9db820b4"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"1882036444145ed93ccaacd72c664788"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d3de3fb0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d3de8dd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"434fe76778a3a6ea79bd90ea796a65cf"} gateway-1 | {"time_local":"16/Oct/2024:09:55:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/493ee18b-9727-4f7b-bcca-1bc490df591c? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.029","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"434fe76778a3a6ea79bd90ea796a65cf"} device-1 | {"level":"info","message":"GET /devices/493ee18b-9727-4f7b-bcca-1bc490df591c? 200 21ms","method":"GET","requestID":"434fe76778a3a6ea79bd90ea796a65cf","responseTime":21,"status":200,"url":"/devices/493ee18b-9727-4f7b-bcca-1bc490df591c?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":727,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":727,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.490947,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"client_addr":"127.0.0.1:59768","level":"info","msg":"Received request.","req_id":728,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/493ee18b-9727-4f7b-bcca-1bc490df591c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d3de3fb0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/493ee18b-9727-4f7b-bcca-1bc490df591c","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072551,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1MX0.Bc3jBXI4a7h77226hpyGtVKDmFPIH8dyhwvMTG_u-Zc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d3de3fb0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59768","level":"info","msg":"Sent response.","req_id":728,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.375917,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f7292b5-1bbb-412f-aff4-e87410a58604","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d3de8dd0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4f7292b5-1bbb-412f-aff4-e87410a58604","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072551,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1MX0.Bc3jBXI4a7h77226hpyGtVKDmFPIH8dyhwvMTG_u-Zc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d3de8dd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1MX0.Bc3jBXI4a7h77226hpyGtVKDmFPIH8dyhwvMTG_u-Zc","level":"info","message":"auth send jwt","requestID":"0283fd58586ee6e3222c909d0e8a0a8c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0283fd58586ee6e3222c909d0e8a0a8c","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0283fd58586ee6e3222c909d0e8a0a8c"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F493ee18b-9727-4f7b-bcca-1bc490df591c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F493ee18b-9727-4f7b-bcca-1bc490df591c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:49.274432368Z"}]},"request_id":"1315d707-28b6-4f0c-b5bc-eb9bbdad61d6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072551.7376535} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"d3de3fb0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f7292b5-1bbb-412f-aff4-e87410a58604","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f7292b5-1bbb-412f-aff4-e87410a58604","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:49.324777098Z"}]},"request_id":"777cd764-e76e-43c0-ab05-2d4b01d3a996","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072551.7400317} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"d3de8dd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":729,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":729,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.895385,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f7292b5-1bbb-412f-aff4-e87410a58604","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0283fd58586ee6e3222c909d0e8a0a8c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4f7292b5-1bbb-412f-aff4-e87410a58604","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072551,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1MX0.Bc3jBXI4a7h77226hpyGtVKDmFPIH8dyhwvMTG_u-Zc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0283fd58586ee6e3222c909d0e8a0a8c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d3de3fb0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f7292b5-1bbb-412f-aff4-e87410a58604","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f7292b5-1bbb-412f-aff4-e87410a58604","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:49.324777098Z"}]},"request_id":"5ec7a56d-de2d-4fa5-842f-87b8afbd16fe","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072551.7489045} device-1 | {"level":"info","message":"GET /devices/493ee18b-9727-4f7b-bcca-1bc490df591c? 200 26ms","method":"GET","requestID":"d3de3fb0-8ba4-11ef-a62f-5f7f958aa687","responseTime":26,"status":200,"url":"/devices/493ee18b-9727-4f7b-bcca-1bc490df591c?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d3de8dd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/4f7292b5-1bbb-412f-aff4-e87410a58604? 200 25ms","method":"GET","requestID":"d3de8dd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":25,"status":200,"url":"/devices/4f7292b5-1bbb-412f-aff4-e87410a58604?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f775caa2-6164-4546-9297-fffc9db820b4"},"level":"info","message":"Building connection plan","requestID":"1882036444145ed93ccaacd72c664788"} 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":"712a02f7-1873-4ae6-8194-99c9c32725f5"},{"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":"c5eed082-5195-4526-9c0a-a8066f98addd"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"cb2d401c-cff8-4e90-9f27-a95edb8b0df6"}]},"level":"info","message":"Built pairwise service configurations","requestID":"1882036444145ed93ccaacd72c664788"} 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/493ee18b-9727-4f7b-bcca-1bc490df591c"},{"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/4f7292b5-1bbb-412f-aff4-e87410a58604"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"1882036444145ed93ccaacd72c664788"} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"0283fd58586ee6e3222c909d0e8a0a8c","responseTime":7,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"d3e321b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0283fd58586ee6e3222c909d0e8a0a8c"} gateway-1 | {"time_local":"16/Oct/2024:09:55:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/4f7292b5-1bbb-412f-aff4-e87410a58604? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.028","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0283fd58586ee6e3222c909d0e8a0a8c"} device-1 | {"level":"info","message":"GET /devices/4f7292b5-1bbb-412f-aff4-e87410a58604? 200 22ms","method":"GET","requestID":"0283fd58586ee6e3222c909d0e8a0a8c","responseTime":22,"status":200,"url":"/devices/4f7292b5-1bbb-412f-aff4-e87410a58604?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":730,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":730,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":2.172699,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d3e321b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072551,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1MX0.Bc3jBXI4a7h77226hpyGtVKDmFPIH8dyhwvMTG_u-Zc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d3e321b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"b19fa4e9-0c66-4b73-88a4-596bb9ba0103","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072551.7708461} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"36b109f9-bd44-43fc-b761-897b4047ed6d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072551.7711353} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"d3e321b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"d3e321b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"d3e321b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/90d4207b-64b6-4830-b6a9-5669adfbb13f'","requestID":"d3e321b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/90d4207b-64b6-4830-b6a9-5669adfbb13f'","requestID":"d3e321b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"d3e321b0-8ba4-11ef-a62f-5f7f958aa687"} 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":"d3e321b0-8ba4-11ef-a62f-5f7f958aa687","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":"d3e321b0-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f775caa2-6164-4546-9297-fffc9db820b4"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"1882036444145ed93ccaacd72c664788"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d3ec2260-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":731,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F493ee18b-9727-4f7b-bcca-1bc490df591c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"26722023-eab3-4e3c-be26-84cd26b00736","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072551.818926} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":731,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.925757,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/493ee18b-9727-4f7b-bcca-1bc490df591c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d3ec2260-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/493ee18b-9727-4f7b-bcca-1bc490df591c","object_type":"device","rebac_allow":false,"scope_allow":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":"d3ec2260-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d3ec2260-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/493ee18b-9727-4f7b-bcca-1bc490df591c/signaling 200 9ms","method":"POST","requestID":"d3ec2260-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/493ee18b-9727-4f7b-bcca-1bc490df591c/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d3edd010-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":732,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f7292b5-1bbb-412f-aff4-e87410a58604","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5d8fce2d-fb7f-4a77-bc3a-154b6aa7c658","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072551.8303313} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":732,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.773491,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:51Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f7292b5-1bbb-412f-aff4-e87410a58604","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d3edd010-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4f7292b5-1bbb-412f-aff4-e87410a58604","object_type":"device","rebac_allow":false,"scope_allow":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":"d3edd010-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d3edd010-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/4f7292b5-1bbb-412f-aff4-e87410a58604/signaling 200 10ms","method":"POST","requestID":"d3edd010-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/4f7292b5-1bbb-412f-aff4-e87410a58604/signaling"} device-1 | {"device":"493ee18b-9727-4f7b-bcca-1bc490df591c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"493ee18b-9727-4f7b-bcca-1bc490df591c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"device":"4f7292b5-1bbb-412f-aff4-e87410a58604","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":"90d4207b-64b6-4830-b6a9-5669adfbb13f","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 4176115151787513888 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:uM1i\r\na=ice-pwd:XnyVZzZlgktVINzvjP3NbOUd\r\na=ice-options:trickle\r\na=fingerprint:sha-256 87:21:1C:D3:EF:D3:BB:0E:10:69:0C:29:58:54:F3:D5:64:4D:67:2A:A2:FD:41:5C:17:01:2C:32:74:73:09:E9\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"493ee18b-9727-4f7b-bcca-1bc490df591c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:2024836054 1 udp 2113937151 d7c5e582-39f2-4497-a7c6-8a323492f342.local 52339 typ host generation 0 ufrag uM1i network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"493ee18b-9727-4f7b-bcca-1bc490df591c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"493ee18b-9727-4f7b-bcca-1bc490df591c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:3952814789 1 udp 1677729535 141.24.211.56 52339 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag uM1i network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"493ee18b-9727-4f7b-bcca-1bc490df591c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"493ee18b-9727-4f7b-bcca-1bc490df591c","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/493ee18b-9727-4f7b-bcca-1bc490df591c'"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/90d4207b-64b6-4830-b6a9-5669adfbb13f' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"90d4207b-64b6-4830-b6a9-5669adfbb13f","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"4f7292b5-1bbb-412f-aff4-e87410a58604","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":"4f7292b5-1bbb-412f-aff4-e87410a58604","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":"4f7292b5-1bbb-412f-aff4-e87410a58604","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":"79b3cfa18f3e742bde30ef0badb2779d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"79b3cfa18f3e742bde30ef0badb2779d","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","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/493ee18b-9727-4f7b-bcca-1bc490df591c"},{"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/4f7292b5-1bbb-412f-aff4-e87410a58604"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/90d4207b-64b6-4830-b6a9-5669adfbb13f"}}},"level":"info","message":"received a callback","requestID":"79b3cfa18f3e742bde30ef0badb2779d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 6ms","method":"POST","requestID":"79b3cfa18f3e742bde30ef0badb2779d","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55: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.010","http_referrer":"","http_user_agent":"node-fetch","requestID":"79b3cfa18f3e742bde30ef0badb2779d"} device-1 | {"data":{"peerconnection":"90d4207b-64b6-4830-b6a9-5669adfbb13f","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"4f7292b5-1bbb-412f-aff4-e87410a58604","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":"493ee18b-9727-4f7b-bcca-1bc490df591c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"4f7292b5-1bbb-412f-aff4-e87410a58604","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":"90d4207b-64b6-4830-b6a9-5669adfbb13f","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"493ee18b-9727-4f7b-bcca-1bc490df591c","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/90d4207b-64b6-4830-b6a9-5669adfbb13f' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"90d4207b-64b6-4830-b6a9-5669adfbb13f","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"411e64b4ae654c1af8151da35d06023e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"411e64b4ae654c1af8151da35d06023e","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","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/493ee18b-9727-4f7b-bcca-1bc490df591c"},{"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/4f7292b5-1bbb-412f-aff4-e87410a58604"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/90d4207b-64b6-4830-b6a9-5669adfbb13f"}}},"level":"info","message":"received a callback","requestID":"411e64b4ae654c1af8151da35d06023e"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"d5354430-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":733,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:53Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F90d4207b-64b6-4830-b6a9-5669adfbb13f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f567738a-298d-4a02-9de6-d0f0cfe9bead","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072553.9787803} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":733,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.801077,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/90d4207b-64b6-4830-b6a9-5669adfbb13f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d5354430-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/90d4207b-64b6-4830-b6a9-5669adfbb13f","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":"d5354430-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"d5354430-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/90d4207b-64b6-4830-b6a9-5669adfbb13f 200 14ms","method":"GET","requestID":"d5354430-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/peerconnections/90d4207b-64b6-4830-b6a9-5669adfbb13f"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 44ms","method":"POST","requestID":"411e64b4ae654c1af8151da35d06023e","responseTime":44,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55:54 +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.050","http_referrer":"","http_user_agent":"node-fetch","requestID":"411e64b4ae654c1af8151da35d06023e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d53ae980-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":734,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:54Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F493ee18b-9727-4f7b-bcca-1bc490df591c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a0623a9c-693d-497a-a3df-ce7bf32a0a4b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072554.015388} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":734,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.903249,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:54Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/493ee18b-9727-4f7b-bcca-1bc490df591c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d53ae980-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/493ee18b-9727-4f7b-bcca-1bc490df591c","object_type":"device","rebac_allow":false,"scope_allow":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":"d53ae980-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d53ae980-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/493ee18b-9727-4f7b-bcca-1bc490df591c/signaling 200 15ms","method":"POST","requestID":"d53ae980-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/493ee18b-9727-4f7b-bcca-1bc490df591c/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d53da8a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":735,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:54Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f7292b5-1bbb-412f-aff4-e87410a58604","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e9923e2a-361f-4d15-a664-9f67280572c3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072554.0346859} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":735,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.15318,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:54Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f7292b5-1bbb-412f-aff4-e87410a58604","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d53da8a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4f7292b5-1bbb-412f-aff4-e87410a58604","object_type":"device","rebac_allow":false,"scope_allow":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":"d53da8a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d53da8a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/4f7292b5-1bbb-412f-aff4-e87410a58604/signaling 200 16ms","method":"POST","requestID":"d53da8a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/4f7292b5-1bbb-412f-aff4-e87410a58604/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1NH0.4DhCHR8-N9ivDxhKxR9I0KBto7QzZgB-5N6eUkJeAoY","level":"info","message":"auth send jwt","requestID":"45cef7500627caf8595628145e1a644e"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"45cef7500627caf8595628145e1a644e","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/f775caa2-6164-4546-9297-fffc9db820b4","requestID":"45cef7500627caf8595628145e1a644e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":736,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:54Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":736,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.270948,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:54Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/f775caa2-6164-4546-9297-fffc9db820b4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"45cef7500627caf8595628145e1a644e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/f775caa2-6164-4546-9297-fffc9db820b4","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072554,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1NH0.4DhCHR8-N9ivDxhKxR9I0KBto7QzZgB-5N6eUkJeAoY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"45cef7500627caf8595628145e1a644e","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/f775caa2-6164-4546-9297-fffc9db820b4","requestID":"45cef7500627caf8595628145e1a644e"} gateway-1 | {"time_local":"16/Oct/2024:09:55:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/f775caa2-6164-4546-9297-fffc9db820b4 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":"45cef7500627caf8595628145e1a644e"} experiment-1 | {"level":"info","message":"GET /experiments/f775caa2-6164-4546-9297-fffc9db820b4 200 17ms","method":"GET","requestID":"45cef7500627caf8595628145e1a644e","responseTime":17,"status":200,"url":"/experiments/f775caa2-6164-4546-9297-fffc9db820b4"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1NH0.4DhCHR8-N9ivDxhKxR9I0KBto7QzZgB-5N6eUkJeAoY","level":"info","message":"auth send jwt","requestID":"d43ac707cdc6022684c416f23fb1ae54"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"d43ac707cdc6022684c416f23fb1ae54","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/f775caa2-6164-4546-9297-fffc9db820b4","requestID":"d43ac707cdc6022684c416f23fb1ae54"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":737,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:54Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":737,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.26234,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:54Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/f775caa2-6164-4546-9297-fffc9db820b4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d43ac707cdc6022684c416f23fb1ae54","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/f775caa2-6164-4546-9297-fffc9db820b4","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072554,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1NH0.4DhCHR8-N9ivDxhKxR9I0KBto7QzZgB-5N6eUkJeAoY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d43ac707cdc6022684c416f23fb1ae54","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f775caa2-6164-4546-9297-fffc9db820b4"},"level":"info","message":"Attempting to finish experiment","requestID":"d43ac707cdc6022684c416f23fb1ae54"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"d54a04b0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":738,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:54Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":738,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.637393,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:54Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/90d4207b-64b6-4830-b6a9-5669adfbb13f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d54a04b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/90d4207b-64b6-4830-b6a9-5669adfbb13f","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072554,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1NH0.4DhCHR8-N9ivDxhKxR9I0KBto7QzZgB-5N6eUkJeAoY"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"d54a04b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/90d4207b-64b6-4830-b6a9-5669adfbb13f","device":"493ee18b-9727-4f7b-bcca-1bc490df591c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"4f7292b5-1bbb-412f-aff4-e87410a58604","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":"4f7292b5-1bbb-412f-aff4-e87410a58604","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":"4f7292b5-1bbb-412f-aff4-e87410a58604","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/90d4207b-64b6-4830-b6a9-5669adfbb13f' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/90d4207b-64b6-4830-b6a9-5669adfbb13f' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"90d4207b-64b6-4830-b6a9-5669adfbb13f","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F90d4207b-64b6-4830-b6a9-5669adfbb13f': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F90d4207b-64b6-4830-b6a9-5669adfbb13f","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"234711e0-6a52-44ac-9425-9f0d380ac4ac","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072554.1441991} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c48c6949e3345429e88cc85bc5e64c6f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"c48c6949e3345429e88cc85bc5e64c6f","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3ca9961e-3165-4a59-a39d-5646394e0354","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072554.144848} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"002d4857aaf9f565a56ae055f3dfc312","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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 14ms","method":"POST","requestID":"d54a04b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"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":["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/493ee18b-9727-4f7b-bcca-1bc490df591c"},{"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/4f7292b5-1bbb-412f-aff4-e87410a58604"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/90d4207b-64b6-4830-b6a9-5669adfbb13f"}}},"level":"info","message":"received a callback","requestID":"c48c6949e3345429e88cc85bc5e64c6f"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"002d4857aaf9f565a56ae055f3dfc312","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/493ee18b-9727-4f7b-bcca-1bc490df591c"},{"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/4f7292b5-1bbb-412f-aff4-e87410a58604"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/90d4207b-64b6-4830-b6a9-5669adfbb13f"}}},"level":"info","message":"received a callback","requestID":"002d4857aaf9f565a56ae055f3dfc312"} device-1 | {"data":{"peerconnection":"90d4207b-64b6-4830-b6a9-5669adfbb13f","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"d54a04b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/90d4207b-64b6-4830-b6a9-5669adfbb13f 204 63ms","method":"DELETE","requestID":"d54a04b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":63,"status":204,"url":"/peerconnections/90d4207b-64b6-4830-b6a9-5669adfbb13f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f775caa2-6164-4546-9297-fffc9db820b4"},"level":"info","message":"Successfully finished experiment","requestID":"d43ac707cdc6022684c416f23fb1ae54"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d5572410-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":739,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:54Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F493ee18b-9727-4f7b-bcca-1bc490df591c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"38121665-ede6-40b8-9c29-b8964dcf4b4d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072554.201199} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":739,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.482502,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:54Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/493ee18b-9727-4f7b-bcca-1bc490df591c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d5572410-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/493ee18b-9727-4f7b-bcca-1bc490df591c","object_type":"device","rebac_allow":false,"scope_allow":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":"d5572410-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff775caa2-6164-4546-9297-fffc9db820b4': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff775caa2-6164-4546-9297-fffc9db820b4","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"1da43a90-5390-47cb-9a0d-b886c7364b90","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072554.2106931} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d5572410-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/493ee18b-9727-4f7b-bcca-1bc490df591c/signaling 200 19ms","method":"POST","requestID":"d5572410-8ba4-11ef-a62f-5f7f958aa687","responseTime":19,"status":200,"url":"/devices/493ee18b-9727-4f7b-bcca-1bc490df591c/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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1d306c36-4d31-472d-acac-ed22f2b269ff","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072554.2122054} authorization-1 | {"level":"info","message":"POST /relations/update 200 24ms","method":"POST","requestID":"d43ac707cdc6022684c416f23fb1ae54","responseTime":24,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d55aa680-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":740,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:54Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f7292b5-1bbb-412f-aff4-e87410a58604","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2eff0948-65c4-4b46-be00-0fff98b6c8e7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072554.2255895} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":740,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.547448,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:54Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f7292b5-1bbb-412f-aff4-e87410a58604","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d55aa680-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4f7292b5-1bbb-412f-aff4-e87410a58604","object_type":"device","rebac_allow":false,"scope_allow":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":"d55aa680-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d55aa680-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/4f7292b5-1bbb-412f-aff4-e87410a58604/signaling 200 18ms","method":"POST","requestID":"d55aa680-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/4f7292b5-1bbb-412f-aff4-e87410a58604/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/f775caa2-6164-4546-9297-fffc9db820b4","requestID":"d43ac707cdc6022684c416f23fb1ae54"} gateway-1 | {"time_local":"16/Oct/2024:09:55:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/f775caa2-6164-4546-9297-fffc9db820b4 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.207","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d43ac707cdc6022684c416f23fb1ae54"} experiment-1 | {"level":"info","message":"DELETE /experiments/f775caa2-6164-4546-9297-fffc9db820b4 204 201ms","method":"DELETE","requestID":"d43ac707cdc6022684c416f23fb1ae54","responseTime":201,"status":204,"url":"/experiments/f775caa2-6164-4546-9297-fffc9db820b4"} gateway-1 | {"time_local":"16/Oct/2024:09:55:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3269","request_time":"4.412","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"25e851f888059523b6731525ca36ebd2"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 143ms","method":"POST","requestID":"c48c6949e3345429e88cc85bc5e64c6f","responseTime":143,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55:54 +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.149","http_referrer":"","http_user_agent":"node-fetch","requestID":"c48c6949e3345429e88cc85bc5e64c6f"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 143ms","method":"POST","requestID":"002d4857aaf9f565a56ae055f3dfc312","responseTime":143,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55:54 +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":"002d4857aaf9f565a56ae055f3dfc312"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1NH0.4DhCHR8-N9ivDxhKxR9I0KBto7QzZgB-5N6eUkJeAoY","level":"info","message":"auth send jwt","requestID":"f608e79c6cf5a3f0a0700645b2bd954b"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"f608e79c6cf5a3f0a0700645b2bd954b","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"f608e79c6cf5a3f0a0700645b2bd954b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":741,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:54Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":741,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.867431,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:54Z"} gateway-1 | {"time_local":"16/Oct/2024:09:55:54 +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.910","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"6b5feef3019f17590bb8abbf64a28f39"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f608e79c6cf5a3f0a0700645b2bd954b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072554,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1NH0.4DhCHR8-N9ivDxhKxR9I0KBto7QzZgB-5N6eUkJeAoY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f608e79c6cf5a3f0a0700645b2bd954b","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/4f7292b5-1bbb-412f-aff4-e87410a58604' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F526d5be8-f3ea-4d51-84f4-d5affee94d13","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"78f84aee-0a5a-4182-80e0-36eeb2f03e7a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072554.3225758} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f608e79c6cf5a3f0a0700645b2bd954b","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/493ee18b-9727-4f7b-bcca-1bc490df591c' 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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"60234b9b-1944-4e3f-b681-182b7c2d9ef5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072554.327728} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"f608e79c6cf5a3f0a0700645b2bd954b","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F526d5be8-f3ea-4d51-84f4-d5affee94d13","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"8060e950-0b40-4537-947d-2f0b58b76d51","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072554.3382218} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"25bb4bcd-750f-4c7a-a577-4336bacba2a8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072554.3384497} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"f608e79c6cf5a3f0a0700645b2bd954b","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F526d5be8-f3ea-4d51-84f4-d5affee94d13","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F526d5be8-f3ea-4d51-84f4-d5affee94d13","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:54.338197638Z"}]},"request_id":"49695768-5878-476d-b8de-8801a899821b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072554.3429413} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f608e79c6cf5a3f0a0700645b2bd954b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"f608e79c6cf5a3f0a0700645b2bd954b"} gateway-1 | {"time_local":"16/Oct/2024:09:55:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.055","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f608e79c6cf5a3f0a0700645b2bd954b"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"f608e79c6cf5a3f0a0700645b2bd954b","responseTime":46,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1NH0.4DhCHR8-N9ivDxhKxR9I0KBto7QzZgB-5N6eUkJeAoY","level":"info","message":"auth send jwt","requestID":"9d77b66013b9d7df82454635f5ec5c0e"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"9d77b66013b9d7df82454635f5ec5c0e","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"9d77b66013b9d7df82454635f5ec5c0e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":742,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:54Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":742,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.710907,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:54Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"9d77b66013b9d7df82454635f5ec5c0e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072554,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1NH0.4DhCHR8-N9ivDxhKxR9I0KBto7QzZgB-5N6eUkJeAoY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9d77b66013b9d7df82454635f5ec5c0e","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc78a8f31-577d-4b75-a3b4-df35fb18791a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"f4bdc3bb-72bd-4a94-8967-014397974ef5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072554.3744936} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9d77b66013b9d7df82454635f5ec5c0e","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a24cebb8-32fb-406d-8e15-45e41167d39e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072554.3793378} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"9d77b66013b9d7df82454635f5ec5c0e","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc78a8f31-577d-4b75-a3b4-df35fb18791a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"d4f07526-a8c7-434e-a3d8-2f411b955331","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072554.3900552} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a5108431-3fee-4989-b1a7-cfaa236049ca","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072554.3902888} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"9d77b66013b9d7df82454635f5ec5c0e","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc78a8f31-577d-4b75-a3b4-df35fb18791a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc78a8f31-577d-4b75-a3b4-df35fb18791a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:54.390030964Z"}]},"request_id":"fa852419-4a4a-4f53-a1e0-5010e3432d45","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072554.39447} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9d77b66013b9d7df82454635f5ec5c0e","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"9d77b66013b9d7df82454635f5ec5c0e"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"9d77b66013b9d7df82454635f5ec5c0e","responseTime":45,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:54 +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":"9d77b66013b9d7df82454635f5ec5c0e"} forwarding-1 | {"level":"info","message":"Participant \"b833ee50-08bc-43b0-97a3-7c3e1fab2af1\" in room \"http://localhost/rooms/2e052e1f-91b8-4efb-bab5-aca541727e06\" did not answer hearbeat check, closing connection","requestID":"b1d49090-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Participant \"d68b1850-0175-445d-8d45-1b130ae42524\" in room \"http://localhost/rooms/2e052e1f-91b8-4efb-bab5-aca541727e06\" did not answer hearbeat check, closing connection","requestID":"b1d505c0-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1NH0.4DhCHR8-N9ivDxhKxR9I0KBto7QzZgB-5N6eUkJeAoY","level":"info","message":"auth send jwt","requestID":"3282a5ca02a52ca5f13bc82bb2df112c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"3282a5ca02a52ca5f13bc82bb2df112c","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"3282a5ca02a52ca5f13bc82bb2df112c"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":743,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:54Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":743,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.130402,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:54Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3282a5ca02a52ca5f13bc82bb2df112c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072554,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1NH0.4DhCHR8-N9ivDxhKxR9I0KBto7QzZgB-5N6eUkJeAoY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3282a5ca02a52ca5f13bc82bb2df112c","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F526d5be8-f3ea-4d51-84f4-d5affee94d13","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F526d5be8-f3ea-4d51-84f4-d5affee94d13","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:54.338197638Z"}]},"request_id":"36a252ec-0dd7-4491-a30d-d63954078658","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072554.8858135} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"3282a5ca02a52ca5f13bc82bb2df112c","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2bf85fd9-df0a-49eb-bbe8-476526d2afde","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072554.8923419} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"3282a5ca02a52ca5f13bc82bb2df112c","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F526d5be8-f3ea-4d51-84f4-d5affee94d13","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F526d5be8-f3ea-4d51-84f4-d5affee94d13","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:54.338197638Z"}]},"request_id":"4343305a-0d94-4324-a652-4192a424bfa3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072554.9045465} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3282a5ca02a52ca5f13bc82bb2df112c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"3282a5ca02a52ca5f13bc82bb2df112c"} device-1 | {"level":"info","message":"PATCH /devices/526d5be8-f3ea-4d51-84f4-d5affee94d13 200 36ms","method":"PATCH","requestID":"3282a5ca02a52ca5f13bc82bb2df112c","responseTime":36,"status":200,"url":"/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13"} gateway-1 | {"time_local":"16/Oct/2024:09:55:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/526d5be8-f3ea-4d51-84f4-d5affee94d13 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.043","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"3282a5ca02a52ca5f13bc82bb2df112c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1NH0.4DhCHR8-N9ivDxhKxR9I0KBto7QzZgB-5N6eUkJeAoY","level":"info","message":"auth send jwt","requestID":"03d834d5b3360250a67dda099b5a6456"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"03d834d5b3360250a67dda099b5a6456","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"03d834d5b3360250a67dda099b5a6456"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":744,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:54Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":744,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.050619,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:54Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"03d834d5b3360250a67dda099b5a6456","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072554,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1NH0.4DhCHR8-N9ivDxhKxR9I0KBto7QzZgB-5N6eUkJeAoY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"03d834d5b3360250a67dda099b5a6456","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"03d834d5b3360250a67dda099b5a6456"} gateway-1 | {"time_local":"16/Oct/2024:09:55:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/526d5be8-f3ea-4d51-84f4-d5affee94d13/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.10","requestID":"03d834d5b3360250a67dda099b5a6456"} device-1 | {"level":"info","message":"POST /devices/526d5be8-f3ea-4d51-84f4-d5affee94d13/websocket 200 17ms","method":"POST","requestID":"03d834d5b3360250a67dda099b5a6456","responseTime":17,"status":200,"url":"/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"eb1c6656b89705e4dbabdc23401cf3b4","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"eb1c6656b89705e4dbabdc23401cf3b4","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/c78a8f31-577d-4b75-a3b4-df35fb18791a/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":"eb1c6656b89705e4dbabdc23401cf3b4"} device-1 | {"level":"info","message":"OPTIONS /devices/c78a8f31-577d-4b75-a3b4-df35fb18791a/websocket 200 1ms","method":"OPTIONS","requestID":"eb1c6656b89705e4dbabdc23401cf3b4","responseTime":1,"status":200,"url":"/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1Nn0.3mdOcQiB1oH1HfK-BI0OrT1xhoaIKN8HY6cCcIjM5X4","level":"info","message":"auth send jwt","requestID":"32db61490209c4885b6618b174991150"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"32db61490209c4885b6618b174991150","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"32db61490209c4885b6618b174991150"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":745,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":745,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.878151,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"32db61490209c4885b6618b174991150","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072556,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1Nn0.3mdOcQiB1oH1HfK-BI0OrT1xhoaIKN8HY6cCcIjM5X4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"32db61490209c4885b6618b174991150","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"32db61490209c4885b6618b174991150"} device-1 | {"level":"info","message":"POST /devices/c78a8f31-577d-4b75-a3b4-df35fb18791a/websocket 200 20ms","method":"POST","requestID":"32db61490209c4885b6618b174991150","responseTime":20,"status":200,"url":"/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:55:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/c78a8f31-577d-4b75-a3b4-df35fb18791a/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":"32db61490209c4885b6618b174991150"} device-1 | {"level":"info","message":"device 'http://localhost/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"5b899d4190ebfbf3f9c66f20e068ff2c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"5b899d4190ebfbf3f9c66f20e068ff2c","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:55:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/c78a8f31-577d-4b75-a3b4-df35fb18791a? 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":"5b899d4190ebfbf3f9c66f20e068ff2c"} device-1 | {"level":"info","message":"OPTIONS /devices/c78a8f31-577d-4b75-a3b4-df35fb18791a? 200 1ms","method":"OPTIONS","requestID":"5b899d4190ebfbf3f9c66f20e068ff2c","responseTime":1,"status":200,"url":"/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1Nn0.3mdOcQiB1oH1HfK-BI0OrT1xhoaIKN8HY6cCcIjM5X4","level":"info","message":"auth send jwt","requestID":"366fa1d7c0cb41ca9f6bd1ab7e485314"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"366fa1d7c0cb41ca9f6bd1ab7e485314","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"366fa1d7c0cb41ca9f6bd1ab7e485314"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":746,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":746,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.21073,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"366fa1d7c0cb41ca9f6bd1ab7e485314","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072556,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1Nn0.3mdOcQiB1oH1HfK-BI0OrT1xhoaIKN8HY6cCcIjM5X4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"366fa1d7c0cb41ca9f6bd1ab7e485314","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc78a8f31-577d-4b75-a3b4-df35fb18791a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc78a8f31-577d-4b75-a3b4-df35fb18791a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:54.390030964Z"}]},"request_id":"1e39f4e7-2310-4f72-a0e0-77fb1f277c16","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072556.458099} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"366fa1d7c0cb41ca9f6bd1ab7e485314","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"76251754-ebbe-4ec9-a577-8fc291a28d37","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072556.463682} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"366fa1d7c0cb41ca9f6bd1ab7e485314","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc78a8f31-577d-4b75-a3b4-df35fb18791a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc78a8f31-577d-4b75-a3b4-df35fb18791a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:54.390030964Z"}]},"request_id":"d752b594-62e5-4b3f-886e-8f14d4635df5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072556.4735851} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"366fa1d7c0cb41ca9f6bd1ab7e485314","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"366fa1d7c0cb41ca9f6bd1ab7e485314"} device-1 | {"level":"info","message":"PATCH /devices/c78a8f31-577d-4b75-a3b4-df35fb18791a? 200 29ms","method":"PATCH","requestID":"366fa1d7c0cb41ca9f6bd1ab7e485314","responseTime":29,"status":200,"url":"/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/c78a8f31-577d-4b75-a3b4-df35fb18791a? HTTP/1.1","status": "200","body_bytes_sent":"998","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":"366fa1d7c0cb41ca9f6bd1ab7e485314"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1Nn0.3mdOcQiB1oH1HfK-BI0OrT1xhoaIKN8HY6cCcIjM5X4","level":"info","message":"auth send jwt","requestID":"3ae7f5e63001df529b59272ffd2664b0"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3ae7f5e63001df529b59272ffd2664b0","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3ae7f5e63001df529b59272ffd2664b0"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":747,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":747,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.337238,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3ae7f5e63001df529b59272ffd2664b0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072556,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1Nn0.3mdOcQiB1oH1HfK-BI0OrT1xhoaIKN8HY6cCcIjM5X4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3ae7f5e63001df529b59272ffd2664b0","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F526d5be8-f3ea-4d51-84f4-d5affee94d13","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F526d5be8-f3ea-4d51-84f4-d5affee94d13","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:54.338197638Z"}]},"request_id":"70e86e07-b664-4744-ba19-9a85de52ed11","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072556.4973521} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3ae7f5e63001df529b59272ffd2664b0","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3ae7f5e63001df529b59272ffd2664b0"} gateway-1 | {"time_local":"16/Oct/2024:09:55:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/526d5be8-f3ea-4d51-84f4-d5affee94d13? 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":"3ae7f5e63001df529b59272ffd2664b0"} device-1 | {"level":"info","message":"GET /devices/526d5be8-f3ea-4d51-84f4-d5affee94d13? 200 14ms","method":"GET","requestID":"3ae7f5e63001df529b59272ffd2664b0","responseTime":14,"status":200,"url":"/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1Nn0.3mdOcQiB1oH1HfK-BI0OrT1xhoaIKN8HY6cCcIjM5X4","level":"info","message":"auth send jwt","requestID":"b2f675e24a745a63ebb8cd577c81657f"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"b2f675e24a745a63ebb8cd577c81657f","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b2f675e24a745a63ebb8cd577c81657f"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":748,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":748,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.070702,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b2f675e24a745a63ebb8cd577c81657f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072556,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1Nn0.3mdOcQiB1oH1HfK-BI0OrT1xhoaIKN8HY6cCcIjM5X4"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"b2f675e24a745a63ebb8cd577c81657f","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc78a8f31-577d-4b75-a3b4-df35fb18791a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc78a8f31-577d-4b75-a3b4-df35fb18791a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:54.390030964Z"}]},"request_id":"49c879fe-3bfb-419e-bbb7-f99a53e7ace7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072556.5224936} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b2f675e24a745a63ebb8cd577c81657f","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b2f675e24a745a63ebb8cd577c81657f"} gateway-1 | {"time_local":"16/Oct/2024:09:55:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c78a8f31-577d-4b75-a3b4-df35fb18791a? 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":"b2f675e24a745a63ebb8cd577c81657f"} device-1 | {"level":"info","message":"GET /devices/c78a8f31-577d-4b75-a3b4-df35fb18791a? 200 17ms","method":"GET","requestID":"b2f675e24a745a63ebb8cd577c81657f","responseTime":17,"status":200,"url":"/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1Nn0.3mdOcQiB1oH1HfK-BI0OrT1xhoaIKN8HY6cCcIjM5X4","level":"info","message":"auth send jwt","requestID":"063bc582341081741238f11cbd8bc2cb"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"063bc582341081741238f11cbd8bc2cb","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"063bc582341081741238f11cbd8bc2cb"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":749,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":749,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.970131,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"063bc582341081741238f11cbd8bc2cb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072556,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1Nn0.3mdOcQiB1oH1HfK-BI0OrT1xhoaIKN8HY6cCcIjM5X4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"063bc582341081741238f11cbd8bc2cb","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8"},"level":"info","message":"Attempting to run experiment","requestID":"063bc582341081741238f11cbd8bc2cb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8"},"level":"info","message":"Attempting to book experiment","requestID":"063bc582341081741238f11cbd8bc2cb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8"},"level":"info","message":"Successfully booked experiment","requestID":"063bc582341081741238f11cbd8bc2cb"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d6c13b60-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d6c16270-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":750,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":750,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.913003,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d6c13b60-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072556,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1Nn0.3mdOcQiB1oH1HfK-BI0OrT1xhoaIKN8HY6cCcIjM5X4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d6c13b60-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59780","level":"info","msg":"Received request.","req_id":751,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"client_addr":"127.0.0.1:59780","level":"info","msg":"Sent response.","req_id":751,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.963016,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d6c16270-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072556,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1Nn0.3mdOcQiB1oH1HfK-BI0OrT1xhoaIKN8HY6cCcIjM5X4"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d6c16270-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F526d5be8-f3ea-4d51-84f4-d5affee94d13","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F526d5be8-f3ea-4d51-84f4-d5affee94d13","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:54.338197638Z"}]},"request_id":"4d7ca6f2-0a48-4c22-9d2c-3ba92f71c869","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072556.5748727} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d6c13b60-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc78a8f31-577d-4b75-a3b4-df35fb18791a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc78a8f31-577d-4b75-a3b4-df35fb18791a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:54.390030964Z"}]},"request_id":"61cf3cc4-bf8a-4258-9c29-39923aa84a98","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072556.578542} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d6c16270-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d6c13b60-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/526d5be8-f3ea-4d51-84f4-d5affee94d13? 200 14ms","method":"GET","requestID":"d6c13b60-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d6c16270-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/c78a8f31-577d-4b75-a3b4-df35fb18791a? 200 16ms","method":"GET","requestID":"d6c16270-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8"},"level":"info","message":"Setting up experiment","requestID":"063bc582341081741238f11cbd8bc2cb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"063bc582341081741238f11cbd8bc2cb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8"},"level":"info","message":"Successfully locked booking for experiment","requestID":"063bc582341081741238f11cbd8bc2cb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"063bc582341081741238f11cbd8bc2cb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"063bc582341081741238f11cbd8bc2cb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8"},"level":"info","message":"Attempting to update booking for experiment","requestID":"063bc582341081741238f11cbd8bc2cb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8"},"level":"info","message":"Successfully updated booking for experiment","requestID":"063bc582341081741238f11cbd8bc2cb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8"},"level":"info","message":"Successfully set up experiment","requestID":"063bc582341081741238f11cbd8bc2cb"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d6ca1500-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d6ca6320-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":752,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:56Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d6cab140-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":752,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.960952,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:56Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8"},"level":"info","message":"Successfully running experiment","requestID":"063bc582341081741238f11cbd8bc2cb"} authorization-1 | {"client_addr":"127.0.0.1:59780","level":"info","msg":"Received request.","req_id":753,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d6ca1500-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072556,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1Nn0.3mdOcQiB1oH1HfK-BI0OrT1xhoaIKN8HY6cCcIjM5X4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d6ca1500-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59780","level":"info","msg":"Sent response.","req_id":753,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.314649,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":754,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d6ca6320-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072556,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1Nn0.3mdOcQiB1oH1HfK-BI0OrT1xhoaIKN8HY6cCcIjM5X4"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"d6ca6320-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F526d5be8-f3ea-4d51-84f4-d5affee94d13","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6d36d729-143b-4bee-92a1-133291be7e17","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072556.6335237} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":754,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.770155,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d6cab140-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13","object_type":"device","rebac_allow":false,"scope_allow":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":"d6cab140-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d6cab140-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/526d5be8-f3ea-4d51-84f4-d5affee94d13/signaling 200 12ms","method":"POST","requestID":"d6cab140-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13/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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F526d5be8-f3ea-4d51-84f4-d5affee94d13","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F526d5be8-f3ea-4d51-84f4-d5affee94d13","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:54.338197638Z"}]},"request_id":"ea9ee455-4dc3-45ec-af23-98104c3ed366","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072556.6396067} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d6ca1500-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc78a8f31-577d-4b75-a3b4-df35fb18791a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc78a8f31-577d-4b75-a3b4-df35fb18791a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:54.390030964Z"}]},"request_id":"12104af5-d3c5-4c7c-9fec-cd9dba690052","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072556.6411297} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d6ca6320-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d6ccfb30-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":755,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:56Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d6ca6320-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc78a8f31-577d-4b75-a3b4-df35fb18791a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bcc82764-254a-44f0-9c58-43c559988d53","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072556.6495135} device-1 | {"level":"info","message":"GET /devices/c78a8f31-577d-4b75-a3b4-df35fb18791a? 200 23ms","method":"GET","requestID":"d6ca6320-8ba4-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d6ca1500-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/526d5be8-f3ea-4d51-84f4-d5affee94d13? 200 26ms","method":"GET","requestID":"d6ca1500-8ba4-11ef-a62f-5f7f958aa687","responseTime":26,"status":200,"url":"/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":755,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.855141,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:56Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d6ce5ac0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d6ccfb30-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a","object_type":"device","rebac_allow":false,"scope_allow":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":"d6ccfb30-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F236d2134-0937-4b20-8fbd-6e9bd0a1bab8#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F236d2134-0937-4b20-8fbd-6e9bd0a1bab8","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"be6a1ce9-0e28-49c0-a999-996b5d3ae8e5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072556.6532738} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"592c8eb5-d88c-486e-86f9-318764174ceb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072556.6535895} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d6ccfb30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c78a8f31-577d-4b75-a3b4-df35fb18791a/signaling 200 13ms","method":"POST","requestID":"d6ccfb30-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 26ms","method":"POST","requestID":"063bc582341081741238f11cbd8bc2cb","responseTime":26,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":756,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F526d5be8-f3ea-4d51-84f4-d5affee94d13","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1735094c-6399-4bab-9bec-34c02eff4679","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072556.6582563} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":756,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.490338,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d6ce5ac0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13","object_type":"device","rebac_allow":false,"scope_allow":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":"d6ce5ac0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d6ce5ac0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/526d5be8-f3ea-4d51-84f4-d5affee94d13/signaling 200 11ms","method":"POST","requestID":"d6ce5ac0-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13/signaling"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"063bc582341081741238f11cbd8bc2cb"} experiment-1 | {"level":"info","message":"POST /experiments? 201 130ms","method":"POST","requestID":"063bc582341081741238f11cbd8bc2cb","responseTime":130,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"16/Oct/2024:09:55:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1292","request_time":"0.135","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"063bc582341081741238f11cbd8bc2cb"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d6d07da0-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1Nn0.3mdOcQiB1oH1HfK-BI0OrT1xhoaIKN8HY6cCcIjM5X4","level":"info","message":"auth send jwt","requestID":"40afd58ee34fbff87a0b1be0d03eaad3"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"40afd58ee34fbff87a0b1be0d03eaad3","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":757,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:56Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"40afd58ee34fbff87a0b1be0d03eaad3"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc78a8f31-577d-4b75-a3b4-df35fb18791a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d7d2edf0-2470-48f1-8cb6-62c16fd8da6c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072556.6707003} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":757,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.323641,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"client_addr":"127.0.0.1:59780","level":"info","msg":"Received request.","req_id":758,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d6d07da0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a","object_type":"device","rebac_allow":false,"scope_allow":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":"d6d07da0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59780","level":"info","msg":"Sent response.","req_id":758,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.605901,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"40afd58ee34fbff87a0b1be0d03eaad3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072556,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1Nn0.3mdOcQiB1oH1HfK-BI0OrT1xhoaIKN8HY6cCcIjM5X4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"40afd58ee34fbff87a0b1be0d03eaad3","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d6d07da0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c78a8f31-577d-4b75-a3b4-df35fb18791a/signaling 200 12ms","method":"POST","requestID":"d6d07da0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a/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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F526d5be8-f3ea-4d51-84f4-d5affee94d13","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F526d5be8-f3ea-4d51-84f4-d5affee94d13","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:54.338197638Z"}]},"request_id":"e6063cb5-3a2c-4a0b-af8c-f6b697adaa79","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072556.6788507} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"063bc582341081741238f11cbd8bc2cb"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"40afd58ee34fbff87a0b1be0d03eaad3","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d6d2a080-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d6d2c790-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"40afd58ee34fbff87a0b1be0d03eaad3"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":759,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":759,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.643394,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"client_addr":"127.0.0.1:59780","level":"info","msg":"Received request.","req_id":760,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:56Z"} gateway-1 | {"time_local":"16/Oct/2024:09:55:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/526d5be8-f3ea-4d51-84f4-d5affee94d13? 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":"40afd58ee34fbff87a0b1be0d03eaad3"} device-1 | {"level":"info","message":"GET /devices/526d5be8-f3ea-4d51-84f4-d5affee94d13? 200 16ms","method":"GET","requestID":"40afd58ee34fbff87a0b1be0d03eaad3","responseTime":16,"status":200,"url":"/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d6d2a080-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072556,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1Nn0.3mdOcQiB1oH1HfK-BI0OrT1xhoaIKN8HY6cCcIjM5X4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d6d2a080-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:59780","level":"info","msg":"Sent response.","req_id":760,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.799082,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d6d2c790-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072556,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1Nn0.3mdOcQiB1oH1HfK-BI0OrT1xhoaIKN8HY6cCcIjM5X4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d6d2c790-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1Nn0.3mdOcQiB1oH1HfK-BI0OrT1xhoaIKN8HY6cCcIjM5X4","level":"info","message":"auth send jwt","requestID":"4866b673235ae4200ae2972ac7e8397f"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"4866b673235ae4200ae2972ac7e8397f","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F526d5be8-f3ea-4d51-84f4-d5affee94d13","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F526d5be8-f3ea-4d51-84f4-d5affee94d13","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:54.338197638Z"}]},"request_id":"4f491b38-3156-435d-a3c1-f4e69558c956","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072556.6893766} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4866b673235ae4200ae2972ac7e8397f"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"d6d2a080-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc78a8f31-577d-4b75-a3b4-df35fb18791a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc78a8f31-577d-4b75-a3b4-df35fb18791a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:54.390030964Z"}]},"request_id":"7f4e3a82-3ad6-4d05-89b6-8e8272aaf44e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072556.690739} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d6d2c790-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":761,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":761,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.744722,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"4866b673235ae4200ae2972ac7e8397f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072556,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1Nn0.3mdOcQiB1oH1HfK-BI0OrT1xhoaIKN8HY6cCcIjM5X4"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"4866b673235ae4200ae2972ac7e8397f","responseTime":2,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d6d2a080-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/526d5be8-f3ea-4d51-84f4-d5affee94d13? 200 16ms","method":"GET","requestID":"d6d2a080-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d6d2c790-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/c78a8f31-577d-4b75-a3b4-df35fb18791a? 200 16ms","method":"GET","requestID":"d6d2c790-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc78a8f31-577d-4b75-a3b4-df35fb18791a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc78a8f31-577d-4b75-a3b4-df35fb18791a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:54.390030964Z"}]},"request_id":"bc15ae74-3811-453c-b774-f2c19aef56e2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072556.6977797} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8"},"level":"info","message":"Building connection plan","requestID":"063bc582341081741238f11cbd8bc2cb"} 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":"95631843-38b5-41c4-9fae-7f0148ae4652"},{"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":"221bc9f2-b801-43ad-ae32-5b65cf2cda1a"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"a3b240b0-dbca-42f7-b520-cbda6db1df8e"}]},"level":"info","message":"Built pairwise service configurations","requestID":"063bc582341081741238f11cbd8bc2cb"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"4866b673235ae4200ae2972ac7e8397f","responseTime":2,"status":200,"url":"/relations/query"} 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/c78a8f31-577d-4b75-a3b4-df35fb18791a"},{"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/526d5be8-f3ea-4d51-84f4-d5affee94d13"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"063bc582341081741238f11cbd8bc2cb"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"d6d5adc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4866b673235ae4200ae2972ac7e8397f"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":762,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:56Z"} gateway-1 | {"time_local":"16/Oct/2024:09:55:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c78a8f31-577d-4b75-a3b4-df35fb18791a? 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":"4866b673235ae4200ae2972ac7e8397f"} device-1 | {"level":"info","message":"GET /devices/c78a8f31-577d-4b75-a3b4-df35fb18791a? 200 12ms","method":"GET","requestID":"4866b673235ae4200ae2972ac7e8397f","responseTime":12,"status":200,"url":"/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":762,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.915364,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d6d5adc0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072556,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1Nn0.3mdOcQiB1oH1HfK-BI0OrT1xhoaIKN8HY6cCcIjM5X4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d6d5adc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"76504e79-14dd-4c43-b91b-8904fb99eba9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072556.7112658} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6910c48b-cda2-4248-9d19-4aa980a81683","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072556.7114477} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"d6d5adc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"d6d5adc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"d6d5adc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/8c2ae864-d800-4c21-8155-195da3d961dd'","requestID":"d6d5adc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/8c2ae864-d800-4c21-8155-195da3d961dd'","requestID":"d6d5adc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"d6d5adc0-8ba4-11ef-a62f-5f7f958aa687"} 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":"d6d5adc0-8ba4-11ef-a62f-5f7f958aa687","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":"d6d5adc0-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"063bc582341081741238f11cbd8bc2cb"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d6dd75f0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":763,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F526d5be8-f3ea-4d51-84f4-d5affee94d13","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"879a763a-4eb6-4fa6-9a3f-4a2c21bc45a7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072556.7562814} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":763,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.059594,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d6dd75f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13","object_type":"device","rebac_allow":false,"scope_allow":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":"d6dd75f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d6dd75f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/526d5be8-f3ea-4d51-84f4-d5affee94d13/signaling 200 10ms","method":"POST","requestID":"d6dd75f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13/signaling"} device-1 | {"device":"c78a8f31-577d-4b75-a3b4-df35fb18791a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"c78a8f31-577d-4b75-a3b4-df35fb18791a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d6df4ab0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":764,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc78a8f31-577d-4b75-a3b4-df35fb18791a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bd5e50cc-c3ba-4bc3-b8fe-36ffbc8e82d8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072556.7676663} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":764,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.126144,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:56Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d6df4ab0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a","object_type":"device","rebac_allow":false,"scope_allow":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":"d6df4ab0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d6df4ab0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c78a8f31-577d-4b75-a3b4-df35fb18791a/signaling 200 8ms","method":"POST","requestID":"d6df4ab0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a/signaling"} forwarding-1 | {"level":"info","message":"Participant \"0184e0be-acb5-4688-8625-0621a9723f6f\" in room \"http://localhost/rooms/37942951-bfd8-4bbb-b7fb-47d1a4374268\" did not answer hearbeat check, closing connection","requestID":"b38bdd80-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Participant \"df8e9288-18d4-4a96-afc1-a3660de97e3f\" in room \"http://localhost/rooms/37942951-bfd8-4bbb-b7fb-47d1a4374268\" did not answer hearbeat check, closing connection","requestID":"b38c52b0-8ba4-11ef-a042-213954f0282b"} device-1 | {"device":"526d5be8-f3ea-4d51-84f4-d5affee94d13","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":"8c2ae864-d800-4c21-8155-195da3d961dd","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 4592049711781135963 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:KIkd\r\na=ice-pwd:4dEVsogl8OPqV9U6AOxikUe9\r\na=ice-options:trickle\r\na=fingerprint:sha-256 7C:A1:56:70:7E:47:6B:86:D0:E7:88:68:00:D8:88:6D:6C:22:BB:49:77:91:5F:44:A0:D7:DD:CB:9B:E9:7D:59\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"c78a8f31-577d-4b75-a3b4-df35fb18791a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"device":"c78a8f31-577d-4b75-a3b4-df35fb18791a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:3344943500 1 udp 2113937151 30ac1ead-a39d-4fa1-a93c-bc25563e63d7.local 43321 typ host generation 0 ufrag KIkd network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"c78a8f31-577d-4b75-a3b4-df35fb18791a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1416915103 1 udp 1677729535 141.24.211.56 43321 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag KIkd network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"c78a8f31-577d-4b75-a3b4-df35fb18791a","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/8c2ae864-d800-4c21-8155-195da3d961dd' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"8c2ae864-d800-4c21-8155-195da3d961dd","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"c78a8f31-577d-4b75-a3b4-df35fb18791a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"526d5be8-f3ea-4d51-84f4-d5affee94d13","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":"526d5be8-f3ea-4d51-84f4-d5affee94d13","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":"526d5be8-f3ea-4d51-84f4-d5affee94d13","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":"fd69002177815a4c7b83069df699269d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"fd69002177815a4c7b83069df699269d","responseTime":2,"status":200,"url":"/auth"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a'"} 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/c78a8f31-577d-4b75-a3b4-df35fb18791a"},{"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/526d5be8-f3ea-4d51-84f4-d5affee94d13"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/8c2ae864-d800-4c21-8155-195da3d961dd"}}},"level":"info","message":"received a callback","requestID":"fd69002177815a4c7b83069df699269d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 5ms","method":"POST","requestID":"fd69002177815a4c7b83069df699269d","responseTime":5,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55:58 +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":"fd69002177815a4c7b83069df699269d"} device-1 | {"data":{"peerconnection":"8c2ae864-d800-4c21-8155-195da3d961dd","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"526d5be8-f3ea-4d51-84f4-d5affee94d13","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":"c78a8f31-577d-4b75-a3b4-df35fb18791a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"526d5be8-f3ea-4d51-84f4-d5affee94d13","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":"8c2ae864-d800-4c21-8155-195da3d961dd","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"c78a8f31-577d-4b75-a3b4-df35fb18791a","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/8c2ae864-d800-4c21-8155-195da3d961dd' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"8c2ae864-d800-4c21-8155-195da3d961dd","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f73a678d738980dd838854720afdf362","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"f73a678d738980dd838854720afdf362","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/c78a8f31-577d-4b75-a3b4-df35fb18791a"},{"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/526d5be8-f3ea-4d51-84f4-d5affee94d13"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/8c2ae864-d800-4c21-8155-195da3d961dd"}}},"level":"info","message":"received a callback","requestID":"f73a678d738980dd838854720afdf362"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"d81c1070-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":765,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:58Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F8c2ae864-d800-4c21-8155-195da3d961dd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0ba82f8f-2eed-455b-b6c2-d2dedae57b13","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072558.8436725} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":765,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.370936,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/8c2ae864-d800-4c21-8155-195da3d961dd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d81c1070-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/8c2ae864-d800-4c21-8155-195da3d961dd","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":"d81c1070-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"d81c1070-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/8c2ae864-d800-4c21-8155-195da3d961dd 200 10ms","method":"GET","requestID":"d81c1070-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/peerconnections/8c2ae864-d800-4c21-8155-195da3d961dd"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 31ms","method":"POST","requestID":"f73a678d738980dd838854720afdf362","responseTime":31,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55:58 +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":"f73a678d738980dd838854720afdf362"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d8202f20-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":766,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:58Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc78a8f31-577d-4b75-a3b4-df35fb18791a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"07e200a9-cdf8-45de-b32f-307ee1193157","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072558.873789} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":766,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.746908,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:58Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d8202f20-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a","object_type":"device","rebac_allow":false,"scope_allow":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":"d8202f20-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d8202f20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c78a8f31-577d-4b75-a3b4-df35fb18791a/signaling 200 15ms","method":"POST","requestID":"d8202f20-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d822c730-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":767,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:58Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F526d5be8-f3ea-4d51-84f4-d5affee94d13","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"56067dca-b623-4c5f-b495-67e11a5613d2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072558.8899314} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":767,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.15933,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:58Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d822c730-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13","object_type":"device","rebac_allow":false,"scope_allow":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":"d822c730-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d822c730-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/526d5be8-f3ea-4d51-84f4-d5affee94d13/signaling 200 13ms","method":"POST","requestID":"d822c730-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1OH0.z6AJ0HbiBPK0unK46LPc9XYlp0ZdjpQLD10zC87V3mM","level":"info","message":"auth send jwt","requestID":"e9a37a4caf54c7f993039260549832df"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e9a37a4caf54c7f993039260549832df","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8","requestID":"e9a37a4caf54c7f993039260549832df"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":768,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:58Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":768,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.183166,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e9a37a4caf54c7f993039260549832df","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072558,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1OH0.z6AJ0HbiBPK0unK46LPc9XYlp0ZdjpQLD10zC87V3mM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e9a37a4caf54c7f993039260549832df","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8","requestID":"e9a37a4caf54c7f993039260549832df"} gateway-1 | {"time_local":"16/Oct/2024:09:55:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8 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":"e9a37a4caf54c7f993039260549832df"} experiment-1 | {"level":"info","message":"GET /experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8 200 15ms","method":"GET","requestID":"e9a37a4caf54c7f993039260549832df","responseTime":15,"status":200,"url":"/experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1OH0.z6AJ0HbiBPK0unK46LPc9XYlp0ZdjpQLD10zC87V3mM","level":"info","message":"auth send jwt","requestID":"f5f3357350bb50b084d83d2463281cdb"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"f5f3357350bb50b084d83d2463281cdb","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8","requestID":"f5f3357350bb50b084d83d2463281cdb"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":769,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:58Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":769,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.125379,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:58Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f5f3357350bb50b084d83d2463281cdb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072558,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1OH0.z6AJ0HbiBPK0unK46LPc9XYlp0ZdjpQLD10zC87V3mM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f5f3357350bb50b084d83d2463281cdb","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8"},"level":"info","message":"Attempting to finish experiment","requestID":"f5f3357350bb50b084d83d2463281cdb"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"d8305bc0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":770,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:58Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":770,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.174891,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:58Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/8c2ae864-d800-4c21-8155-195da3d961dd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d8305bc0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/8c2ae864-d800-4c21-8155-195da3d961dd","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072558,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1OH0.z6AJ0HbiBPK0unK46LPc9XYlp0ZdjpQLD10zC87V3mM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d8305bc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/8c2ae864-d800-4c21-8155-195da3d961dd","device":"c78a8f31-577d-4b75-a3b4-df35fb18791a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"526d5be8-f3ea-4d51-84f4-d5affee94d13","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":"526d5be8-f3ea-4d51-84f4-d5affee94d13","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":"526d5be8-f3ea-4d51-84f4-d5affee94d13","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/8c2ae864-d800-4c21-8155-195da3d961dd' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/8c2ae864-d800-4c21-8155-195da3d961dd' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"8c2ae864-d800-4c21-8155-195da3d961dd","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e8aba29d33ad6dbaf7a83089e2fcfa0f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"e8aba29d33ad6dbaf7a83089e2fcfa0f","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F8c2ae864-d800-4c21-8155-195da3d961dd': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F8c2ae864-d800-4c21-8155-195da3d961dd","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"1db4d6f3-7172-4f9b-8990-1de64668da69","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072559.0055766} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"37548f84-3c31-4832-8376-56cffc5a4410","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072559.0058048} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"8514195cfbe38310e0703436e2da1d69","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/c78a8f31-577d-4b75-a3b4-df35fb18791a"},{"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/526d5be8-f3ea-4d51-84f4-d5affee94d13"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/8c2ae864-d800-4c21-8155-195da3d961dd"}}},"level":"info","message":"received a callback","requestID":"e8aba29d33ad6dbaf7a83089e2fcfa0f"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"8514195cfbe38310e0703436e2da1d69","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/c78a8f31-577d-4b75-a3b4-df35fb18791a"},{"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/526d5be8-f3ea-4d51-84f4-d5affee94d13"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/8c2ae864-d800-4c21-8155-195da3d961dd"}}},"level":"info","message":"received a callback","requestID":"8514195cfbe38310e0703436e2da1d69"} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"d8305bc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":20,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"8c2ae864-d800-4c21-8155-195da3d961dd","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"d8305bc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/8c2ae864-d800-4c21-8155-195da3d961dd 204 54ms","method":"DELETE","requestID":"d8305bc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":54,"status":204,"url":"/peerconnections/8c2ae864-d800-4c21-8155-195da3d961dd"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8"},"level":"info","message":"Successfully finished experiment","requestID":"f5f3357350bb50b084d83d2463281cdb"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d83bf480-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":771,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:59Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc78a8f31-577d-4b75-a3b4-df35fb18791a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6aa0d12d-2c1a-451c-b41f-dfe472fcd904","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072559.054113} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":771,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.129953,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:59Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d83bf480-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a","object_type":"device","rebac_allow":false,"scope_allow":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":"d83bf480-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d83bf480-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c78a8f31-577d-4b75-a3b4-df35fb18791a/signaling 200 13ms","method":"POST","requestID":"d83bf480-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/c78a8f31-577d-4b75-a3b4-df35fb18791a/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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"54e08a14-833c-4502-944d-9de2c7fc3990","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072559.0636892} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F236d2134-0937-4b20-8fbd-6e9bd0a1bab8': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F236d2134-0937-4b20-8fbd-6e9bd0a1bab8","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"48258502-cb71-4dea-8724-41024403e078","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072559.0643423} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d83e8c90-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"f5f3357350bb50b084d83d2463281cdb","responseTime":21,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":772,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:59Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F526d5be8-f3ea-4d51-84f4-d5affee94d13","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"080afcd2-8415-40da-8a16-f1bfb32a7e1b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072559.0726101} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":772,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.471656,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:59Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d83e8c90-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13","object_type":"device","rebac_allow":false,"scope_allow":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":"d83e8c90-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d83e8c90-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/526d5be8-f3ea-4d51-84f4-d5affee94d13/signaling 200 15ms","method":"POST","requestID":"d83e8c90-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/526d5be8-f3ea-4d51-84f4-d5affee94d13/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8","requestID":"f5f3357350bb50b084d83d2463281cdb"} gateway-1 | {"time_local":"16/Oct/2024:09:55:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8 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":"f5f3357350bb50b084d83d2463281cdb"} experiment-1 | {"level":"info","message":"DELETE /experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8 204 180ms","method":"DELETE","requestID":"f5f3357350bb50b084d83d2463281cdb","responseTime":180,"status":204,"url":"/experiments/236d2134-0937-4b20-8fbd-6e9bd0a1bab8"} gateway-1 | {"time_local":"16/Oct/2024:09:55:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3271","request_time":"4.205","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"273efefbe163c1ee2303d3c4529f32ab"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 133ms","method":"POST","requestID":"e8aba29d33ad6dbaf7a83089e2fcfa0f","responseTime":133,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55:59 +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":"e8aba29d33ad6dbaf7a83089e2fcfa0f"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 132ms","method":"POST","requestID":"8514195cfbe38310e0703436e2da1d69","responseTime":132,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:55:59 +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":"8514195cfbe38310e0703436e2da1d69"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1OX0.cgwplxU2xiNDN1bRlThGrs0XlNZpNn4stnK-jFWJgBw","level":"info","message":"auth send jwt","requestID":"765c66bb6387ba39d46c82e7650825f3"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"765c66bb6387ba39d46c82e7650825f3","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"765c66bb6387ba39d46c82e7650825f3"} gateway-1 | {"time_local":"16/Oct/2024:09:55:59 +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.732","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"a382477c10be689db8f06f1130d267f1"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":773,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:59Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":773,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.914814,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:59Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"765c66bb6387ba39d46c82e7650825f3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072559,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1OX0.cgwplxU2xiNDN1bRlThGrs0XlNZpNn4stnK-jFWJgBw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"765c66bb6387ba39d46c82e7650825f3","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/526d5be8-f3ea-4d51-84f4-d5affee94d13' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ac4ce96e-3d24-4146-b4d6-e53da5888d75","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072559.1649525} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"765c66bb6387ba39d46c82e7650825f3","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/c78a8f31-577d-4b75-a3b4-df35fb18791a' 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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"db7565ff-e226-4528-ae0c-de930b61b163","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072559.1710463} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"765c66bb6387ba39d46c82e7650825f3","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"9f3ad28d-1c54-4456-bbc4-5baf487164d0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072559.1807098} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"be779f47-031a-4440-bc3b-01e87c83a29c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072559.1812747} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"765c66bb6387ba39d46c82e7650825f3","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:59.180675423Z"}]},"request_id":"8b856316-99f0-4394-9ca8-4050a1fcdff4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072559.186442} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"765c66bb6387ba39d46c82e7650825f3","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"765c66bb6387ba39d46c82e7650825f3"} gateway-1 | {"time_local":"16/Oct/2024:09:55:59 +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":"765c66bb6387ba39d46c82e7650825f3"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"765c66bb6387ba39d46c82e7650825f3","responseTime":44,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1OX0.cgwplxU2xiNDN1bRlThGrs0XlNZpNn4stnK-jFWJgBw","level":"info","message":"auth send jwt","requestID":"8a12ee2c22c97963f37e676d3075cbb8"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8a12ee2c22c97963f37e676d3075cbb8","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"8a12ee2c22c97963f37e676d3075cbb8"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":774,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:59Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":774,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.424626,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:59Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"8a12ee2c22c97963f37e676d3075cbb8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072559,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1OX0.cgwplxU2xiNDN1bRlThGrs0XlNZpNn4stnK-jFWJgBw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8a12ee2c22c97963f37e676d3075cbb8","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9ff0b59-901c-414f-985c-68bf518616d2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"48b75700-761a-466a-8dfa-1c0a4f24d3c5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072559.2179806} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8a12ee2c22c97963f37e676d3075cbb8","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"461156f3-2e53-41b3-af34-cd6b3d7e0b5b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072559.2229028} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"8a12ee2c22c97963f37e676d3075cbb8","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9ff0b59-901c-414f-985c-68bf518616d2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"4acfaef5-3c0c-4b2f-94c3-80a982d90448","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072559.232922} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6adf6db3-4beb-41df-9248-cb6cd27d09b5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072559.2330875} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"8a12ee2c22c97963f37e676d3075cbb8","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9ff0b59-901c-414f-985c-68bf518616d2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9ff0b59-901c-414f-985c-68bf518616d2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:59.232898581Z"}]},"request_id":"040deedd-949f-4c7c-9751-883642aa03e7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072559.2375238} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8a12ee2c22c97963f37e676d3075cbb8","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"8a12ee2c22c97963f37e676d3075cbb8"} gateway-1 | {"time_local":"16/Oct/2024:09:55:59 +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":"8a12ee2c22c97963f37e676d3075cbb8"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"8a12ee2c22c97963f37e676d3075cbb8","responseTime":44,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1OX0.cgwplxU2xiNDN1bRlThGrs0XlNZpNn4stnK-jFWJgBw","level":"info","message":"auth send jwt","requestID":"e930733376aec47add4dff2c505430c2"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"e930733376aec47add4dff2c505430c2","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"e930733376aec47add4dff2c505430c2"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":775,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:59Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":775,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.811281,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:59Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e930733376aec47add4dff2c505430c2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072559,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1OX0.cgwplxU2xiNDN1bRlThGrs0XlNZpNn4stnK-jFWJgBw"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"e930733376aec47add4dff2c505430c2","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:59.180675423Z"}]},"request_id":"073bfd51-d796-4a4b-9169-da546151b6e0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072559.7312438} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e930733376aec47add4dff2c505430c2","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"98ec68ec-b063-4f12-a95a-6af52a9767a5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072559.7384439} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"e930733376aec47add4dff2c505430c2","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:59.180675423Z"}]},"request_id":"41051534-bfcb-4771-9fa1-92b74009423d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072559.7525496} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e930733376aec47add4dff2c505430c2","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"e930733376aec47add4dff2c505430c2"} device-1 | {"level":"info","message":"PATCH /devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d 200 40ms","method":"PATCH","requestID":"e930733376aec47add4dff2c505430c2","responseTime":40,"status":200,"url":"/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d"} gateway-1 | {"time_local":"16/Oct/2024:09:55:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.046","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"e930733376aec47add4dff2c505430c2"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1OX0.cgwplxU2xiNDN1bRlThGrs0XlNZpNn4stnK-jFWJgBw","level":"info","message":"auth send jwt","requestID":"e64cde16a79c106e26534642f71ebd7a"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"e64cde16a79c106e26534642f71ebd7a","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"e64cde16a79c106e26534642f71ebd7a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":776,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:55:59Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":776,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.214051,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:55:59Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e64cde16a79c106e26534642f71ebd7a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072559,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU1OX0.cgwplxU2xiNDN1bRlThGrs0XlNZpNn4stnK-jFWJgBw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e64cde16a79c106e26534642f71ebd7a","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"e64cde16a79c106e26534642f71ebd7a"} gateway-1 | {"time_local":"16/Oct/2024:09:55:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d/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.10","requestID":"e64cde16a79c106e26534642f71ebd7a"} device-1 | {"level":"info","message":"POST /devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d/websocket 200 21ms","method":"POST","requestID":"e64cde16a79c106e26534642f71ebd7a","responseTime":21,"status":200,"url":"/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d' connected"} forwarding-1 | {"level":"info","message":"Participant \"d42ffdd7-f84f-46c8-875f-704a649ec0eb\" in room \"http://localhost/rooms/7d8d4808-60cb-4609-a5af-deb5acdf9e95\" did not answer hearbeat check, closing connection","requestID":"b53dfa50-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Participant \"68e7dedb-2ace-4139-a02a-38f192ea402c\" in room \"http://localhost/rooms/7d8d4808-60cb-4609-a5af-deb5acdf9e95\" did not answer hearbeat check, closing connection","requestID":"b53e4870-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"4972e5bf-6410-4384-9e5f-f11ee19eaf8e\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\"","requestID":"c723bc00-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\"","requestID":"c723e310-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c9c699c47e918361933b767aa0c49b85","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"c9c699c47e918361933b767aa0c49b85","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/c9ff0b59-901c-414f-985c-68bf518616d2/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":"c9c699c47e918361933b767aa0c49b85"} device-1 | {"level":"info","message":"OPTIONS /devices/c9ff0b59-901c-414f-985c-68bf518616d2/websocket 200 2ms","method":"OPTIONS","requestID":"c9c699c47e918361933b767aa0c49b85","responseTime":2,"status":200,"url":"/devices/c9ff0b59-901c-414f-985c-68bf518616d2/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2MX0.bEPImv8nSDHYAIhBwve0md513GvzKyzb_CxGlmOE6EA","level":"info","message":"auth send jwt","requestID":"4b44d3dce3da33c5eda31ea4d42037e0"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"4b44d3dce3da33c5eda31ea4d42037e0","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"4b44d3dce3da33c5eda31ea4d42037e0"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":777,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":777,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.295772,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"4b44d3dce3da33c5eda31ea4d42037e0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072561,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2MX0.bEPImv8nSDHYAIhBwve0md513GvzKyzb_CxGlmOE6EA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4b44d3dce3da33c5eda31ea4d42037e0","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"4b44d3dce3da33c5eda31ea4d42037e0"} device-1 | {"level":"info","message":"POST /devices/c9ff0b59-901c-414f-985c-68bf518616d2/websocket 200 25ms","method":"POST","requestID":"4b44d3dce3da33c5eda31ea4d42037e0","responseTime":25,"status":200,"url":"/devices/c9ff0b59-901c-414f-985c-68bf518616d2/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:56:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/c9ff0b59-901c-414f-985c-68bf518616d2/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":"4b44d3dce3da33c5eda31ea4d42037e0"} device-1 | {"level":"info","message":"device 'http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"717e28e7873fd723b7c2fbcf22bb3057","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"717e28e7873fd723b7c2fbcf22bb3057","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/c9ff0b59-901c-414f-985c-68bf518616d2? 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":"717e28e7873fd723b7c2fbcf22bb3057"} device-1 | {"level":"info","message":"OPTIONS /devices/c9ff0b59-901c-414f-985c-68bf518616d2? 200 1ms","method":"OPTIONS","requestID":"717e28e7873fd723b7c2fbcf22bb3057","responseTime":1,"status":200,"url":"/devices/c9ff0b59-901c-414f-985c-68bf518616d2?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2MX0.bEPImv8nSDHYAIhBwve0md513GvzKyzb_CxGlmOE6EA","level":"info","message":"auth send jwt","requestID":"5ee12af041d63948cac9e3fc5a7158dd"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"5ee12af041d63948cac9e3fc5a7158dd","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"5ee12af041d63948cac9e3fc5a7158dd"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":778,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":778,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.210221,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"5ee12af041d63948cac9e3fc5a7158dd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072561,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2MX0.bEPImv8nSDHYAIhBwve0md513GvzKyzb_CxGlmOE6EA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5ee12af041d63948cac9e3fc5a7158dd","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9ff0b59-901c-414f-985c-68bf518616d2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9ff0b59-901c-414f-985c-68bf518616d2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:59.232898581Z"}]},"request_id":"90493529-afc9-483e-8daf-83525740c8d6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072561.353073} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"5ee12af041d63948cac9e3fc5a7158dd","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f10d1e9a-d978-4200-890f-c512f796b4ca","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072561.3609328} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"5ee12af041d63948cac9e3fc5a7158dd","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9ff0b59-901c-414f-985c-68bf518616d2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9ff0b59-901c-414f-985c-68bf518616d2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:59.232898581Z"}]},"request_id":"0a9e76be-9a7e-45d3-8e8f-b517d9c97d31","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072561.3743713} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"5ee12af041d63948cac9e3fc5a7158dd","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"5ee12af041d63948cac9e3fc5a7158dd"} device-1 | {"level":"info","message":"PATCH /devices/c9ff0b59-901c-414f-985c-68bf518616d2? 200 39ms","method":"PATCH","requestID":"5ee12af041d63948cac9e3fc5a7158dd","responseTime":39,"status":200,"url":"/devices/c9ff0b59-901c-414f-985c-68bf518616d2?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/c9ff0b59-901c-414f-985c-68bf518616d2? 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":"5ee12af041d63948cac9e3fc5a7158dd"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2MX0.bEPImv8nSDHYAIhBwve0md513GvzKyzb_CxGlmOE6EA","level":"info","message":"auth send jwt","requestID":"8b82e456988719091e602ffffa73b2de"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"8b82e456988719091e602ffffa73b2de","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8b82e456988719091e602ffffa73b2de"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":779,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":779,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.333095,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"8b82e456988719091e602ffffa73b2de","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072561,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2MX0.bEPImv8nSDHYAIhBwve0md513GvzKyzb_CxGlmOE6EA"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"8b82e456988719091e602ffffa73b2de","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:59.180675423Z"}]},"request_id":"97b8d9ac-b0bc-4800-a0e7-dad72dcf8f96","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072561.406012} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"8b82e456988719091e602ffffa73b2de","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8b82e456988719091e602ffffa73b2de"} gateway-1 | {"time_local":"16/Oct/2024:09:56:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d? 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":"8b82e456988719091e602ffffa73b2de"} device-1 | {"level":"info","message":"GET /devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d? 200 20ms","method":"GET","requestID":"8b82e456988719091e602ffffa73b2de","responseTime":20,"status":200,"url":"/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2MX0.bEPImv8nSDHYAIhBwve0md513GvzKyzb_CxGlmOE6EA","level":"info","message":"auth send jwt","requestID":"afede6b2faae50bb406d832c26f13542"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"afede6b2faae50bb406d832c26f13542","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"afede6b2faae50bb406d832c26f13542"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":780,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":780,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.11118,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"afede6b2faae50bb406d832c26f13542","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072561,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2MX0.bEPImv8nSDHYAIhBwve0md513GvzKyzb_CxGlmOE6EA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"afede6b2faae50bb406d832c26f13542","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9ff0b59-901c-414f-985c-68bf518616d2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9ff0b59-901c-414f-985c-68bf518616d2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:59.232898581Z"}]},"request_id":"f45816dd-b652-46bb-93b0-a36cc8dc4902","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072561.4288373} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"afede6b2faae50bb406d832c26f13542","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"afede6b2faae50bb406d832c26f13542"} gateway-1 | {"time_local":"16/Oct/2024:09:56:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c9ff0b59-901c-414f-985c-68bf518616d2? 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":"afede6b2faae50bb406d832c26f13542"} device-1 | {"level":"info","message":"GET /devices/c9ff0b59-901c-414f-985c-68bf518616d2? 200 17ms","method":"GET","requestID":"afede6b2faae50bb406d832c26f13542","responseTime":17,"status":200,"url":"/devices/c9ff0b59-901c-414f-985c-68bf518616d2?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2MX0.bEPImv8nSDHYAIhBwve0md513GvzKyzb_CxGlmOE6EA","level":"info","message":"auth send jwt","requestID":"8848530b08a784815d0478cd19d87c76"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8848530b08a784815d0478cd19d87c76","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"8848530b08a784815d0478cd19d87c76"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":781,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":781,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.139489,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"8848530b08a784815d0478cd19d87c76","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072561,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2MX0.bEPImv8nSDHYAIhBwve0md513GvzKyzb_CxGlmOE6EA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8848530b08a784815d0478cd19d87c76","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d"},"level":"info","message":"Attempting to run experiment","requestID":"8848530b08a784815d0478cd19d87c76"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d"},"level":"info","message":"Attempting to book experiment","requestID":"8848530b08a784815d0478cd19d87c76"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d"},"level":"info","message":"Successfully booked experiment","requestID":"8848530b08a784815d0478cd19d87c76"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d9aebe60-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d9af0c80-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":782,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":782,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.166751,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d9aebe60-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072561,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2MX0.bEPImv8nSDHYAIhBwve0md513GvzKyzb_CxGlmOE6EA"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d9aebe60-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Received request.","req_id":783,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Sent response.","req_id":783,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.809861,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d9af0c80-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072561,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2MX0.bEPImv8nSDHYAIhBwve0md513GvzKyzb_CxGlmOE6EA"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"d9af0c80-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:59.180675423Z"}]},"request_id":"b0da7d0c-ad39-44c6-a63d-9758f0614a7f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072561.490526} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"d9aebe60-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9ff0b59-901c-414f-985c-68bf518616d2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9ff0b59-901c-414f-985c-68bf518616d2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:59.232898581Z"}]},"request_id":"73f01004-0510-4c6f-8ece-c763838b4dbc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072561.4960804} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d9aebe60-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"d9af0c80-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d? 200 20ms","method":"GET","requestID":"d9aebe60-8ba4-11ef-a62f-5f7f958aa687","responseTime":20,"status":200,"url":"/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d9af0c80-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/c9ff0b59-901c-414f-985c-68bf518616d2? 200 21ms","method":"GET","requestID":"d9af0c80-8ba4-11ef-a62f-5f7f958aa687","responseTime":21,"status":200,"url":"/devices/c9ff0b59-901c-414f-985c-68bf518616d2?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d"},"level":"info","message":"Setting up experiment","requestID":"8848530b08a784815d0478cd19d87c76"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"8848530b08a784815d0478cd19d87c76"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d"},"level":"info","message":"Successfully locked booking for experiment","requestID":"8848530b08a784815d0478cd19d87c76"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"8848530b08a784815d0478cd19d87c76"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"8848530b08a784815d0478cd19d87c76"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d"},"level":"info","message":"Attempting to update booking for experiment","requestID":"8848530b08a784815d0478cd19d87c76"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d"},"level":"info","message":"Successfully updated booking for experiment","requestID":"8848530b08a784815d0478cd19d87c76"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d"},"level":"info","message":"Successfully set up experiment","requestID":"8848530b08a784815d0478cd19d87c76"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d9ba5720-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d9bacc50-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d"},"level":"info","message":"Successfully running experiment","requestID":"8848530b08a784815d0478cd19d87c76"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":784,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":784,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.8542,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Received request.","req_id":785,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:01Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d9bbb6b0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d9ba5720-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072561,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2MX0.bEPImv8nSDHYAIhBwve0md513GvzKyzb_CxGlmOE6EA"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"d9ba5720-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Sent response.","req_id":785,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.295514,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d9bacc50-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072561,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2MX0.bEPImv8nSDHYAIhBwve0md513GvzKyzb_CxGlmOE6EA"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"d9bacc50-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":786,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":786,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.347357,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f4d25f78-cd91-4000-b5cf-172c7dc8c5a3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072561.5771897} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9ff0b59-901c-414f-985c-68bf518616d2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9ff0b59-901c-414f-985c-68bf518616d2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:59.232898581Z"}]},"request_id":"70154ffb-8f03-40fb-86d8-3d759317ca4f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072561.5773456} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"d9bacc50-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d9bbb6b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","object_type":"device","rebac_allow":false,"scope_allow":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":"d9bbb6b0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:59.180675423Z"}]},"request_id":"b5bbbc75-a18e-4bd4-89d6-a1d4e3868652","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072561.579515} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"d9ba5720-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5e5280aa-2aff-4853-bad8-1b3bded20b9d#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5e5280aa-2aff-4853-bad8-1b3bded20b9d","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"831e0a2b-9bc6-41e7-b8d5-0d618cdcebb6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072561.5912218} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"770c8f2b-58bc-4f62-90c9-6e908953d36d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072561.5915375} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d9bacc50-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/c9ff0b59-901c-414f-985c-68bf518616d2? 200 37ms","method":"GET","requestID":"d9bacc50-8ba4-11ef-a62f-5f7f958aa687","responseTime":37,"status":200,"url":"/devices/c9ff0b59-901c-414f-985c-68bf518616d2?"} authorization-1 | {"level":"info","message":"POST /relations/update 200 29ms","method":"POST","requestID":"8848530b08a784815d0478cd19d87c76","responseTime":29,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d9bbb6b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d/signaling 200 35ms","method":"POST","requestID":"d9bbb6b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":35,"status":200,"url":"/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d9ba5720-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d? 200 47ms","method":"GET","requestID":"d9ba5720-8ba4-11ef-a62f-5f7f958aa687","responseTime":47,"status":200,"url":"/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d9c1f840-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d9c29480-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":787,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Received request.","req_id":788,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9ff0b59-901c-414f-985c-68bf518616d2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7802ca69-1620-48b6-8a32-e541ff94c507","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072561.6124454} experiment-1 | {"data":{"experiment":"http://localhost/experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"8848530b08a784815d0478cd19d87c76"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":787,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.095765,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:01Z"} gateway-1 | {"time_local":"16/Oct/2024:09:56:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1292","request_time":"0.178","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8848530b08a784815d0478cd19d87c76"} experiment-1 | {"level":"info","message":"POST /experiments? 201 172ms","method":"POST","requestID":"8848530b08a784815d0478cd19d87c76","responseTime":172,"status":201,"url":"/experiments?"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d9c1f840-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2","object_type":"device","rebac_allow":false,"scope_allow":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":"d9c1f840-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"30732456-7bd2-4701-b7ca-f2b08bb19fea","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072561.6153803} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Sent response.","req_id":788,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.079566,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d9c29480-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","object_type":"device","rebac_allow":false,"scope_allow":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":"d9c29480-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2MX0.bEPImv8nSDHYAIhBwve0md513GvzKyzb_CxGlmOE6EA","level":"info","message":"auth send jwt","requestID":"ff2f2969a924669945273eef842b716e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d9c1f840-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ff2f2969a924669945273eef842b716e","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"POST /devices/c9ff0b59-901c-414f-985c-68bf518616d2/signaling 200 17ms","method":"POST","requestID":"d9c1f840-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/c9ff0b59-901c-414f-985c-68bf518616d2/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ff2f2969a924669945273eef842b716e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d9c29480-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d/signaling 200 18ms","method":"POST","requestID":"d9c29480-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d/signaling"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":789,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":789,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.377391,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:01Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d9c5a1c0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ff2f2969a924669945273eef842b716e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072561,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2MX0.bEPImv8nSDHYAIhBwve0md513GvzKyzb_CxGlmOE6EA"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ff2f2969a924669945273eef842b716e","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":790,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:59.180675423Z"}]},"request_id":"caeea69b-f1a4-4791-82de-2b69d1899d5f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072561.6346035} forwarding-1 | {"level":"info","message":"Participant \"09661f09-a2a5-409b-b99e-a643b9509618\" in room \"http://localhost/rooms/e5fa1538-0ac3-4f3b-b5ba-e3b6effc748a\" did not answer hearbeat check, closing connection","requestID":"b602f800-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Participant \"f4e33730-ef7e-458a-8051-9beb5c062af0\" in room \"http://localhost/rooms/e5fa1538-0ac3-4f3b-b5ba-e3b6effc748a\" did not answer hearbeat check, closing connection","requestID":"b6034620-8ba4-11ef-a042-213954f0282b"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9ff0b59-901c-414f-985c-68bf518616d2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"62ea0a7b-4f8e-4e99-95be-b975c073bc97","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072561.6347756} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ff2f2969a924669945273eef842b716e","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":790,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.752238,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d9c5a1c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2","object_type":"device","rebac_allow":false,"scope_allow":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":"d9c5a1c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ff2f2969a924669945273eef842b716e"} device-1 | {"level":"info","message":"GET /devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d? 200 18ms","method":"GET","requestID":"ff2f2969a924669945273eef842b716e","responseTime":18,"status":200,"url":"/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d? 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":"ff2f2969a924669945273eef842b716e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d9c5a1c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c9ff0b59-901c-414f-985c-68bf518616d2/signaling 200 13ms","method":"POST","requestID":"d9c5a1c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/c9ff0b59-901c-414f-985c-68bf518616d2/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"8848530b08a784815d0478cd19d87c76"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d9c812c0-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2MX0.bEPImv8nSDHYAIhBwve0md513GvzKyzb_CxGlmOE6EA","level":"info","message":"auth send jwt","requestID":"abf7af8b79985466ba2598ce9fc021b0"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d9c839d0-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"abf7af8b79985466ba2598ce9fc021b0","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"abf7af8b79985466ba2598ce9fc021b0"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":791,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":791,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.104814,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Received request.","req_id":792,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d9c812c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072561,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2MX0.bEPImv8nSDHYAIhBwve0md513GvzKyzb_CxGlmOE6EA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d9c812c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Sent response.","req_id":792,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.68266,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d9c839d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072561,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2MX0.bEPImv8nSDHYAIhBwve0md513GvzKyzb_CxGlmOE6EA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d9c839d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":793,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":793,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.980473,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"abf7af8b79985466ba2598ce9fc021b0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072561,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2MX0.bEPImv8nSDHYAIhBwve0md513GvzKyzb_CxGlmOE6EA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"abf7af8b79985466ba2598ce9fc021b0","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:59.180675423Z"}]},"request_id":"bb571cea-2ebd-45c6-b230-368d1aa00178","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072561.6542912} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"d9c812c0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9ff0b59-901c-414f-985c-68bf518616d2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9ff0b59-901c-414f-985c-68bf518616d2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:59.232898581Z"}]},"request_id":"35d9f92a-dd4e-4bb1-9575-40779912672b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072561.65668} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d9c839d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d9c812c0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9ff0b59-901c-414f-985c-68bf518616d2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9ff0b59-901c-414f-985c-68bf518616d2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:55:59.232898581Z"}]},"request_id":"09334f71-2cd0-4b3e-b47e-03ea3d3bcecd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072561.658628} device-1 | {"level":"info","message":"GET /devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d? 200 15ms","method":"GET","requestID":"d9c812c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d?"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"abf7af8b79985466ba2598ce9fc021b0","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d9c839d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/c9ff0b59-901c-414f-985c-68bf518616d2? 200 18ms","method":"GET","requestID":"d9c839d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/c9ff0b59-901c-414f-985c-68bf518616d2?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d"},"level":"info","message":"Building connection plan","requestID":"8848530b08a784815d0478cd19d87c76"} 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":"b57752e4-22ad-4609-8a35-c418be18d064"},{"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":"4725e1f9-6202-447a-b36f-b20d1fbb9a66"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"621bc949-0c7d-4795-b225-fae4ba156de5"}]},"level":"info","message":"Built pairwise service configurations","requestID":"8848530b08a784815d0478cd19d87c76"} 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/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d"},{"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/c9ff0b59-901c-414f-985c-68bf518616d2"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"8848530b08a784815d0478cd19d87c76"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"abf7af8b79985466ba2598ce9fc021b0"} gateway-1 | {"time_local":"16/Oct/2024:09:56:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c9ff0b59-901c-414f-985c-68bf518616d2? 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":"abf7af8b79985466ba2598ce9fc021b0"} device-1 | {"level":"info","message":"GET /devices/c9ff0b59-901c-414f-985c-68bf518616d2? 200 18ms","method":"GET","requestID":"abf7af8b79985466ba2598ce9fc021b0","responseTime":18,"status":200,"url":"/devices/c9ff0b59-901c-414f-985c-68bf518616d2?"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"d9cb6e20-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":794,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":794,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.951897,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d9cb6e20-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072561,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2MX0.bEPImv8nSDHYAIhBwve0md513GvzKyzb_CxGlmOE6EA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d9cb6e20-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"9a7b7605-76f2-4016-af63-3115cb56afd7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072561.6778789} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"efe71c13-0414-4bb7-b205-823b036a4e9a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072561.6780114} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"d9cb6e20-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"d9cb6e20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"d9cb6e20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/09362e8c-aa0f-4906-b8db-bd0ea98f206b'","requestID":"d9cb6e20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/09362e8c-aa0f-4906-b8db-bd0ea98f206b'","requestID":"d9cb6e20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"d9cb6e20-8ba4-11ef-a62f-5f7f958aa687"} 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":"d9cb6e20-8ba4-11ef-a62f-5f7f958aa687","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":"d9cb6e20-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"8848530b08a784815d0478cd19d87c76"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d9d3f9a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":795,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3185a9c2-ef0a-45af-9e8a-5e193633b981","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072561.7265105} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":795,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.372674,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d9d3f9a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","object_type":"device","rebac_allow":false,"scope_allow":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":"d9d3f9a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d9d3f9a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d/signaling 200 8ms","method":"POST","requestID":"d9d3f9a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d9d5a750-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":796,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9ff0b59-901c-414f-985c-68bf518616d2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b6ab0956-eb6b-45fd-99be-8a72edd0d5a9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072561.7377853} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":796,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.040278,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d9d5a750-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2","object_type":"device","rebac_allow":false,"scope_allow":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":"d9d5a750-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d9d5a750-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c9ff0b59-901c-414f-985c-68bf518616d2/signaling 200 8ms","method":"POST","requestID":"d9d5a750-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/c9ff0b59-901c-414f-985c-68bf518616d2/signaling"} device-1 | {"device":"c9ff0b59-901c-414f-985c-68bf518616d2","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"c9ff0b59-901c-414f-985c-68bf518616d2","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 3045003784696663654 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:esPi\r\na=ice-pwd:moGlrFS9Hcj9iMi93+19nAbp\r\na=ice-options:trickle\r\na=fingerprint:sha-256 66:D7:D0:AA:78:F6:88:1A:28:EA:BD:B4:7A:6E:BA:38:1C:26:18:3A:46:EB:50:3B:84:C0:D5:4C:A3:95:D8:82\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"c9ff0b59-901c-414f-985c-68bf518616d2","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"device":"c9ff0b59-901c-414f-985c-68bf518616d2","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\"","requestID":"c90e4df0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"74e0f066-e53d-41cc-9732-4a45dd122c49\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\"","requestID":"c90e9c10-8ba4-11ef-a042-213954f0282b"} device-1 | {"device":"ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","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":"09362e8c-aa0f-4906-b8db-bd0ea98f206b","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","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":"ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","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":"ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","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":"ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","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/09362e8c-aa0f-4906-b8db-bd0ea98f206b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"09362e8c-aa0f-4906-b8db-bd0ea98f206b","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"59647a1af95b4192ab59c83cc4f48062","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"59647a1af95b4192ab59c83cc4f48062","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":"connecting","url":"http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d"},{"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":"new","url":"http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/09362e8c-aa0f-4906-b8db-bd0ea98f206b"}}},"level":"info","message":"received a callback","requestID":"59647a1af95b4192ab59c83cc4f48062"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 9ms","method":"POST","requestID":"59647a1af95b4192ab59c83cc4f48062","responseTime":9,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.014","http_referrer":"","http_user_agent":"node-fetch","requestID":"59647a1af95b4192ab59c83cc4f48062"} device-1 | {"content":{"candidate":"candidate:1801133769 1 udp 2113937151 7ef8eaf7-b79a-4a8f-8efb-b3fa120a3615.local 48012 typ host generation 0 ufrag esPi network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"c9ff0b59-901c-414f-985c-68bf518616d2","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:935537279 1 udp 1677729535 141.24.211.56 48012 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag esPi network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"c9ff0b59-901c-414f-985c-68bf518616d2","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2657153550 1 udp 33562623 141.24.210.113 59202 typ relay raddr 141.24.211.56 rport 48012 generation 0 ufrag esPi network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"c9ff0b59-901c-414f-985c-68bf518616d2","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"c9ff0b59-901c-414f-985c-68bf518616d2","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/c9ff0b59-901c-414f-985c-68bf518616d2'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2'"} device-1 | {"data":{"peerconnection":"09362e8c-aa0f-4906-b8db-bd0ea98f206b","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","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":"c9ff0b59-901c-414f-985c-68bf518616d2","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","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":"09362e8c-aa0f-4906-b8db-bd0ea98f206b","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/09362e8c-aa0f-4906-b8db-bd0ea98f206b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"09362e8c-aa0f-4906-b8db-bd0ea98f206b","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"36bc4bb312615b8aba4e04e1a5987c55","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"36bc4bb312615b8aba4e04e1a5987c55","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/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d"},{"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/c9ff0b59-901c-414f-985c-68bf518616d2"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/09362e8c-aa0f-4906-b8db-bd0ea98f206b"}}},"level":"info","message":"received a callback","requestID":"36bc4bb312615b8aba4e04e1a5987c55"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"db15ef80-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":797,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:03Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F09362e8c-aa0f-4906-b8db-bd0ea98f206b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b4122873-a275-4557-b0fa-f99b7da01b2d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072563.8389037} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":797,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.121044,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:03Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/09362e8c-aa0f-4906-b8db-bd0ea98f206b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"db15ef80-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/09362e8c-aa0f-4906-b8db-bd0ea98f206b","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":"db15ef80-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"db15ef80-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/09362e8c-aa0f-4906-b8db-bd0ea98f206b 200 13ms","method":"GET","requestID":"db15ef80-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/peerconnections/09362e8c-aa0f-4906-b8db-bd0ea98f206b"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 40ms","method":"POST","requestID":"36bc4bb312615b8aba4e04e1a5987c55","responseTime":40,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.043","http_referrer":"","http_user_agent":"node-fetch","requestID":"36bc4bb312615b8aba4e04e1a5987c55"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"db1b1fa0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":798,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:03Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"84f808e0-90ae-4f3c-84d3-afcda2d9b234","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072563.8724604} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":798,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.002152,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:03Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"db1b1fa0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","object_type":"device","rebac_allow":false,"scope_allow":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":"db1b1fa0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"db1b1fa0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d/signaling 200 13ms","method":"POST","requestID":"db1b1fa0-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"db1d90a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":799,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:03Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9ff0b59-901c-414f-985c-68bf518616d2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"63c7518d-ea23-4a54-8bf8-61ab4812cbda","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072563.8877952} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":799,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.739,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:03Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"db1d90a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2","object_type":"device","rebac_allow":false,"scope_allow":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":"db1d90a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"db1d90a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c9ff0b59-901c-414f-985c-68bf518616d2/signaling 200 13ms","method":"POST","requestID":"db1d90a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/c9ff0b59-901c-414f-985c-68bf518616d2/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2M30.J7buIV0-6G9MMFSPcysY311-XYNBsitq3XnRL-23fBk","level":"info","message":"auth send jwt","requestID":"128ac800b16f4a903d3f35af6467400c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"128ac800b16f4a903d3f35af6467400c","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d","requestID":"128ac800b16f4a903d3f35af6467400c"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":800,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:03Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":800,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.347824,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:03Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"128ac800b16f4a903d3f35af6467400c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072563,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2M30.J7buIV0-6G9MMFSPcysY311-XYNBsitq3XnRL-23fBk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"128ac800b16f4a903d3f35af6467400c","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d","requestID":"128ac800b16f4a903d3f35af6467400c"} gateway-1 | {"time_local":"16/Oct/2024:09:56:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d 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":"128ac800b16f4a903d3f35af6467400c"} experiment-1 | {"level":"info","message":"GET /experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d 200 13ms","method":"GET","requestID":"128ac800b16f4a903d3f35af6467400c","responseTime":13,"status":200,"url":"/experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2M30.J7buIV0-6G9MMFSPcysY311-XYNBsitq3XnRL-23fBk","level":"info","message":"auth send jwt","requestID":"0ceeaea1591ef2cc1143abbd951e3e15"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0ceeaea1591ef2cc1143abbd951e3e15","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d","requestID":"0ceeaea1591ef2cc1143abbd951e3e15"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":801,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:03Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":801,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.279434,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:03Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0ceeaea1591ef2cc1143abbd951e3e15","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072563,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2M30.J7buIV0-6G9MMFSPcysY311-XYNBsitq3XnRL-23fBk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0ceeaea1591ef2cc1143abbd951e3e15","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d"},"level":"info","message":"Attempting to finish experiment","requestID":"0ceeaea1591ef2cc1143abbd951e3e15"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"db2a13c0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":802,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:03Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":802,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.170242,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:03Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/09362e8c-aa0f-4906-b8db-bd0ea98f206b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"db2a13c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/09362e8c-aa0f-4906-b8db-bd0ea98f206b","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072563,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2M30.J7buIV0-6G9MMFSPcysY311-XYNBsitq3XnRL-23fBk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"db2a13c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/09362e8c-aa0f-4906-b8db-bd0ea98f206b","device":"c9ff0b59-901c-414f-985c-68bf518616d2","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","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":"ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","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":"ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","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/09362e8c-aa0f-4906-b8db-bd0ea98f206b' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/09362e8c-aa0f-4906-b8db-bd0ea98f206b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"09362e8c-aa0f-4906-b8db-bd0ea98f206b","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F09362e8c-aa0f-4906-b8db-bd0ea98f206b': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F09362e8c-aa0f-4906-b8db-bd0ea98f206b","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"b4816ed7-d122-4311-ae13-be169844f834","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072563.9893515} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ff896cde4f569f1f3d17939720e68bc8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6e5b94f9-378d-459b-b3ad-e3ba23896407","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072563.9898443} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"ff896cde4f569f1f3d17939720e68bc8","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"db2a13c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"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":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d"},{"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/c9ff0b59-901c-414f-985c-68bf518616d2"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/09362e8c-aa0f-4906-b8db-bd0ea98f206b"}}},"level":"info","message":"received a callback","requestID":"ff896cde4f569f1f3d17939720e68bc8"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d8f0592bfd0221719c9f566a3c5c6722","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"d8f0592bfd0221719c9f566a3c5c6722","responseTime":3,"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":"closed","url":"http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d"},{"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/c9ff0b59-901c-414f-985c-68bf518616d2"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/09362e8c-aa0f-4906-b8db-bd0ea98f206b"}}},"level":"info","message":"received a callback","requestID":"d8f0592bfd0221719c9f566a3c5c6722"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"db2a13c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/09362e8c-aa0f-4906-b8db-bd0ea98f206b 204 47ms","method":"DELETE","requestID":"db2a13c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":47,"status":204,"url":"/peerconnections/09362e8c-aa0f-4906-b8db-bd0ea98f206b"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d"},"level":"info","message":"Successfully finished experiment","requestID":"0ceeaea1591ef2cc1143abbd951e3e15"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"db349b10-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":803,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ebdf841f-b528-4747-9831-bc90eff10e2c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.039286} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":803,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.452337,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"db349b10-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d","object_type":"device","rebac_allow":false,"scope_allow":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":"db349b10-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"db349b10-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d/signaling 200 12ms","method":"POST","requestID":"db349b10-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5e5280aa-2aff-4853-bad8-1b3bded20b9d': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5e5280aa-2aff-4853-bad8-1b3bded20b9d","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"587d5427-3020-45b7-ae2c-4bb809579550","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.0462446} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b6ed6e09-e363-4c0c-b4cc-f462dcafc712","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.0465672} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"db36bdf0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"0ceeaea1591ef2cc1143abbd951e3e15","responseTime":17,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":804,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9ff0b59-901c-414f-985c-68bf518616d2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c0a78986-5a6d-4b68-93af-d16cc0dd3c7a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.0525997} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":804,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.023768,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"db36bdf0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c9ff0b59-901c-414f-985c-68bf518616d2","object_type":"device","rebac_allow":false,"scope_allow":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":"db36bdf0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"db36bdf0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c9ff0b59-901c-414f-985c-68bf518616d2/signaling 200 10ms","method":"POST","requestID":"db36bdf0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/c9ff0b59-901c-414f-985c-68bf518616d2/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d","requestID":"0ceeaea1591ef2cc1143abbd951e3e15"} gateway-1 | {"time_local":"16/Oct/2024:09:56:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.162","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0ceeaea1591ef2cc1143abbd951e3e15"} gateway-1 | {"time_local":"16/Oct/2024:09:56:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3663","request_time":"4.322","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"c034a3298ed2bffc951d1959a92a2696"} experiment-1 | {"level":"info","message":"DELETE /experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d 204 158ms","method":"DELETE","requestID":"0ceeaea1591ef2cc1143abbd951e3e15","responseTime":158,"status":204,"url":"/experiments/5e5280aa-2aff-4853-bad8-1b3bded20b9d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 116ms","method":"POST","requestID":"ff896cde4f569f1f3d17939720e68bc8","responseTime":116,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56:04 +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":"ff896cde4f569f1f3d17939720e68bc8"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 113ms","method":"POST","requestID":"d8f0592bfd0221719c9f566a3c5c6722","responseTime":113,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56:04 +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":"d8f0592bfd0221719c9f566a3c5c6722"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NH0.f0IPmbLXhr8vjITkjfK4lYo22Hg2jjwe9eDblURnOOQ","level":"info","message":"auth send jwt","requestID":"6029602c5413a7b99bf37b69917edb3e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"6029602c5413a7b99bf37b69917edb3e","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"6029602c5413a7b99bf37b69917edb3e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":805,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":805,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.962052,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:04Z"} gateway-1 | {"time_local":"16/Oct/2024:09:56:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3125","request_time":"2.825","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"1893413ba19d1ee79f803ba7ba3b8069"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"6029602c5413a7b99bf37b69917edb3e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072564,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NH0.f0IPmbLXhr8vjITkjfK4lYo22Hg2jjwe9eDblURnOOQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6029602c5413a7b99bf37b69917edb3e","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/ddf15b62-b5cd-415b-b1e5-a7b9ffad6b6d' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F05749684-64bb-4322-9089-00f5ea4bb434","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"1cde1916-5269-422d-b7de-e2eb20f74802","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.143609} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6029602c5413a7b99bf37b69917edb3e","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/c9ff0b59-901c-414f-985c-68bf518616d2' 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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"18451b90-c4e6-4319-bf2e-a52a423e38f0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.1499803} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"6029602c5413a7b99bf37b69917edb3e","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F05749684-64bb-4322-9089-00f5ea4bb434","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"c14d8b0c-0c79-4e6a-9d08-7a39ea7d4708","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.1600752} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"761d5f9f-2767-4b25-9956-d3ec7576e395","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.1610355} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"6029602c5413a7b99bf37b69917edb3e","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F05749684-64bb-4322-9089-00f5ea4bb434","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F05749684-64bb-4322-9089-00f5ea4bb434","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:04.160030681Z"}]},"request_id":"c702dc90-d6fd-45f2-871e-d097c4695737","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.1669054} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"6029602c5413a7b99bf37b69917edb3e","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"6029602c5413a7b99bf37b69917edb3e"} gateway-1 | {"time_local":"16/Oct/2024:09:56:04 +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":"6029602c5413a7b99bf37b69917edb3e"} device-1 | {"level":"info","message":"POST /devices? 201 53ms","method":"POST","requestID":"6029602c5413a7b99bf37b69917edb3e","responseTime":53,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NH0.f0IPmbLXhr8vjITkjfK4lYo22Hg2jjwe9eDblURnOOQ","level":"info","message":"auth send jwt","requestID":"0e99470d023974be641a4e28bfa83729"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0e99470d023974be641a4e28bfa83729","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"0e99470d023974be641a4e28bfa83729"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":806,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":806,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.912637,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0e99470d023974be641a4e28bfa83729","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072564,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NH0.f0IPmbLXhr8vjITkjfK4lYo22Hg2jjwe9eDblURnOOQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0e99470d023974be641a4e28bfa83729","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc18ef5f5-3097-4a11-9298-e7263907f801","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"572944ef-a033-4ccd-ab5f-2bcf0c31f8b5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.1999543} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0e99470d023974be641a4e28bfa83729","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a1415f41-a286-46d6-993c-3c17ebdee73a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.2045307} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"0e99470d023974be641a4e28bfa83729","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc18ef5f5-3097-4a11-9298-e7263907f801","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"6cbe337b-ac1b-4592-a9fd-30a8166a04fa","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.2159297} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"703d4901-671c-42f2-acf6-dfe1abd3d88d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.2163112} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"0e99470d023974be641a4e28bfa83729","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc18ef5f5-3097-4a11-9298-e7263907f801","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc18ef5f5-3097-4a11-9298-e7263907f801","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:04.215899208Z"}]},"request_id":"4b94f67e-faa9-4aff-beea-265e4c4268fb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.2206194} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0e99470d023974be641a4e28bfa83729","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"0e99470d023974be641a4e28bfa83729"} gateway-1 | {"time_local":"16/Oct/2024:09:56:04 +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":"0e99470d023974be641a4e28bfa83729"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"0e99470d023974be641a4e28bfa83729","responseTime":46,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NH0.f0IPmbLXhr8vjITkjfK4lYo22Hg2jjwe9eDblURnOOQ","level":"info","message":"auth send jwt","requestID":"e8f7a9d51c2c7700d8d75a4803c902f7"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"e8f7a9d51c2c7700d8d75a4803c902f7","responseTime":7,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NH0.f0IPmbLXhr8vjITkjfK4lYo22Hg2jjwe9eDblURnOOQ","level":"info","message":"auth send jwt","requestID":"68cdedf880029a84cf0928c36e55d756"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"68cdedf880029a84cf0928c36e55d756","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"e8f7a9d51c2c7700d8d75a4803c902f7"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"68cdedf880029a84cf0928c36e55d756"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":807,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":807,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.594042,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Received request.","req_id":808,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e8f7a9d51c2c7700d8d75a4803c902f7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072564,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NH0.f0IPmbLXhr8vjITkjfK4lYo22Hg2jjwe9eDblURnOOQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e8f7a9d51c2c7700d8d75a4803c902f7","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Sent response.","req_id":808,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.670058,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/05749684-64bb-4322-9089-00f5ea4bb434","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"68cdedf880029a84cf0928c36e55d756","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/05749684-64bb-4322-9089-00f5ea4bb434","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072564,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NH0.f0IPmbLXhr8vjITkjfK4lYo22Hg2jjwe9eDblURnOOQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"68cdedf880029a84cf0928c36e55d756","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc18ef5f5-3097-4a11-9298-e7263907f801","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc18ef5f5-3097-4a11-9298-e7263907f801","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:04.215899208Z"}]},"request_id":"b5d0ef32-6081-4b8e-88dc-e39adbdd6069","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.7041397} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e8f7a9d51c2c7700d8d75a4803c902f7","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F05749684-64bb-4322-9089-00f5ea4bb434","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F05749684-64bb-4322-9089-00f5ea4bb434","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:04.160030681Z"}]},"request_id":"de654b99-e796-4475-990f-8722898209f9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.7055092} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"68cdedf880029a84cf0928c36e55d756","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b1537e52-c8ea-459c-84fe-1269decc005e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.7104971} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"e8f7a9d51c2c7700d8d75a4803c902f7","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f85cdb16-6cef-4f3e-abd8-47d26b2ffa5a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.712358} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"68cdedf880029a84cf0928c36e55d756","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F05749684-64bb-4322-9089-00f5ea4bb434","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F05749684-64bb-4322-9089-00f5ea4bb434","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:04.160030681Z"}]},"request_id":"f06eeb32-5110-4569-9771-4818f6b53bf6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.7156556} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"68cdedf880029a84cf0928c36e55d756","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"68cdedf880029a84cf0928c36e55d756"} gateway-1 | {"time_local":"16/Oct/2024:09:56:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/05749684-64bb-4322-9089-00f5ea4bb434 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.034","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"68cdedf880029a84cf0928c36e55d756"} device-1 | {"level":"info","message":"PATCH /devices/05749684-64bb-4322-9089-00f5ea4bb434 200 23ms","method":"PATCH","requestID":"68cdedf880029a84cf0928c36e55d756","responseTime":23,"status":200,"url":"/devices/05749684-64bb-4322-9089-00f5ea4bb434"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NH0.f0IPmbLXhr8vjITkjfK4lYo22Hg2jjwe9eDblURnOOQ","level":"info","message":"auth send jwt","requestID":"43af66c0f98c9c988a8eb523f8d298ff"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"43af66c0f98c9c988a8eb523f8d298ff","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"43af66c0f98c9c988a8eb523f8d298ff"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc18ef5f5-3097-4a11-9298-e7263907f801","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc18ef5f5-3097-4a11-9298-e7263907f801","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:04.215899208Z"}]},"request_id":"6c5fd0d7-9e94-4011-ba3b-a37b0fa14c27","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.726446} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e8f7a9d51c2c7700d8d75a4803c902f7","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":809,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":809,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.724024,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:04Z"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"e8f7a9d51c2c7700d8d75a4803c902f7"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/05749684-64bb-4322-9089-00f5ea4bb434","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"43af66c0f98c9c988a8eb523f8d298ff","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/05749684-64bb-4322-9089-00f5ea4bb434","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072564,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NH0.f0IPmbLXhr8vjITkjfK4lYo22Hg2jjwe9eDblURnOOQ"} gateway-1 | {"time_local":"16/Oct/2024:09:56:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/c18ef5f5-3097-4a11-9298-e7263907f801 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.046","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"e8f7a9d51c2c7700d8d75a4803c902f7"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"43af66c0f98c9c988a8eb523f8d298ff","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"PATCH /devices/c18ef5f5-3097-4a11-9298-e7263907f801 200 37ms","method":"PATCH","requestID":"e8f7a9d51c2c7700d8d75a4803c902f7","responseTime":37,"status":200,"url":"/devices/c18ef5f5-3097-4a11-9298-e7263907f801"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NH0.f0IPmbLXhr8vjITkjfK4lYo22Hg2jjwe9eDblURnOOQ","level":"info","message":"auth send jwt","requestID":"80b41ea5d5092cbf3c6ca3c41045c752"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"80b41ea5d5092cbf3c6ca3c41045c752","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"80b41ea5d5092cbf3c6ca3c41045c752"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":810,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":810,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.860854,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"80b41ea5d5092cbf3c6ca3c41045c752","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072564,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NH0.f0IPmbLXhr8vjITkjfK4lYo22Hg2jjwe9eDblURnOOQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"80b41ea5d5092cbf3c6ca3c41045c752","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"43af66c0f98c9c988a8eb523f8d298ff"} gateway-1 | {"time_local":"16/Oct/2024:09:56:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/05749684-64bb-4322-9089-00f5ea4bb434/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.10","requestID":"43af66c0f98c9c988a8eb523f8d298ff"} device-1 | {"level":"info","message":"POST /devices/05749684-64bb-4322-9089-00f5ea4bb434/websocket 200 21ms","method":"POST","requestID":"43af66c0f98c9c988a8eb523f8d298ff","responseTime":21,"status":200,"url":"/devices/05749684-64bb-4322-9089-00f5ea4bb434/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"80b41ea5d5092cbf3c6ca3c41045c752"} gateway-1 | {"time_local":"16/Oct/2024:09:56:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/c18ef5f5-3097-4a11-9298-e7263907f801/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.10","requestID":"80b41ea5d5092cbf3c6ca3c41045c752"} device-1 | {"level":"info","message":"POST /devices/c18ef5f5-3097-4a11-9298-e7263907f801/websocket 200 18ms","method":"POST","requestID":"80b41ea5d5092cbf3c6ca3c41045c752","responseTime":18,"status":200,"url":"/devices/c18ef5f5-3097-4a11-9298-e7263907f801/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/05749684-64bb-4322-9089-00f5ea4bb434' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NH0.f0IPmbLXhr8vjITkjfK4lYo22Hg2jjwe9eDblURnOOQ","level":"info","message":"auth send jwt","requestID":"9e5efa61b11ca472788db7f975c0f9e1"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"9e5efa61b11ca472788db7f975c0f9e1","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9e5efa61b11ca472788db7f975c0f9e1"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":811,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":811,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.879086,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/05749684-64bb-4322-9089-00f5ea4bb434","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"9e5efa61b11ca472788db7f975c0f9e1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/05749684-64bb-4322-9089-00f5ea4bb434","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072564,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NH0.f0IPmbLXhr8vjITkjfK4lYo22Hg2jjwe9eDblURnOOQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9e5efa61b11ca472788db7f975c0f9e1","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F05749684-64bb-4322-9089-00f5ea4bb434","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F05749684-64bb-4322-9089-00f5ea4bb434","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:04.160030681Z"}]},"request_id":"ca2489c2-a0bc-4238-91aa-c26927227433","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.7814882} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"9e5efa61b11ca472788db7f975c0f9e1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9e5efa61b11ca472788db7f975c0f9e1"} gateway-1 | {"time_local":"16/Oct/2024:09:56:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/05749684-64bb-4322-9089-00f5ea4bb434? 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":"9e5efa61b11ca472788db7f975c0f9e1"} device-1 | {"level":"info","message":"GET /devices/05749684-64bb-4322-9089-00f5ea4bb434? 200 12ms","method":"GET","requestID":"9e5efa61b11ca472788db7f975c0f9e1","responseTime":12,"status":200,"url":"/devices/05749684-64bb-4322-9089-00f5ea4bb434?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NH0.f0IPmbLXhr8vjITkjfK4lYo22Hg2jjwe9eDblURnOOQ","level":"info","message":"auth send jwt","requestID":"26dadcabcc6595f5e9b46709645d122d"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"26dadcabcc6595f5e9b46709645d122d","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"26dadcabcc6595f5e9b46709645d122d"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":812,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":812,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.14908,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"26dadcabcc6595f5e9b46709645d122d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072564,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NH0.f0IPmbLXhr8vjITkjfK4lYo22Hg2jjwe9eDblURnOOQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"26dadcabcc6595f5e9b46709645d122d","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc18ef5f5-3097-4a11-9298-e7263907f801","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc18ef5f5-3097-4a11-9298-e7263907f801","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:04.215899208Z"}]},"request_id":"19a6a977-9148-49b4-adde-7df9fe72ea7b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.8034954} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"26dadcabcc6595f5e9b46709645d122d","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"26dadcabcc6595f5e9b46709645d122d"} gateway-1 | {"time_local":"16/Oct/2024:09:56:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c18ef5f5-3097-4a11-9298-e7263907f801? 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":"26dadcabcc6595f5e9b46709645d122d"} device-1 | {"level":"info","message":"GET /devices/c18ef5f5-3097-4a11-9298-e7263907f801? 200 13ms","method":"GET","requestID":"26dadcabcc6595f5e9b46709645d122d","responseTime":13,"status":200,"url":"/devices/c18ef5f5-3097-4a11-9298-e7263907f801?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NH0.f0IPmbLXhr8vjITkjfK4lYo22Hg2jjwe9eDblURnOOQ","level":"info","message":"auth send jwt","requestID":"5bfae3926630d386b4637b3adc6f2e70"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"5bfae3926630d386b4637b3adc6f2e70","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"5bfae3926630d386b4637b3adc6f2e70"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":813,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":813,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.62996,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"5bfae3926630d386b4637b3adc6f2e70","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072564,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NH0.f0IPmbLXhr8vjITkjfK4lYo22Hg2jjwe9eDblURnOOQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5bfae3926630d386b4637b3adc6f2e70","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/81faf60f-7d20-439f-888f-c4883a54e446"},"level":"info","message":"Attempting to run experiment","requestID":"5bfae3926630d386b4637b3adc6f2e70"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/81faf60f-7d20-439f-888f-c4883a54e446"},"level":"info","message":"Attempting to book experiment","requestID":"5bfae3926630d386b4637b3adc6f2e70"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/81faf60f-7d20-439f-888f-c4883a54e446"},"level":"info","message":"Successfully booked experiment","requestID":"5bfae3926630d386b4637b3adc6f2e70"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"dbb14520-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"dbb19340-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":814,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Received request.","req_id":815,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":814,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.003885,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/05749684-64bb-4322-9089-00f5ea4bb434","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"dbb14520-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/05749684-64bb-4322-9089-00f5ea4bb434","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072564,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NH0.f0IPmbLXhr8vjITkjfK4lYo22Hg2jjwe9eDblURnOOQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"dbb14520-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Sent response.","req_id":815,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.813104,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"dbb19340-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072564,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NH0.f0IPmbLXhr8vjITkjfK4lYo22Hg2jjwe9eDblURnOOQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"dbb19340-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F05749684-64bb-4322-9089-00f5ea4bb434","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F05749684-64bb-4322-9089-00f5ea4bb434","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:04.160030681Z"}]},"request_id":"17dda8a2-4c90-4be7-a53d-3b6cdcb8dacb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.8608167} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"dbb14520-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc18ef5f5-3097-4a11-9298-e7263907f801","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc18ef5f5-3097-4a11-9298-e7263907f801","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:04.215899208Z"}]},"request_id":"f9fc0a18-aab8-4f0a-a4f2-af5f722e191e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.8624141} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"dbb19340-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"dbb14520-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/05749684-64bb-4322-9089-00f5ea4bb434? 200 22ms","method":"GET","requestID":"dbb14520-8ba4-11ef-a62f-5f7f958aa687","responseTime":22,"status":200,"url":"/devices/05749684-64bb-4322-9089-00f5ea4bb434?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"dbb19340-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/c18ef5f5-3097-4a11-9298-e7263907f801? 200 22ms","method":"GET","requestID":"dbb19340-8ba4-11ef-a62f-5f7f958aa687","responseTime":22,"status":200,"url":"/devices/c18ef5f5-3097-4a11-9298-e7263907f801?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/81faf60f-7d20-439f-888f-c4883a54e446"},"level":"info","message":"Setting up experiment","requestID":"5bfae3926630d386b4637b3adc6f2e70"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/81faf60f-7d20-439f-888f-c4883a54e446"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"5bfae3926630d386b4637b3adc6f2e70"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/81faf60f-7d20-439f-888f-c4883a54e446"},"level":"info","message":"Successfully locked booking for experiment","requestID":"5bfae3926630d386b4637b3adc6f2e70"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/81faf60f-7d20-439f-888f-c4883a54e446"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"5bfae3926630d386b4637b3adc6f2e70"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/81faf60f-7d20-439f-888f-c4883a54e446"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"5bfae3926630d386b4637b3adc6f2e70"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/81faf60f-7d20-439f-888f-c4883a54e446"},"level":"info","message":"Attempting to update booking for experiment","requestID":"5bfae3926630d386b4637b3adc6f2e70"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/81faf60f-7d20-439f-888f-c4883a54e446"},"level":"info","message":"Successfully updated booking for experiment","requestID":"5bfae3926630d386b4637b3adc6f2e70"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/81faf60f-7d20-439f-888f-c4883a54e446"},"level":"info","message":"Successfully set up experiment","requestID":"5bfae3926630d386b4637b3adc6f2e70"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"dbbd5310-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"dbbda130-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"dbbdef50-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/81faf60f-7d20-439f-888f-c4883a54e446"},"level":"info","message":"Successfully running experiment","requestID":"5bfae3926630d386b4637b3adc6f2e70"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":816,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":816,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.134109,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Received request.","req_id":817,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/05749684-64bb-4322-9089-00f5ea4bb434","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"dbbd5310-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/05749684-64bb-4322-9089-00f5ea4bb434","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072564,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NH0.f0IPmbLXhr8vjITkjfK4lYo22Hg2jjwe9eDblURnOOQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"dbbd5310-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Sent response.","req_id":817,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.618907,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"dbbda130-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072564,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NH0.f0IPmbLXhr8vjITkjfK4lYo22Hg2jjwe9eDblURnOOQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"dbbda130-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:39128","level":"info","msg":"Received request.","req_id":818,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56: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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F05749684-64bb-4322-9089-00f5ea4bb434","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F05749684-64bb-4322-9089-00f5ea4bb434","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:04.160030681Z"}]},"request_id":"68d50648-74e6-4837-996a-fec11ff03450","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.946499} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"dbbd5310-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc18ef5f5-3097-4a11-9298-e7263907f801","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc18ef5f5-3097-4a11-9298-e7263907f801","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:04.215899208Z"}]},"request_id":"2fb399f1-8d7e-42b2-b51e-c2dcec3ccdbe","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.9490614} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F05749684-64bb-4322-9089-00f5ea4bb434","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f244789c-5993-41b7-a6c9-35ea1821676f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.9499705} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"dbbda130-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:39128","level":"info","msg":"Sent response.","req_id":818,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.953214,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/05749684-64bb-4322-9089-00f5ea4bb434","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"dbbdef50-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/05749684-64bb-4322-9089-00f5ea4bb434","object_type":"device","rebac_allow":false,"scope_allow":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":"dbbdef50-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"dbbd5310-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/05749684-64bb-4322-9089-00f5ea4bb434? 200 28ms","method":"GET","requestID":"dbbd5310-8ba4-11ef-a62f-5f7f958aa687","responseTime":28,"status":200,"url":"/devices/05749684-64bb-4322-9089-00f5ea4bb434?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"dbbda130-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/c18ef5f5-3097-4a11-9298-e7263907f801? 200 27ms","method":"GET","requestID":"dbbda130-8ba4-11ef-a62f-5f7f958aa687","responseTime":27,"status":200,"url":"/devices/c18ef5f5-3097-4a11-9298-e7263907f801?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F81faf60f-7d20-439f-888f-c4883a54e446#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F81faf60f-7d20-439f-888f-c4883a54e446","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"31877c1d-5fb2-451f-bdd2-6eeef967fa68","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.958973} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"dbbdef50-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/05749684-64bb-4322-9089-00f5ea4bb434/signaling 200 27ms","method":"POST","requestID":"dbbdef50-8ba4-11ef-a62f-5f7f958aa687","responseTime":27,"status":200,"url":"/devices/05749684-64bb-4322-9089-00f5ea4bb434/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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fc154f10-3147-4933-832f-fff62a3391bf","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.9593992} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"5bfae3926630d386b4637b3adc6f2e70","responseTime":22,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"dbc23510-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"dbc28330-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":819,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Received request.","req_id":820,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F05749684-64bb-4322-9089-00f5ea4bb434","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"875cb6cf-d53b-49e6-a348-0b94a75aa93b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.967459} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":819,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.990213,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/05749684-64bb-4322-9089-00f5ea4bb434","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"dbc23510-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/05749684-64bb-4322-9089-00f5ea4bb434","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/81faf60f-7d20-439f-888f-c4883a54e446","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"5bfae3926630d386b4637b3adc6f2e70"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"dbc23510-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:56:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1296","request_time":"0.161","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5bfae3926630d386b4637b3adc6f2e70"} experiment-1 | {"level":"info","message":"POST /experiments? 201 155ms","method":"POST","requestID":"5bfae3926630d386b4637b3adc6f2e70","responseTime":155,"status":201,"url":"/experiments?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc18ef5f5-3097-4a11-9298-e7263907f801","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"49165475-7967-47c1-9215-185255963509","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.9689856} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Sent response.","req_id":820,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.939931,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"dbc28330-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801","object_type":"device","rebac_allow":false,"scope_allow":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":"dbc28330-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NH0.f0IPmbLXhr8vjITkjfK4lYo22Hg2jjwe9eDblURnOOQ","level":"info","message":"auth send jwt","requestID":"2b7f456fbf6414af8eb5ae7035a3ed17"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"dbc23510-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"2b7f456fbf6414af8eb5ae7035a3ed17","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"POST /devices/05749684-64bb-4322-9089-00f5ea4bb434/signaling 200 14ms","method":"POST","requestID":"dbc23510-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/05749684-64bb-4322-9089-00f5ea4bb434/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"dbc28330-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c18ef5f5-3097-4a11-9298-e7263907f801/signaling 200 12ms","method":"POST","requestID":"dbc28330-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/c18ef5f5-3097-4a11-9298-e7263907f801/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2b7f456fbf6414af8eb5ae7035a3ed17"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"dbc4cd20-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":821,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":821,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.663432,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Received request.","req_id":822,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/05749684-64bb-4322-9089-00f5ea4bb434","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"2b7f456fbf6414af8eb5ae7035a3ed17","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/05749684-64bb-4322-9089-00f5ea4bb434","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072564,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NH0.f0IPmbLXhr8vjITkjfK4lYo22Hg2jjwe9eDblURnOOQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2b7f456fbf6414af8eb5ae7035a3ed17","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc18ef5f5-3097-4a11-9298-e7263907f801","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a875be28-0c3d-42f8-a8f0-bea168dcf23d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.983437} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Sent response.","req_id":822,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.045159,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"dbc4cd20-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801","object_type":"device","rebac_allow":false,"scope_allow":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":"dbc4cd20-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F05749684-64bb-4322-9089-00f5ea4bb434","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F05749684-64bb-4322-9089-00f5ea4bb434","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:04.160030681Z"}]},"request_id":"b6bfa359-14ed-405d-ba21-9a2da3cf512f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072564.9878526} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"dbc4cd20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c18ef5f5-3097-4a11-9298-e7263907f801/signaling 200 11ms","method":"POST","requestID":"dbc4cd20-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/c18ef5f5-3097-4a11-9298-e7263907f801/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"2b7f456fbf6414af8eb5ae7035a3ed17","responseTime":4,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/81faf60f-7d20-439f-888f-c4883a54e446"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"5bfae3926630d386b4637b3adc6f2e70"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"dbc6c8f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"dbc6f000-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2b7f456fbf6414af8eb5ae7035a3ed17"} gateway-1 | {"time_local":"16/Oct/2024:09:56:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/05749684-64bb-4322-9089-00f5ea4bb434? 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":"2b7f456fbf6414af8eb5ae7035a3ed17"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":823,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":823,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.835942,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:04Z"} device-1 | {"level":"info","message":"GET /devices/05749684-64bb-4322-9089-00f5ea4bb434? 200 19ms","method":"GET","requestID":"2b7f456fbf6414af8eb5ae7035a3ed17","responseTime":19,"status":200,"url":"/devices/05749684-64bb-4322-9089-00f5ea4bb434?"} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Received request.","req_id":824,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/05749684-64bb-4322-9089-00f5ea4bb434","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"dbc6c8f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/05749684-64bb-4322-9089-00f5ea4bb434","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072564,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NH0.f0IPmbLXhr8vjITkjfK4lYo22Hg2jjwe9eDblURnOOQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"dbc6c8f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Sent response.","req_id":824,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.653971,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"dbc6f000-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072564,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NH0.f0IPmbLXhr8vjITkjfK4lYo22Hg2jjwe9eDblURnOOQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"dbc6f000-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NX0.3jId6f35qvxbLU2LBBYAkCF_vhf0oRfww8Ow39QXpDU","level":"info","message":"auth send jwt","requestID":"9fd633e054be164bb06c737dc6d60797"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"9fd633e054be164bb06c737dc6d60797","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9fd633e054be164bb06c737dc6d60797"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F05749684-64bb-4322-9089-00f5ea4bb434","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F05749684-64bb-4322-9089-00f5ea4bb434","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:04.160030681Z"}]},"request_id":"2729aa3d-c172-4af8-b729-349bcbe50118","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072565.0024605} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"dbc6c8f0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc18ef5f5-3097-4a11-9298-e7263907f801","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc18ef5f5-3097-4a11-9298-e7263907f801","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:04.215899208Z"}]},"request_id":"73794430-2580-4bef-b0e5-ade25f61e058","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072565.0040867} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"dbc6f000-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"dbc6c8f0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":825,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:05Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":825,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.857341,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:05Z"} device-1 | {"level":"info","message":"GET /devices/05749684-64bb-4322-9089-00f5ea4bb434? 200 17ms","method":"GET","requestID":"dbc6c8f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/05749684-64bb-4322-9089-00f5ea4bb434?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"9fd633e054be164bb06c737dc6d60797","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072565,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NX0.3jId6f35qvxbLU2LBBYAkCF_vhf0oRfww8Ow39QXpDU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9fd633e054be164bb06c737dc6d60797","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"dbc6f000-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/c18ef5f5-3097-4a11-9298-e7263907f801? 200 21ms","method":"GET","requestID":"dbc6f000-8ba4-11ef-a62f-5f7f958aa687","responseTime":21,"status":200,"url":"/devices/c18ef5f5-3097-4a11-9298-e7263907f801?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc18ef5f5-3097-4a11-9298-e7263907f801","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc18ef5f5-3097-4a11-9298-e7263907f801","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:04.215899208Z"}]},"request_id":"03bc6e78-8807-4b33-a7a9-14d155150374","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072565.0139832} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/81faf60f-7d20-439f-888f-c4883a54e446"},"level":"info","message":"Building connection plan","requestID":"5bfae3926630d386b4637b3adc6f2e70"} 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":"43806ed5-9a71-4f77-b496-be5a524d57e7"},{"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":"9d8ef498-3a35-4c6e-8fab-edebbbcbbb1b"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"b5064ffa-0e62-469b-aaf1-ec0462ae0ed8"}]},"level":"info","message":"Built pairwise service configurations","requestID":"5bfae3926630d386b4637b3adc6f2e70"} 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/c18ef5f5-3097-4a11-9298-e7263907f801"},{"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/05749684-64bb-4322-9089-00f5ea4bb434"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"5bfae3926630d386b4637b3adc6f2e70"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9fd633e054be164bb06c737dc6d60797","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"dbca9980-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9fd633e054be164bb06c737dc6d60797"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":826,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:05Z"} gateway-1 | {"time_local":"16/Oct/2024:09:56:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c18ef5f5-3097-4a11-9298-e7263907f801? 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":"9fd633e054be164bb06c737dc6d60797"} device-1 | {"level":"info","message":"GET /devices/c18ef5f5-3097-4a11-9298-e7263907f801? 200 18ms","method":"GET","requestID":"9fd633e054be164bb06c737dc6d60797","responseTime":18,"status":200,"url":"/devices/c18ef5f5-3097-4a11-9298-e7263907f801?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":826,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.997852,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:05Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"dbca9980-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072564,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2NH0.f0IPmbLXhr8vjITkjfK4lYo22Hg2jjwe9eDblURnOOQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"dbca9980-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"35eb586f-4e8a-4ec7-b66d-19b3338b7e97","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072565.0297232} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"72019e35-95ce-4af3-bf1c-d6f6c81e3a70","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072565.0299237} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"dbca9980-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"dbca9980-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"dbca9980-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/f689e9f3-deba-4fb5-a46f-0f3e22cb9d3b'","requestID":"dbca9980-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/f689e9f3-deba-4fb5-a46f-0f3e22cb9d3b'","requestID":"dbca9980-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"dbca9980-8ba4-11ef-a62f-5f7f958aa687"} 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":"dbca9980-8ba4-11ef-a62f-5f7f958aa687","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":"dbca9980-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/81faf60f-7d20-439f-888f-c4883a54e446"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"5bfae3926630d386b4637b3adc6f2e70"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"dbd2fdf0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":827,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:05Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F05749684-64bb-4322-9089-00f5ea4bb434","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f7f44de9-325e-4b61-92fe-00bc5240c73d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072565.076307} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":827,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.000137,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:05Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/05749684-64bb-4322-9089-00f5ea4bb434","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"dbd2fdf0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/05749684-64bb-4322-9089-00f5ea4bb434","object_type":"device","rebac_allow":false,"scope_allow":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":"dbd2fdf0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"dbd2fdf0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/05749684-64bb-4322-9089-00f5ea4bb434/signaling 200 10ms","method":"POST","requestID":"dbd2fdf0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/05749684-64bb-4322-9089-00f5ea4bb434/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"dbd4d2b0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":828,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:05Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc18ef5f5-3097-4a11-9298-e7263907f801","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9b50ae6a-4db5-40d5-bb64-6f149ad6333c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072565.0898023} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":828,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.496541,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:05Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"dbd4d2b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801","object_type":"device","rebac_allow":false,"scope_allow":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":"dbd4d2b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"dbd4d2b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c18ef5f5-3097-4a11-9298-e7263907f801/signaling 200 12ms","method":"POST","requestID":"dbd4d2b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/c18ef5f5-3097-4a11-9298-e7263907f801/signaling"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"e7fc9cab-8de4-42fe-a60d-e229a237a614\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\"","requestID":"cad467f0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\"","requestID":"cad50430-8ba4-11ef-a042-213954f0282b"} device-1 | {"device":"05749684-64bb-4322-9089-00f5ea4bb434","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":"f689e9f3-deba-4fb5-a46f-0f3e22cb9d3b","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"c18ef5f5-3097-4a11-9298-e7263907f801","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":"f689e9f3-deba-4fb5-a46f-0f3e22cb9d3b","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"c18ef5f5-3097-4a11-9298-e7263907f801","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":"c18ef5f5-3097-4a11-9298-e7263907f801","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":"c18ef5f5-3097-4a11-9298-e7263907f801","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":"c18ef5f5-3097-4a11-9298-e7263907f801","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/f689e9f3-deba-4fb5-a46f-0f3e22cb9d3b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"f689e9f3-deba-4fb5-a46f-0f3e22cb9d3b","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"979c1b0bd48ade20147c4f5166b2bd8b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"979c1b0bd48ade20147c4f5166b2bd8b","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/c18ef5f5-3097-4a11-9298-e7263907f801"},{"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/05749684-64bb-4322-9089-00f5ea4bb434"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/f689e9f3-deba-4fb5-a46f-0f3e22cb9d3b"}}},"level":"info","message":"received a callback","requestID":"979c1b0bd48ade20147c4f5166b2bd8b"} device-1 | {"device":"05749684-64bb-4322-9089-00f5ea4bb434","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":"05749684-64bb-4322-9089-00f5ea4bb434","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":"05749684-64bb-4322-9089-00f5ea4bb434","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 7ms","method":"POST","requestID":"979c1b0bd48ade20147c4f5166b2bd8b","responseTime":7,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.010","http_referrer":"","http_user_agent":"node-fetch","requestID":"979c1b0bd48ade20147c4f5166b2bd8b"} device-1 | {"data":{"peerconnection":"f689e9f3-deba-4fb5-a46f-0f3e22cb9d3b","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"c18ef5f5-3097-4a11-9298-e7263907f801","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":"05749684-64bb-4322-9089-00f5ea4bb434","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":"c18ef5f5-3097-4a11-9298-e7263907f801","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":"05749684-64bb-4322-9089-00f5ea4bb434","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":"f689e9f3-deba-4fb5-a46f-0f3e22cb9d3b","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/f689e9f3-deba-4fb5-a46f-0f3e22cb9d3b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"f689e9f3-deba-4fb5-a46f-0f3e22cb9d3b","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a2dfc8fdb99b7d471a5d3eb61c9668aa","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"a2dfc8fdb99b7d471a5d3eb61c9668aa","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/c18ef5f5-3097-4a11-9298-e7263907f801"},{"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/05749684-64bb-4322-9089-00f5ea4bb434"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/f689e9f3-deba-4fb5-a46f-0f3e22cb9d3b"}}},"level":"info","message":"received a callback","requestID":"a2dfc8fdb99b7d471a5d3eb61c9668aa"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"dd10d520-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":829,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:07Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ff689e9f3-deba-4fb5-a46f-0f3e22cb9d3b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"11336962-0fff-43dd-965f-8e0bb89aa4ad","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072567.1597233} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":829,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.703074,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/f689e9f3-deba-4fb5-a46f-0f3e22cb9d3b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"dd10d520-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/f689e9f3-deba-4fb5-a46f-0f3e22cb9d3b","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":"dd10d520-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"dd10d520-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/f689e9f3-deba-4fb5-a46f-0f3e22cb9d3b 200 11ms","method":"GET","requestID":"dd10d520-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/peerconnections/f689e9f3-deba-4fb5-a46f-0f3e22cb9d3b"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 43ms","method":"POST","requestID":"a2dfc8fdb99b7d471a5d3eb61c9668aa","responseTime":43,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.047","http_referrer":"","http_user_agent":"node-fetch","requestID":"a2dfc8fdb99b7d471a5d3eb61c9668aa"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"dd16a180-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":830,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:07Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc18ef5f5-3097-4a11-9298-e7263907f801","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7acb1fea-36bd-4ef0-a9cb-99dc1bfe8247","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072567.199456} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":830,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.899085,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"dd16a180-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801","object_type":"device","rebac_allow":false,"scope_allow":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":"dd16a180-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"dd16a180-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c18ef5f5-3097-4a11-9298-e7263907f801/signaling 200 14ms","method":"POST","requestID":"dd16a180-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/c18ef5f5-3097-4a11-9298-e7263907f801/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"dd193990-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":831,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:07Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F05749684-64bb-4322-9089-00f5ea4bb434","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"485dcdad-9177-4516-b2eb-dd5ca26f9338","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072567.2164683} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":831,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.024816,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/05749684-64bb-4322-9089-00f5ea4bb434","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"dd193990-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/05749684-64bb-4322-9089-00f5ea4bb434","object_type":"device","rebac_allow":false,"scope_allow":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":"dd193990-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"dd193990-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/05749684-64bb-4322-9089-00f5ea4bb434/signaling 200 14ms","method":"POST","requestID":"dd193990-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/05749684-64bb-4322-9089-00f5ea4bb434/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2N30.1RSfdleL3CqPPhjTrIwTrSCedPoRK3w9yvrbUcdAVXU","level":"info","message":"auth send jwt","requestID":"32d8ec89f22568e2745219d1c44b7d71"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"32d8ec89f22568e2745219d1c44b7d71","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/81faf60f-7d20-439f-888f-c4883a54e446","requestID":"32d8ec89f22568e2745219d1c44b7d71"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":832,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:07Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":832,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.267326,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/81faf60f-7d20-439f-888f-c4883a54e446","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"32d8ec89f22568e2745219d1c44b7d71","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/81faf60f-7d20-439f-888f-c4883a54e446","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072567,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2N30.1RSfdleL3CqPPhjTrIwTrSCedPoRK3w9yvrbUcdAVXU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"32d8ec89f22568e2745219d1c44b7d71","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/81faf60f-7d20-439f-888f-c4883a54e446","requestID":"32d8ec89f22568e2745219d1c44b7d71"} gateway-1 | {"time_local":"16/Oct/2024:09:56:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/81faf60f-7d20-439f-888f-c4883a54e446 HTTP/1.1","status": "200","body_bytes_sent":"1369","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"32d8ec89f22568e2745219d1c44b7d71"} experiment-1 | {"level":"info","message":"GET /experiments/81faf60f-7d20-439f-888f-c4883a54e446 200 16ms","method":"GET","requestID":"32d8ec89f22568e2745219d1c44b7d71","responseTime":16,"status":200,"url":"/experiments/81faf60f-7d20-439f-888f-c4883a54e446"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2N30.1RSfdleL3CqPPhjTrIwTrSCedPoRK3w9yvrbUcdAVXU","level":"info","message":"auth send jwt","requestID":"3c1ff947960d641a0e0cf0df9bf103a2"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"3c1ff947960d641a0e0cf0df9bf103a2","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/81faf60f-7d20-439f-888f-c4883a54e446","requestID":"3c1ff947960d641a0e0cf0df9bf103a2"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":833,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:07Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":833,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.243175,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:07Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/81faf60f-7d20-439f-888f-c4883a54e446","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3c1ff947960d641a0e0cf0df9bf103a2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/81faf60f-7d20-439f-888f-c4883a54e446","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072567,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2N30.1RSfdleL3CqPPhjTrIwTrSCedPoRK3w9yvrbUcdAVXU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3c1ff947960d641a0e0cf0df9bf103a2","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/81faf60f-7d20-439f-888f-c4883a54e446"},"level":"info","message":"Attempting to finish experiment","requestID":"3c1ff947960d641a0e0cf0df9bf103a2"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"dd252070-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":834,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:07Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":834,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.310883,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:07Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/f689e9f3-deba-4fb5-a46f-0f3e22cb9d3b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"dd252070-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/f689e9f3-deba-4fb5-a46f-0f3e22cb9d3b","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072567,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2N30.1RSfdleL3CqPPhjTrIwTrSCedPoRK3w9yvrbUcdAVXU"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"dd252070-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"device":"c18ef5f5-3097-4a11-9298-e7263907f801","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":"c18ef5f5-3097-4a11-9298-e7263907f801","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":"c18ef5f5-3097-4a11-9298-e7263907f801","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":"05749684-64bb-4322-9089-00f5ea4bb434","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":"05749684-64bb-4322-9089-00f5ea4bb434","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":"05749684-64bb-4322-9089-00f5ea4bb434","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/f689e9f3-deba-4fb5-a46f-0f3e22cb9d3b' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/f689e9f3-deba-4fb5-a46f-0f3e22cb9d3b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"f689e9f3-deba-4fb5-a46f-0f3e22cb9d3b","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ff689e9f3-deba-4fb5-a46f-0f3e22cb9d3b': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ff689e9f3-deba-4fb5-a46f-0f3e22cb9d3b","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"699d3934-6148-43ce-a17f-adbc03bb59a2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072567.314286} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"00811a0d-0920-422b-9707-ce5b362d126e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072567.3152401} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b666b1f114b7cca6e034d543a4b92bc8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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 13ms","method":"POST","requestID":"dd252070-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"b666b1f114b7cca6e034d543a4b92bc8","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":"closed","url":"http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801"},{"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/05749684-64bb-4322-9089-00f5ea4bb434"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/f689e9f3-deba-4fb5-a46f-0f3e22cb9d3b"}}},"level":"info","message":"received a callback","requestID":"b666b1f114b7cca6e034d543a4b92bc8"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"13cac4f015879463be59b9de0bfdcc65","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"13cac4f015879463be59b9de0bfdcc65","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":"closed","url":"http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801"},{"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/05749684-64bb-4322-9089-00f5ea4bb434"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/f689e9f3-deba-4fb5-a46f-0f3e22cb9d3b"}}},"level":"info","message":"received a callback","requestID":"13cac4f015879463be59b9de0bfdcc65"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"dd252070-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/f689e9f3-deba-4fb5-a46f-0f3e22cb9d3b 204 51ms","method":"DELETE","requestID":"dd252070-8ba4-11ef-a62f-5f7f958aa687","responseTime":51,"status":204,"url":"/peerconnections/f689e9f3-deba-4fb5-a46f-0f3e22cb9d3b"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/05749684-64bb-4322-9089-00f5ea4bb434'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/81faf60f-7d20-439f-888f-c4883a54e446"},"level":"info","message":"Successfully finished experiment","requestID":"3c1ff947960d641a0e0cf0df9bf103a2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"dd309220-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":835,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:07Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc18ef5f5-3097-4a11-9298-e7263907f801","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cab32574-17db-445e-8e78-d6479bdb6406","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072567.3711154} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":835,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.555076,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"dd309220-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801","object_type":"device","rebac_allow":false,"scope_allow":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":"dd309220-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F81faf60f-7d20-439f-888f-c4883a54e446': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F81faf60f-7d20-439f-888f-c4883a54e446","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"1c2e4a87-49d9-4145-ba9d-11afa1ca59a6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072567.3774607} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"dd309220-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c18ef5f5-3097-4a11-9298-e7263907f801/signaling 200 16ms","method":"POST","requestID":"dd309220-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/c18ef5f5-3097-4a11-9298-e7263907f801/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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"aab35ad4-bbdd-4f37-817d-a821f4fbb6b6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072567.3777876} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"3c1ff947960d641a0e0cf0df9bf103a2","responseTime":20,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"dd337850-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":836,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:07Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":836,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.187341,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:07Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F05749684-64bb-4322-9089-00f5ea4bb434","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"febe86f8-cf5c-4d2f-9e1b-d6b9a7588173","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072567.3882895} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/05749684-64bb-4322-9089-00f5ea4bb434","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"dd337850-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/05749684-64bb-4322-9089-00f5ea4bb434","object_type":"device","rebac_allow":false,"scope_allow":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":"dd337850-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"dd337850-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/05749684-64bb-4322-9089-00f5ea4bb434/signaling 200 15ms","method":"POST","requestID":"dd337850-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/05749684-64bb-4322-9089-00f5ea4bb434/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/81faf60f-7d20-439f-888f-c4883a54e446","requestID":"3c1ff947960d641a0e0cf0df9bf103a2"} gateway-1 | {"time_local":"16/Oct/2024:09:56:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/81faf60f-7d20-439f-888f-c4883a54e446 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":"3c1ff947960d641a0e0cf0df9bf103a2"} experiment-1 | {"level":"info","message":"DELETE /experiments/81faf60f-7d20-439f-888f-c4883a54e446 204 170ms","method":"DELETE","requestID":"3c1ff947960d641a0e0cf0df9bf103a2","responseTime":170,"status":204,"url":"/experiments/81faf60f-7d20-439f-888f-c4883a54e446"} gateway-1 | {"time_local":"16/Oct/2024:09:56:07 +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.695","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"b8d57787f14119c62f69ad7da1d9e957"} gateway-1 | {"time_local":"16/Oct/2024:09:56:07 +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.686","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"bd9273b90dbefba1708c815b1c038ed8"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 124ms","method":"POST","requestID":"b666b1f114b7cca6e034d543a4b92bc8","responseTime":124,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.131","http_referrer":"","http_user_agent":"node-fetch","requestID":"b666b1f114b7cca6e034d543a4b92bc8"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 123ms","method":"POST","requestID":"13cac4f015879463be59b9de0bfdcc65","responseTime":123,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.131","http_referrer":"","http_user_agent":"node-fetch","requestID":"13cac4f015879463be59b9de0bfdcc65"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2N30.1RSfdleL3CqPPhjTrIwTrSCedPoRK3w9yvrbUcdAVXU","level":"info","message":"auth send jwt","requestID":"6a9fae6bf52b2953912242aac9c4a7c7"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"6a9fae6bf52b2953912242aac9c4a7c7","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"6a9fae6bf52b2953912242aac9c4a7c7"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/c18ef5f5-3097-4a11-9298-e7263907f801' closed"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":837,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:07Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":837,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.739472,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:07Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"6a9fae6bf52b2953912242aac9c4a7c7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072567,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2N30.1RSfdleL3CqPPhjTrIwTrSCedPoRK3w9yvrbUcdAVXU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6a9fae6bf52b2953912242aac9c4a7c7","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/05749684-64bb-4322-9089-00f5ea4bb434' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F91eeca34-f7f8-444d-97a0-1970d0b73802","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"3d8e639d-cc27-43e8-a03c-e977e06437aa","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072567.4769473} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6a9fae6bf52b2953912242aac9c4a7c7","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9c3c0d82-45ce-4bf2-b8f0-39ad19d1ba44","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072567.482197} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"6a9fae6bf52b2953912242aac9c4a7c7","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F91eeca34-f7f8-444d-97a0-1970d0b73802","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"c5ea9c87-6a4c-4b28-8822-eaee2c981486","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072567.4916544} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a65797ad-21a6-4281-b25c-bc8719df1cae","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072567.4917574} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"6a9fae6bf52b2953912242aac9c4a7c7","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F91eeca34-f7f8-444d-97a0-1970d0b73802","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F91eeca34-f7f8-444d-97a0-1970d0b73802","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:07.491619165Z"}]},"request_id":"ad359f21-6e88-4a08-89db-58d03ce56102","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072567.495952} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"6a9fae6bf52b2953912242aac9c4a7c7","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"6a9fae6bf52b2953912242aac9c4a7c7"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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":"6a9fae6bf52b2953912242aac9c4a7c7"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"6a9fae6bf52b2953912242aac9c4a7c7","responseTime":47,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2N30.1RSfdleL3CqPPhjTrIwTrSCedPoRK3w9yvrbUcdAVXU","level":"info","message":"auth send jwt","requestID":"68e5bd1613d02d8cf5380275d9865cb9"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"68e5bd1613d02d8cf5380275d9865cb9","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"68e5bd1613d02d8cf5380275d9865cb9"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":838,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:07Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":838,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.914239,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:07Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"68e5bd1613d02d8cf5380275d9865cb9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072567,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2N30.1RSfdleL3CqPPhjTrIwTrSCedPoRK3w9yvrbUcdAVXU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"68e5bd1613d02d8cf5380275d9865cb9","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda83a857-5421-450d-88f9-76e38e2edd56","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ded9593f-f517-48ac-acc9-2c0483bac7cc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072567.5195477} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"68e5bd1613d02d8cf5380275d9865cb9","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"af26bc60-d370-4a35-8453-b32d28499045","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072567.524446} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"68e5bd1613d02d8cf5380275d9865cb9","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda83a857-5421-450d-88f9-76e38e2edd56","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"12173b51-451d-4ab7-b7a3-9ecd2066ef31","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072567.5486114} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b73dbd5f-5d32-4ef5-b819-fb62b472ca27","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072567.5490978} authorization-1 | {"level":"info","message":"POST /relations/update 200 27ms","method":"POST","requestID":"68e5bd1613d02d8cf5380275d9865cb9","responseTime":27,"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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda83a857-5421-450d-88f9-76e38e2edd56","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda83a857-5421-450d-88f9-76e38e2edd56","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:07.548558276Z"}]},"request_id":"16c1cce2-7e93-47c0-b060-524da1292cf8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072567.5537465} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"68e5bd1613d02d8cf5380275d9865cb9","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"68e5bd1613d02d8cf5380275d9865cb9"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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":"68e5bd1613d02d8cf5380275d9865cb9"} device-1 | {"level":"info","message":"POST /devices? 201 52ms","method":"POST","requestID":"68e5bd1613d02d8cf5380275d9865cb9","responseTime":52,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2OH0.DGe94h-16dgVJV4Nz-yCa5YsCFou3JkOJHXiVtltOMU","level":"info","message":"auth send jwt","requestID":"f98030818e524667faaac91e2b187277"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"f98030818e524667faaac91e2b187277","responseTime":4,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2OH0.DGe94h-16dgVJV4Nz-yCa5YsCFou3JkOJHXiVtltOMU","level":"info","message":"auth send jwt","requestID":"1fae7d48b8e2bffd288e1d0fe42d6616"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"1fae7d48b8e2bffd288e1d0fe42d6616","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"f98030818e524667faaac91e2b187277"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"1fae7d48b8e2bffd288e1d0fe42d6616"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":839,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":839,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.002613,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Received request.","req_id":840,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/91eeca34-f7f8-444d-97a0-1970d0b73802","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f98030818e524667faaac91e2b187277","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/91eeca34-f7f8-444d-97a0-1970d0b73802","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072568,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2OH0.DGe94h-16dgVJV4Nz-yCa5YsCFou3JkOJHXiVtltOMU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f98030818e524667faaac91e2b187277","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Sent response.","req_id":840,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.697722,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/da83a857-5421-450d-88f9-76e38e2edd56","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"1fae7d48b8e2bffd288e1d0fe42d6616","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/da83a857-5421-450d-88f9-76e38e2edd56","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072568,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2OH0.DGe94h-16dgVJV4Nz-yCa5YsCFou3JkOJHXiVtltOMU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"1fae7d48b8e2bffd288e1d0fe42d6616","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F91eeca34-f7f8-444d-97a0-1970d0b73802","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F91eeca34-f7f8-444d-97a0-1970d0b73802","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:07.491619165Z"}]},"request_id":"3bcef633-b1e6-4b5d-9f91-47959de74dd0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072568.0332997} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f98030818e524667faaac91e2b187277","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda83a857-5421-450d-88f9-76e38e2edd56","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda83a857-5421-450d-88f9-76e38e2edd56","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:07.548558276Z"}]},"request_id":"4281fa36-4523-430d-a4fd-096134c0a9d8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072568.0338395} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"1fae7d48b8e2bffd288e1d0fe42d6616","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"563dff19-033d-445c-b9e6-eb9c97cd10ea","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072568.0375674} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"f98030818e524667faaac91e2b187277","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"afd83d41-a54c-438e-bc98-6e170a022b1c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072568.0402865} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"1fae7d48b8e2bffd288e1d0fe42d6616","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda83a857-5421-450d-88f9-76e38e2edd56","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda83a857-5421-450d-88f9-76e38e2edd56","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:07.548558276Z"}]},"request_id":"6631c9e1-4cd3-491e-a011-9827f720d733","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072568.0431294} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"1fae7d48b8e2bffd288e1d0fe42d6616","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"1fae7d48b8e2bffd288e1d0fe42d6616"} gateway-1 | {"time_local":"16/Oct/2024:09:56:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/da83a857-5421-450d-88f9-76e38e2edd56 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.030","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"1fae7d48b8e2bffd288e1d0fe42d6616"} device-1 | {"level":"info","message":"PATCH /devices/da83a857-5421-450d-88f9-76e38e2edd56 200 22ms","method":"PATCH","requestID":"1fae7d48b8e2bffd288e1d0fe42d6616","responseTime":22,"status":200,"url":"/devices/da83a857-5421-450d-88f9-76e38e2edd56"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2OH0.DGe94h-16dgVJV4Nz-yCa5YsCFou3JkOJHXiVtltOMU","level":"info","message":"auth send jwt","requestID":"fb5cd40634544d9cbf3599ac2aa19db1"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"fb5cd40634544d9cbf3599ac2aa19db1","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"fb5cd40634544d9cbf3599ac2aa19db1"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":841,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":841,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.02843,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/da83a857-5421-450d-88f9-76e38e2edd56","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fb5cd40634544d9cbf3599ac2aa19db1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/da83a857-5421-450d-88f9-76e38e2edd56","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072568,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2OH0.DGe94h-16dgVJV4Nz-yCa5YsCFou3JkOJHXiVtltOMU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"fb5cd40634544d9cbf3599ac2aa19db1","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F91eeca34-f7f8-444d-97a0-1970d0b73802","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F91eeca34-f7f8-444d-97a0-1970d0b73802","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:07.491619165Z"}]},"request_id":"debcd69a-68cf-48a5-b1e8-7a16cd98075b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072568.0673614} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f98030818e524667faaac91e2b187277","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"f98030818e524667faaac91e2b187277"} gateway-1 | {"time_local":"16/Oct/2024:09:56:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/91eeca34-f7f8-444d-97a0-1970d0b73802 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.054","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"f98030818e524667faaac91e2b187277"} device-1 | {"level":"info","message":"PATCH /devices/91eeca34-f7f8-444d-97a0-1970d0b73802 200 47ms","method":"PATCH","requestID":"f98030818e524667faaac91e2b187277","responseTime":47,"status":200,"url":"/devices/91eeca34-f7f8-444d-97a0-1970d0b73802"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2OH0.DGe94h-16dgVJV4Nz-yCa5YsCFou3JkOJHXiVtltOMU","level":"info","message":"auth send jwt","requestID":"49bc4aa1c219dff65e10434299522829"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"49bc4aa1c219dff65e10434299522829","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"49bc4aa1c219dff65e10434299522829"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"fb5cd40634544d9cbf3599ac2aa19db1"} gateway-1 | {"time_local":"16/Oct/2024:09:56:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/da83a857-5421-450d-88f9-76e38e2edd56/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.10","requestID":"fb5cd40634544d9cbf3599ac2aa19db1"} device-1 | {"level":"info","message":"POST /devices/da83a857-5421-450d-88f9-76e38e2edd56/websocket 200 26ms","method":"POST","requestID":"fb5cd40634544d9cbf3599ac2aa19db1","responseTime":26,"status":200,"url":"/devices/da83a857-5421-450d-88f9-76e38e2edd56/websocket"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":842,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":842,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.812429,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/91eeca34-f7f8-444d-97a0-1970d0b73802","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"49bc4aa1c219dff65e10434299522829","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/91eeca34-f7f8-444d-97a0-1970d0b73802","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072568,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2OH0.DGe94h-16dgVJV4Nz-yCa5YsCFou3JkOJHXiVtltOMU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"49bc4aa1c219dff65e10434299522829","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"49bc4aa1c219dff65e10434299522829"} device-1 | {"level":"info","message":"POST /devices/91eeca34-f7f8-444d-97a0-1970d0b73802/websocket 200 10ms","method":"POST","requestID":"49bc4aa1c219dff65e10434299522829","responseTime":10,"status":200,"url":"/devices/91eeca34-f7f8-444d-97a0-1970d0b73802/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:56:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/91eeca34-f7f8-444d-97a0-1970d0b73802/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.014","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"49bc4aa1c219dff65e10434299522829"} device-1 | {"level":"info","message":"device 'http://localhost/devices/da83a857-5421-450d-88f9-76e38e2edd56' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/91eeca34-f7f8-444d-97a0-1970d0b73802' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2OH0.DGe94h-16dgVJV4Nz-yCa5YsCFou3JkOJHXiVtltOMU","level":"info","message":"auth send jwt","requestID":"beb7bcd8cfaa799653a016043661826d"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"beb7bcd8cfaa799653a016043661826d","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"beb7bcd8cfaa799653a016043661826d"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":843,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":843,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.875261,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/91eeca34-f7f8-444d-97a0-1970d0b73802","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"beb7bcd8cfaa799653a016043661826d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/91eeca34-f7f8-444d-97a0-1970d0b73802","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072568,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2OH0.DGe94h-16dgVJV4Nz-yCa5YsCFou3JkOJHXiVtltOMU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"beb7bcd8cfaa799653a016043661826d","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F91eeca34-f7f8-444d-97a0-1970d0b73802","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F91eeca34-f7f8-444d-97a0-1970d0b73802","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:07.491619165Z"}]},"request_id":"73c0d077-d80b-4a82-9e11-2b44e9ad1b3e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072568.1104827} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"beb7bcd8cfaa799653a016043661826d","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"beb7bcd8cfaa799653a016043661826d"} device-1 | {"level":"info","message":"GET /devices/91eeca34-f7f8-444d-97a0-1970d0b73802? 200 11ms","method":"GET","requestID":"beb7bcd8cfaa799653a016043661826d","responseTime":11,"status":200,"url":"/devices/91eeca34-f7f8-444d-97a0-1970d0b73802?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/91eeca34-f7f8-444d-97a0-1970d0b73802? 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":"beb7bcd8cfaa799653a016043661826d"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2OH0.DGe94h-16dgVJV4Nz-yCa5YsCFou3JkOJHXiVtltOMU","level":"info","message":"auth send jwt","requestID":"39a7f19e01178b235faf13ec9b0d33f0"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"39a7f19e01178b235faf13ec9b0d33f0","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"39a7f19e01178b235faf13ec9b0d33f0"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":844,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":844,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.693668,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/da83a857-5421-450d-88f9-76e38e2edd56","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"39a7f19e01178b235faf13ec9b0d33f0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/da83a857-5421-450d-88f9-76e38e2edd56","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072568,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2OH0.DGe94h-16dgVJV4Nz-yCa5YsCFou3JkOJHXiVtltOMU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"39a7f19e01178b235faf13ec9b0d33f0","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda83a857-5421-450d-88f9-76e38e2edd56","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda83a857-5421-450d-88f9-76e38e2edd56","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:07.548558276Z"}]},"request_id":"d0b1fc25-5e4b-4fd2-a096-cfa8fe8f20e9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072568.1261017} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"39a7f19e01178b235faf13ec9b0d33f0","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"39a7f19e01178b235faf13ec9b0d33f0"} gateway-1 | {"time_local":"16/Oct/2024:09:56:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/da83a857-5421-450d-88f9-76e38e2edd56? 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":"39a7f19e01178b235faf13ec9b0d33f0"} device-1 | {"level":"info","message":"GET /devices/da83a857-5421-450d-88f9-76e38e2edd56? 200 10ms","method":"GET","requestID":"39a7f19e01178b235faf13ec9b0d33f0","responseTime":10,"status":200,"url":"/devices/da83a857-5421-450d-88f9-76e38e2edd56?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2OH0.DGe94h-16dgVJV4Nz-yCa5YsCFou3JkOJHXiVtltOMU","level":"info","message":"auth send jwt","requestID":"0a35de7428d3eef29ae67dabcd5449cc"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"0a35de7428d3eef29ae67dabcd5449cc","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"0a35de7428d3eef29ae67dabcd5449cc"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":845,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":845,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.738422,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0a35de7428d3eef29ae67dabcd5449cc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072568,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2OH0.DGe94h-16dgVJV4Nz-yCa5YsCFou3JkOJHXiVtltOMU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0a35de7428d3eef29ae67dabcd5449cc","responseTime":3,"status":200,"url":"/authorize"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"2fc64565-7b47-44f8-803e-bc85521d6f7a\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\"","requestID":"cbc72c60-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\"","requestID":"cbc75370-8ba4-11ef-a042-213954f0282b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987"},"level":"info","message":"Attempting to run experiment","requestID":"0a35de7428d3eef29ae67dabcd5449cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987"},"level":"info","message":"Attempting to book experiment","requestID":"0a35de7428d3eef29ae67dabcd5449cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987"},"level":"info","message":"Successfully booked experiment","requestID":"0a35de7428d3eef29ae67dabcd5449cc"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ddacc700-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ddacee10-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":846,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":846,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.264274,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Received request.","req_id":847,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/91eeca34-f7f8-444d-97a0-1970d0b73802","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ddacc700-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/91eeca34-f7f8-444d-97a0-1970d0b73802","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072568,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2OH0.DGe94h-16dgVJV4Nz-yCa5YsCFou3JkOJHXiVtltOMU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ddacc700-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Sent response.","req_id":847,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.777669,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/da83a857-5421-450d-88f9-76e38e2edd56","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ddacee10-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/da83a857-5421-450d-88f9-76e38e2edd56","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072568,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2OH0.DGe94h-16dgVJV4Nz-yCa5YsCFou3JkOJHXiVtltOMU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ddacee10-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F91eeca34-f7f8-444d-97a0-1970d0b73802","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F91eeca34-f7f8-444d-97a0-1970d0b73802","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:07.491619165Z"}]},"request_id":"e8ad9318-7dbf-4dd1-abd3-524149921da5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072568.185141} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ddacc700-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda83a857-5421-450d-88f9-76e38e2edd56","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda83a857-5421-450d-88f9-76e38e2edd56","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:07.548558276Z"}]},"request_id":"c8619a00-3bd6-4457-97e0-9068ba7ca947","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072568.1858351} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ddacee10-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ddacc700-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/91eeca34-f7f8-444d-97a0-1970d0b73802? 200 14ms","method":"GET","requestID":"ddacc700-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/91eeca34-f7f8-444d-97a0-1970d0b73802?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ddacee10-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/da83a857-5421-450d-88f9-76e38e2edd56? 200 13ms","method":"GET","requestID":"ddacee10-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/da83a857-5421-450d-88f9-76e38e2edd56?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987"},"level":"info","message":"Setting up experiment","requestID":"0a35de7428d3eef29ae67dabcd5449cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"0a35de7428d3eef29ae67dabcd5449cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987"},"level":"info","message":"Successfully locked booking for experiment","requestID":"0a35de7428d3eef29ae67dabcd5449cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"0a35de7428d3eef29ae67dabcd5449cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"0a35de7428d3eef29ae67dabcd5449cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987"},"level":"info","message":"Attempting to update booking for experiment","requestID":"0a35de7428d3eef29ae67dabcd5449cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987"},"level":"info","message":"Successfully updated booking for experiment","requestID":"0a35de7428d3eef29ae67dabcd5449cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987"},"level":"info","message":"Successfully set up experiment","requestID":"0a35de7428d3eef29ae67dabcd5449cc"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ddb6b210-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ddb6d920-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987"},"level":"info","message":"Successfully running experiment","requestID":"0a35de7428d3eef29ae67dabcd5449cc"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ddb72740-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":848,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":848,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.691052,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Received request.","req_id":849,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/91eeca34-f7f8-444d-97a0-1970d0b73802","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ddb6b210-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/91eeca34-f7f8-444d-97a0-1970d0b73802","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072568,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2OH0.DGe94h-16dgVJV4Nz-yCa5YsCFou3JkOJHXiVtltOMU"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ddb6b210-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Sent response.","req_id":849,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.654229,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"client_addr":"127.0.0.1:39128","level":"info","msg":"Received request.","req_id":850,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/da83a857-5421-450d-88f9-76e38e2edd56","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ddb6d920-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/da83a857-5421-450d-88f9-76e38e2edd56","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072568,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2OH0.DGe94h-16dgVJV4Nz-yCa5YsCFou3JkOJHXiVtltOMU"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"ddb6d920-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F91eeca34-f7f8-444d-97a0-1970d0b73802","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"54740b36-28ab-4dfb-ab89-b902db96b0c2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072568.2522104} authorization-1 | {"client_addr":"127.0.0.1:39128","level":"info","msg":"Sent response.","req_id":850,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.566018,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/91eeca34-f7f8-444d-97a0-1970d0b73802","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ddb72740-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/91eeca34-f7f8-444d-97a0-1970d0b73802","object_type":"device","rebac_allow":false,"scope_allow":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":"ddb72740-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F91eeca34-f7f8-444d-97a0-1970d0b73802","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F91eeca34-f7f8-444d-97a0-1970d0b73802","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:07.491619165Z"}]},"request_id":"d7ad9b13-824b-4460-bc45-bb60b4fc7c0e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072568.2545261} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"ddb6b210-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda83a857-5421-450d-88f9-76e38e2edd56","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda83a857-5421-450d-88f9-76e38e2edd56","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:07.548558276Z"}]},"request_id":"257b6d0f-2e60-4fd5-93b0-083c9dd14ae2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072568.2577024} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ddb6d920-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ddb72740-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/91eeca34-f7f8-444d-97a0-1970d0b73802/signaling 200 15ms","method":"POST","requestID":"ddb72740-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/91eeca34-f7f8-444d-97a0-1970d0b73802/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ddb9e660-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ddb6b210-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/91eeca34-f7f8-444d-97a0-1970d0b73802? 200 23ms","method":"GET","requestID":"ddb6b210-8ba4-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/91eeca34-f7f8-444d-97a0-1970d0b73802?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ddb6d920-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/da83a857-5421-450d-88f9-76e38e2edd56? 200 23ms","method":"GET","requestID":"ddb6d920-8ba4-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/da83a857-5421-450d-88f9-76e38e2edd56?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":851,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F7ccc1ed7-d105-44e8-8810-1e71bf6f1987#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F7ccc1ed7-d105-44e8-8810-1e71bf6f1987","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"051031e6-9b31-411e-904a-a6e93c455c14","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072568.2679322} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda83a857-5421-450d-88f9-76e38e2edd56","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"41ccb55e-0395-4375-8f9a-a80dddd787a3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072568.268084} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"eee286d8-b303-4eb3-bad8-a68ee37a6ce5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072568.2680936} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ddbad0c0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"0a35de7428d3eef29ae67dabcd5449cc","responseTime":23,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":851,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.844903,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/da83a857-5421-450d-88f9-76e38e2edd56","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ddb9e660-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/da83a857-5421-450d-88f9-76e38e2edd56","object_type":"device","rebac_allow":false,"scope_allow":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":"ddb9e660-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Received request.","req_id":852,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:08Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ddb9e660-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/da83a857-5421-450d-88f9-76e38e2edd56/signaling 200 12ms","method":"POST","requestID":"ddb9e660-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/da83a857-5421-450d-88f9-76e38e2edd56/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F91eeca34-f7f8-444d-97a0-1970d0b73802","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8e161788-6c61-4734-affc-bf84a5260ebe","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072568.2739024} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Sent response.","req_id":852,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.944297,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/91eeca34-f7f8-444d-97a0-1970d0b73802","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ddbad0c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/91eeca34-f7f8-444d-97a0-1970d0b73802","object_type":"device","rebac_allow":false,"scope_allow":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":"ddbad0c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"0a35de7428d3eef29ae67dabcd5449cc"} gateway-1 | {"time_local":"16/Oct/2024:09:56:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1296","request_time":"0.147","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0a35de7428d3eef29ae67dabcd5449cc"} experiment-1 | {"level":"info","message":"POST /experiments? 201 142ms","method":"POST","requestID":"0a35de7428d3eef29ae67dabcd5449cc","responseTime":142,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ddbad0c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/91eeca34-f7f8-444d-97a0-1970d0b73802/signaling 200 11ms","method":"POST","requestID":"ddbad0c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/91eeca34-f7f8-444d-97a0-1970d0b73802/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ddbccc90-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2OH0.DGe94h-16dgVJV4Nz-yCa5YsCFou3JkOJHXiVtltOMU","level":"info","message":"auth send jwt","requestID":"17f3dfd21248f46e2314962355d93642"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"17f3dfd21248f46e2314962355d93642","responseTime":5,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":853,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:08Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"17f3dfd21248f46e2314962355d93642"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda83a857-5421-450d-88f9-76e38e2edd56","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5ce114b7-cf48-408e-960a-adfb321e7fa1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072568.2876046} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Received request.","req_id":854,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":853,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.598144,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/da83a857-5421-450d-88f9-76e38e2edd56","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ddbccc90-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/da83a857-5421-450d-88f9-76e38e2edd56","object_type":"device","rebac_allow":false,"scope_allow":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":"ddbccc90-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Sent response.","req_id":854,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.782783,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/91eeca34-f7f8-444d-97a0-1970d0b73802","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"17f3dfd21248f46e2314962355d93642","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/91eeca34-f7f8-444d-97a0-1970d0b73802","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072568,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2OH0.DGe94h-16dgVJV4Nz-yCa5YsCFou3JkOJHXiVtltOMU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"17f3dfd21248f46e2314962355d93642","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ddbccc90-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/da83a857-5421-450d-88f9-76e38e2edd56/signaling 200 13ms","method":"POST","requestID":"ddbccc90-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/da83a857-5421-450d-88f9-76e38e2edd56/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"0a35de7428d3eef29ae67dabcd5449cc"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F91eeca34-f7f8-444d-97a0-1970d0b73802","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F91eeca34-f7f8-444d-97a0-1970d0b73802","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:07.491619165Z"}]},"request_id":"67411991-ca65-4163-accd-86f192900b7e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072568.2952223} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"17f3dfd21248f46e2314962355d93642","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ddbf1680-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ddbf3d90-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":855,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Received request.","req_id":856,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"client_addr":"127.0.0.1:39118","level":"info","msg":"Sent response.","req_id":856,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.14,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":855,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.656002,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/da83a857-5421-450d-88f9-76e38e2edd56","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ddbf3d90-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/da83a857-5421-450d-88f9-76e38e2edd56","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072568,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2OH0.DGe94h-16dgVJV4Nz-yCa5YsCFou3JkOJHXiVtltOMU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ddbf3d90-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"17f3dfd21248f46e2314962355d93642"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/91eeca34-f7f8-444d-97a0-1970d0b73802","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ddbf1680-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/91eeca34-f7f8-444d-97a0-1970d0b73802","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072568,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2OH0.DGe94h-16dgVJV4Nz-yCa5YsCFou3JkOJHXiVtltOMU"} gateway-1 | {"time_local":"16/Oct/2024:09:56:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/91eeca34-f7f8-444d-97a0-1970d0b73802? 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":"17f3dfd21248f46e2314962355d93642"} device-1 | {"level":"info","message":"GET /devices/91eeca34-f7f8-444d-97a0-1970d0b73802? 200 19ms","method":"GET","requestID":"17f3dfd21248f46e2314962355d93642","responseTime":19,"status":200,"url":"/devices/91eeca34-f7f8-444d-97a0-1970d0b73802?"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"ddbf1680-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda83a857-5421-450d-88f9-76e38e2edd56","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda83a857-5421-450d-88f9-76e38e2edd56","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:07.548558276Z"}]},"request_id":"79d246ff-25b6-4583-953c-1daa85c9e2c2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072568.3073719} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2OH0.DGe94h-16dgVJV4Nz-yCa5YsCFou3JkOJHXiVtltOMU","level":"info","message":"auth send jwt","requestID":"c75cc7c854004bddff98f3265d8a7e21"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"c75cc7c854004bddff98f3265d8a7e21","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ddbf3d90-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F91eeca34-f7f8-444d-97a0-1970d0b73802","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F91eeca34-f7f8-444d-97a0-1970d0b73802","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:07.491619165Z"}]},"request_id":"27d10ba2-850b-4b50-8cc3-bfa079d8e0f1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072568.3083496} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ddbf1680-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c75cc7c854004bddff98f3265d8a7e21"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":857,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:08Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ddbf3d90-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/da83a857-5421-450d-88f9-76e38e2edd56? 200 17ms","method":"GET","requestID":"ddbf3d90-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/da83a857-5421-450d-88f9-76e38e2edd56?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":857,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.936723,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:08Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ddbf1680-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/91eeca34-f7f8-444d-97a0-1970d0b73802? 200 19ms","method":"GET","requestID":"ddbf1680-8ba4-11ef-a62f-5f7f958aa687","responseTime":19,"status":200,"url":"/devices/91eeca34-f7f8-444d-97a0-1970d0b73802?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/da83a857-5421-450d-88f9-76e38e2edd56","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c75cc7c854004bddff98f3265d8a7e21","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/da83a857-5421-450d-88f9-76e38e2edd56","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072568,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2OH0.DGe94h-16dgVJV4Nz-yCa5YsCFou3JkOJHXiVtltOMU"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987"},"level":"info","message":"Building connection plan","requestID":"0a35de7428d3eef29ae67dabcd5449cc"} 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":"559bbed9-e303-408d-a961-9bfafee1d2f9"},{"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":"17013561-5c58-480f-90cd-dedb6e2e35a7"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"2f2c8a5e-e321-4d45-8f7f-81100b740c13"}]},"level":"info","message":"Built pairwise service configurations","requestID":"0a35de7428d3eef29ae67dabcd5449cc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c75cc7c854004bddff98f3265d8a7e21","responseTime":3,"status":200,"url":"/authorize"} 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/91eeca34-f7f8-444d-97a0-1970d0b73802"},{"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/da83a857-5421-450d-88f9-76e38e2edd56"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"0a35de7428d3eef29ae67dabcd5449cc"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"ddc24ad0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda83a857-5421-450d-88f9-76e38e2edd56","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda83a857-5421-450d-88f9-76e38e2edd56","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:07.548558276Z"}]},"request_id":"3e2d6abd-9b24-4cb2-b685-e3cb8dc59217","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072568.3187938} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c75cc7c854004bddff98f3265d8a7e21","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":858,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":858,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.666698,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ddc24ad0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072568,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU2OH0.DGe94h-16dgVJV4Nz-yCa5YsCFou3JkOJHXiVtltOMU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ddc24ad0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c75cc7c854004bddff98f3265d8a7e21"} gateway-1 | {"time_local":"16/Oct/2024:09:56:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/da83a857-5421-450d-88f9-76e38e2edd56? 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":"c75cc7c854004bddff98f3265d8a7e21"} device-1 | {"level":"info","message":"GET /devices/da83a857-5421-450d-88f9-76e38e2edd56? 200 13ms","method":"GET","requestID":"c75cc7c854004bddff98f3265d8a7e21","responseTime":13,"status":200,"url":"/devices/da83a857-5421-450d-88f9-76e38e2edd56?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"3c07efbd-4bae-4717-8f85-cecc0740b9aa","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072568.3294942} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8ac16de1-75d7-4b9a-a6ee-6d8bde9405f3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072568.3297276} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"ddc24ad0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"ddc24ad0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"ddc24ad0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/3103c7e7-7733-4407-82b0-2fcd1644c9f1'","requestID":"ddc24ad0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/3103c7e7-7733-4407-82b0-2fcd1644c9f1'","requestID":"ddc24ad0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"ddc24ad0-8ba4-11ef-a62f-5f7f958aa687"} 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":"ddc24ad0-8ba4-11ef-a62f-5f7f958aa687","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":"ddc24ad0-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"0a35de7428d3eef29ae67dabcd5449cc"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ddca3a10-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":859,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F91eeca34-f7f8-444d-97a0-1970d0b73802","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3d014df6-54f8-4ad7-8c97-888587a86513","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072568.3741705} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":859,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.328186,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/91eeca34-f7f8-444d-97a0-1970d0b73802","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ddca3a10-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/91eeca34-f7f8-444d-97a0-1970d0b73802","object_type":"device","rebac_allow":false,"scope_allow":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":"ddca3a10-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ddca3a10-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/91eeca34-f7f8-444d-97a0-1970d0b73802/signaling 200 9ms","method":"POST","requestID":"ddca3a10-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/91eeca34-f7f8-444d-97a0-1970d0b73802/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ddcbe7c0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":860,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda83a857-5421-450d-88f9-76e38e2edd56","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1bad3d4a-81cc-4936-84ba-7671d8fa6c5b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072568.384542} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":860,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.230653,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/da83a857-5421-450d-88f9-76e38e2edd56","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ddcbe7c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/da83a857-5421-450d-88f9-76e38e2edd56","object_type":"device","rebac_allow":false,"scope_allow":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":"ddcbe7c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ddcbe7c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/da83a857-5421-450d-88f9-76e38e2edd56/signaling 200 8ms","method":"POST","requestID":"ddcbe7c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/da83a857-5421-450d-88f9-76e38e2edd56/signaling"} device-1 | {"device":"da83a857-5421-450d-88f9-76e38e2edd56","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":"3103c7e7-7733-4407-82b0-2fcd1644c9f1","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"91eeca34-f7f8-444d-97a0-1970d0b73802","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":"3103c7e7-7733-4407-82b0-2fcd1644c9f1","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"91eeca34-f7f8-444d-97a0-1970d0b73802","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":"91eeca34-f7f8-444d-97a0-1970d0b73802","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":"91eeca34-f7f8-444d-97a0-1970d0b73802","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":"91eeca34-f7f8-444d-97a0-1970d0b73802","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/3103c7e7-7733-4407-82b0-2fcd1644c9f1' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"3103c7e7-7733-4407-82b0-2fcd1644c9f1","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0bce270c946f436278490a416e121859","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"0bce270c946f436278490a416e121859","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","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/91eeca34-f7f8-444d-97a0-1970d0b73802"},{"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":"new","url":"http://localhost/devices/da83a857-5421-450d-88f9-76e38e2edd56"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/3103c7e7-7733-4407-82b0-2fcd1644c9f1"}}},"level":"info","message":"received a callback","requestID":"0bce270c946f436278490a416e121859"} device-1 | {"device":"da83a857-5421-450d-88f9-76e38e2edd56","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":"da83a857-5421-450d-88f9-76e38e2edd56","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":"da83a857-5421-450d-88f9-76e38e2edd56","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 6ms","method":"POST","requestID":"0bce270c946f436278490a416e121859","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.010","http_referrer":"","http_user_agent":"node-fetch","requestID":"0bce270c946f436278490a416e121859"} device-1 | {"device":"91eeca34-f7f8-444d-97a0-1970d0b73802","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":"3103c7e7-7733-4407-82b0-2fcd1644c9f1","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"da83a857-5421-450d-88f9-76e38e2edd56","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":"91eeca34-f7f8-444d-97a0-1970d0b73802","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":"da83a857-5421-450d-88f9-76e38e2edd56","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":"3103c7e7-7733-4407-82b0-2fcd1644c9f1","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/3103c7e7-7733-4407-82b0-2fcd1644c9f1' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"3103c7e7-7733-4407-82b0-2fcd1644c9f1","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4557ac8a69568e46a53afad488589ff0","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"4557ac8a69568e46a53afad488589ff0","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":["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/91eeca34-f7f8-444d-97a0-1970d0b73802"},{"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/da83a857-5421-450d-88f9-76e38e2edd56"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/3103c7e7-7733-4407-82b0-2fcd1644c9f1"}}},"level":"info","message":"received a callback","requestID":"4557ac8a69568e46a53afad488589ff0"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"df08fba0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":861,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:10Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F3103c7e7-7733-4407-82b0-2fcd1644c9f1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"82b47a71-56ff-42dd-a1df-67766d4d549c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072570.4643247} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":861,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.978849,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:10Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/3103c7e7-7733-4407-82b0-2fcd1644c9f1","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"df08fba0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/3103c7e7-7733-4407-82b0-2fcd1644c9f1","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":"df08fba0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"df08fba0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/3103c7e7-7733-4407-82b0-2fcd1644c9f1 200 12ms","method":"GET","requestID":"df08fba0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/peerconnections/3103c7e7-7733-4407-82b0-2fcd1644c9f1"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 47ms","method":"POST","requestID":"4557ac8a69568e46a53afad488589ff0","responseTime":47,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.050","http_referrer":"","http_user_agent":"node-fetch","requestID":"4557ac8a69568e46a53afad488589ff0"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"df0f1620-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":862,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:10Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F91eeca34-f7f8-444d-97a0-1970d0b73802","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b4fc575b-da7f-4ddd-a7ae-0e59370b72cd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072570.5052295} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":862,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.884191,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/91eeca34-f7f8-444d-97a0-1970d0b73802","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"df0f1620-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/91eeca34-f7f8-444d-97a0-1970d0b73802","object_type":"device","rebac_allow":false,"scope_allow":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":"df0f1620-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"df0f1620-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/91eeca34-f7f8-444d-97a0-1970d0b73802/signaling 200 14ms","method":"POST","requestID":"df0f1620-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/91eeca34-f7f8-444d-97a0-1970d0b73802/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"df11ae30-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":863,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:10Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda83a857-5421-450d-88f9-76e38e2edd56","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"93f55028-ed7f-4aa4-a76a-b391d63d595f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072570.5226068} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":863,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.754729,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/da83a857-5421-450d-88f9-76e38e2edd56","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"df11ae30-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/da83a857-5421-450d-88f9-76e38e2edd56","object_type":"device","rebac_allow":false,"scope_allow":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":"df11ae30-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"df11ae30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/da83a857-5421-450d-88f9-76e38e2edd56/signaling 200 15ms","method":"POST","requestID":"df11ae30-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/da83a857-5421-450d-88f9-76e38e2edd56/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3MH0.1DAKBNrE0eizQR0d0D0c8mNDt8-is5QsoGv93PqsGAs","level":"info","message":"auth send jwt","requestID":"2401f5d36a302c3d0bf7c07d92c0eae6"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"2401f5d36a302c3d0bf7c07d92c0eae6","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987","requestID":"2401f5d36a302c3d0bf7c07d92c0eae6"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":864,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:10Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":864,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.278827,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:10Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"2401f5d36a302c3d0bf7c07d92c0eae6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072570,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3MH0.1DAKBNrE0eizQR0d0D0c8mNDt8-is5QsoGv93PqsGAs"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2401f5d36a302c3d0bf7c07d92c0eae6","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987","requestID":"2401f5d36a302c3d0bf7c07d92c0eae6"} gateway-1 | {"time_local":"16/Oct/2024:09:56:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987 HTTP/1.1","status": "200","body_bytes_sent":"1369","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2401f5d36a302c3d0bf7c07d92c0eae6"} experiment-1 | {"level":"info","message":"GET /experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987 200 15ms","method":"GET","requestID":"2401f5d36a302c3d0bf7c07d92c0eae6","responseTime":15,"status":200,"url":"/experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3MH0.1DAKBNrE0eizQR0d0D0c8mNDt8-is5QsoGv93PqsGAs","level":"info","message":"auth send jwt","requestID":"beabba0a3b13f54166085a101b668123"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"beabba0a3b13f54166085a101b668123","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987","requestID":"beabba0a3b13f54166085a101b668123"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":865,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:10Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":865,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.292761,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:10Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"beabba0a3b13f54166085a101b668123","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072570,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3MH0.1DAKBNrE0eizQR0d0D0c8mNDt8-is5QsoGv93PqsGAs"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"beabba0a3b13f54166085a101b668123","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987"},"level":"info","message":"Attempting to finish experiment","requestID":"beabba0a3b13f54166085a101b668123"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"df1caab0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":866,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:10Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":866,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.318275,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:10Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/3103c7e7-7733-4407-82b0-2fcd1644c9f1","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"df1caab0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/3103c7e7-7733-4407-82b0-2fcd1644c9f1","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072570,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3MH0.1DAKBNrE0eizQR0d0D0c8mNDt8-is5QsoGv93PqsGAs"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"df1caab0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"device":"91eeca34-f7f8-444d-97a0-1970d0b73802","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":"91eeca34-f7f8-444d-97a0-1970d0b73802","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":"91eeca34-f7f8-444d-97a0-1970d0b73802","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":"da83a857-5421-450d-88f9-76e38e2edd56","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":"da83a857-5421-450d-88f9-76e38e2edd56","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":"da83a857-5421-450d-88f9-76e38e2edd56","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/3103c7e7-7733-4407-82b0-2fcd1644c9f1' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/3103c7e7-7733-4407-82b0-2fcd1644c9f1' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"3103c7e7-7733-4407-82b0-2fcd1644c9f1","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F3103c7e7-7733-4407-82b0-2fcd1644c9f1': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F3103c7e7-7733-4407-82b0-2fcd1644c9f1","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"d97ed3c1-9577-42e8-9be8-4037ddb25f50","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072570.6145308} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"aecc974e410a48531bccf12c1d3c6b6f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"62c991ca-a212-4d68-b002-ba4f040053e4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072570.6151588} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"aecc974e410a48531bccf12c1d3c6b6f","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"df1caab0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9f65e86b57f795ccb07fa1ea33d79e29","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"closed","url":"http://localhost/devices/91eeca34-f7f8-444d-97a0-1970d0b73802"},{"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/da83a857-5421-450d-88f9-76e38e2edd56"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/3103c7e7-7733-4407-82b0-2fcd1644c9f1"}}},"level":"info","message":"received a callback","requestID":"aecc974e410a48531bccf12c1d3c6b6f"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"9f65e86b57f795ccb07fa1ea33d79e29","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":"closed","url":"http://localhost/devices/91eeca34-f7f8-444d-97a0-1970d0b73802"},{"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/da83a857-5421-450d-88f9-76e38e2edd56"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/3103c7e7-7733-4407-82b0-2fcd1644c9f1"}}},"level":"info","message":"received a callback","requestID":"9f65e86b57f795ccb07fa1ea33d79e29"} device-1 | {"data":{"peerconnection":"3103c7e7-7733-4407-82b0-2fcd1644c9f1","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"df1caab0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/3103c7e7-7733-4407-82b0-2fcd1644c9f1 204 49ms","method":"DELETE","requestID":"df1caab0-8ba4-11ef-a62f-5f7f958aa687","responseTime":49,"status":204,"url":"/peerconnections/3103c7e7-7733-4407-82b0-2fcd1644c9f1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987"},"level":"info","message":"Successfully finished experiment","requestID":"beabba0a3b13f54166085a101b668123"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"df27a730-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":867,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:10Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F91eeca34-f7f8-444d-97a0-1970d0b73802","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"22dfc32b-5209-47f2-a8b3-289ffb975b01","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072570.6662643} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":867,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.393044,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/91eeca34-f7f8-444d-97a0-1970d0b73802","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"df27a730-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/91eeca34-f7f8-444d-97a0-1970d0b73802","object_type":"device","rebac_allow":false,"scope_allow":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":"df27a730-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"df27a730-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/91eeca34-f7f8-444d-97a0-1970d0b73802/signaling 200 13ms","method":"POST","requestID":"df27a730-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/91eeca34-f7f8-444d-97a0-1970d0b73802/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F7ccc1ed7-d105-44e8-8810-1e71bf6f1987': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F7ccc1ed7-d105-44e8-8810-1e71bf6f1987","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"01dd70ae-7110-4dd6-92ed-df17cbac480b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072570.6724665} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"10becfa0-c12f-448a-b567-8af9dfd62a19","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072570.6730685} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"beabba0a3b13f54166085a101b668123","responseTime":17,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"df2a1830-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":868,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:10Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda83a857-5421-450d-88f9-76e38e2edd56","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"26d3a3a9-b645-4b5b-a078-db0740e9422c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072570.6814108} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":868,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.520963,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/da83a857-5421-450d-88f9-76e38e2edd56","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"df2a1830-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/da83a857-5421-450d-88f9-76e38e2edd56","object_type":"device","rebac_allow":false,"scope_allow":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":"df2a1830-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"df2a1830-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/da83a857-5421-450d-88f9-76e38e2edd56/signaling 200 13ms","method":"POST","requestID":"df2a1830-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/da83a857-5421-450d-88f9-76e38e2edd56/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987","requestID":"beabba0a3b13f54166085a101b668123"} gateway-1 | {"time_local":"16/Oct/2024:09:56:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.181","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"beabba0a3b13f54166085a101b668123"} experiment-1 | {"level":"info","message":"DELETE /experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987 204 177ms","method":"DELETE","requestID":"beabba0a3b13f54166085a101b668123","responseTime":177,"status":204,"url":"/experiments/7ccc1ed7-d105-44e8-8810-1e71bf6f1987"} gateway-1 | {"time_local":"16/Oct/2024:09:56:10 +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.670","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"d307978f04581dd17669909022962dd9"} gateway-1 | {"time_local":"16/Oct/2024:09:56:10 +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.662","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"a4f58f38340929f94f54385ad72c72f3"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 131ms","method":"POST","requestID":"aecc974e410a48531bccf12c1d3c6b6f","responseTime":131,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.137","http_referrer":"","http_user_agent":"node-fetch","requestID":"aecc974e410a48531bccf12c1d3c6b6f"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 130ms","method":"POST","requestID":"9f65e86b57f795ccb07fa1ea33d79e29","responseTime":130,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.137","http_referrer":"","http_user_agent":"node-fetch","requestID":"9f65e86b57f795ccb07fa1ea33d79e29"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3MH0.1DAKBNrE0eizQR0d0D0c8mNDt8-is5QsoGv93PqsGAs","level":"info","message":"auth send jwt","requestID":"fecbd691adbb4d0b191a8cd3b5536c11"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"fecbd691adbb4d0b191a8cd3b5536c11","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/91eeca34-f7f8-444d-97a0-1970d0b73802' closed"} device-1 | {"level":"info","message":"postDevices called","requestID":"fecbd691adbb4d0b191a8cd3b5536c11"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":869,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:10Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":869,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.993615,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:10Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fecbd691adbb4d0b191a8cd3b5536c11","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072570,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3MH0.1DAKBNrE0eizQR0d0D0c8mNDt8-is5QsoGv93PqsGAs"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"fecbd691adbb4d0b191a8cd3b5536c11","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/da83a857-5421-450d-88f9-76e38e2edd56' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5618a363-a4d3-40fc-b36c-f1854583f828","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"7b56ec4b-aff9-4bdb-b0a2-6d56a254d039","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072570.7777996} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"fecbd691adbb4d0b191a8cd3b5536c11","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7b2a34fc-771c-4f88-adb0-ba51ff08bfd1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072570.7836766} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"fecbd691adbb4d0b191a8cd3b5536c11","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5618a363-a4d3-40fc-b36c-f1854583f828","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"3cb40f6c-e27f-4d13-8ac1-1c8dde9c77fc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072570.7939315} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3dc00c55-a143-4e1f-bd27-62e89c3c3e9e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072570.7941496} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"fecbd691adbb4d0b191a8cd3b5536c11","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5618a363-a4d3-40fc-b36c-f1854583f828","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5618a363-a4d3-40fc-b36c-f1854583f828","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:10.793891112Z"}]},"request_id":"adff55fc-3113-4650-bb88-a8f50d9cf9dc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072570.7995539} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"fecbd691adbb4d0b191a8cd3b5536c11","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"fecbd691adbb4d0b191a8cd3b5536c11"} gateway-1 | {"time_local":"16/Oct/2024:09:56:10 +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":"fecbd691adbb4d0b191a8cd3b5536c11"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"fecbd691adbb4d0b191a8cd3b5536c11","responseTime":45,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3MH0.1DAKBNrE0eizQR0d0D0c8mNDt8-is5QsoGv93PqsGAs","level":"info","message":"auth send jwt","requestID":"da8120b6c526a5b05f315cc195a730eb"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"da8120b6c526a5b05f315cc195a730eb","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"da8120b6c526a5b05f315cc195a730eb"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":870,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:10Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":870,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.061142,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:10Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"da8120b6c526a5b05f315cc195a730eb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072570,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3MH0.1DAKBNrE0eizQR0d0D0c8mNDt8-is5QsoGv93PqsGAs"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"da8120b6c526a5b05f315cc195a730eb","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"12177c12-4679-4466-b648-ed92dd31f44c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072570.8276367} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"da8120b6c526a5b05f315cc195a730eb","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ed5584c0-908c-4bad-9b82-63df3106fb5d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072570.8325794} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"da8120b6c526a5b05f315cc195a730eb","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"0598eb60-2f00-4a9f-be4f-4078a61cc07e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072570.8479831} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4e434389-21de-4c84-8c0a-5f2ac0adcdb0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072570.8481681} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"da8120b6c526a5b05f315cc195a730eb","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:10.847946407Z"}]},"request_id":"a7c52dd4-64af-4d92-a781-4cf7d6b29d46","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072570.8529682} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"da8120b6c526a5b05f315cc195a730eb","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"da8120b6c526a5b05f315cc195a730eb"} gateway-1 | {"time_local":"16/Oct/2024:09:56:10 +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":"da8120b6c526a5b05f315cc195a730eb"} device-1 | {"level":"info","message":"POST /devices? 201 48ms","method":"POST","requestID":"da8120b6c526a5b05f315cc195a730eb","responseTime":48,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b00fa744ee332a29ac36fe1031938f39","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"b00fa744ee332a29ac36fe1031938f39","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde/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":"b00fa744ee332a29ac36fe1031938f39"} device-1 | {"level":"info","message":"OPTIONS /devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde/websocket 200 1ms","method":"OPTIONS","requestID":"b00fa744ee332a29ac36fe1031938f39","responseTime":1,"status":200,"url":"/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde/websocket"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b25409766dfb8d0cd60701c6503fe1b6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"b25409766dfb8d0cd60701c6503fe1b6","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/5618a363-a4d3-40fc-b36c-f1854583f828/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":"b25409766dfb8d0cd60701c6503fe1b6"} device-1 | {"level":"info","message":"OPTIONS /devices/5618a363-a4d3-40fc-b36c-f1854583f828/websocket 200 1ms","method":"OPTIONS","requestID":"b25409766dfb8d0cd60701c6503fe1b6","responseTime":1,"status":200,"url":"/devices/5618a363-a4d3-40fc-b36c-f1854583f828/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3Mn0.1gmr_oQ53pj-Z0FCwb3IVV63TGlOqq7SlGFHTuvPMAw","level":"info","message":"auth send jwt","requestID":"da489e96b29fb48ed5464d254f73d782"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"da489e96b29fb48ed5464d254f73d782","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"da489e96b29fb48ed5464d254f73d782"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":871,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:12Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3Mn0.1gmr_oQ53pj-Z0FCwb3IVV63TGlOqq7SlGFHTuvPMAw","level":"info","message":"auth send jwt","requestID":"b436fbf9d0e30a0f674d30b8940725f2"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":871,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.434346,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:12Z"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"b436fbf9d0e30a0f674d30b8940725f2","responseTime":7,"status":200,"url":"/auth"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"da489e96b29fb48ed5464d254f73d782","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072572,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3Mn0.1gmr_oQ53pj-Z0FCwb3IVV63TGlOqq7SlGFHTuvPMAw"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"da489e96b29fb48ed5464d254f73d782","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"b436fbf9d0e30a0f674d30b8940725f2"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":872,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:12Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":872,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.218438,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:12Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/5618a363-a4d3-40fc-b36c-f1854583f828","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b436fbf9d0e30a0f674d30b8940725f2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5618a363-a4d3-40fc-b36c-f1854583f828","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072572,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3Mn0.1gmr_oQ53pj-Z0FCwb3IVV63TGlOqq7SlGFHTuvPMAw"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"b436fbf9d0e30a0f674d30b8940725f2","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"da489e96b29fb48ed5464d254f73d782"} device-1 | {"level":"info","message":"POST /devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde/websocket 200 29ms","method":"POST","requestID":"da489e96b29fb48ed5464d254f73d782","responseTime":29,"status":200,"url":"/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:56:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.038","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"da489e96b29fb48ed5464d254f73d782"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"b436fbf9d0e30a0f674d30b8940725f2"} device-1 | {"level":"info","message":"POST /devices/5618a363-a4d3-40fc-b36c-f1854583f828/websocket 200 27ms","method":"POST","requestID":"b436fbf9d0e30a0f674d30b8940725f2","responseTime":27,"status":200,"url":"/devices/5618a363-a4d3-40fc-b36c-f1854583f828/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:56:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/5618a363-a4d3-40fc-b36c-f1854583f828/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.036","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"b436fbf9d0e30a0f674d30b8940725f2"} device-1 | {"level":"info","message":"device 'http://localhost/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/5618a363-a4d3-40fc-b36c-f1854583f828' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"3793bd13d472041bc647af5e54d998bf","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"3793bd13d472041bc647af5e54d998bf","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde? 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":"3793bd13d472041bc647af5e54d998bf"} device-1 | {"level":"info","message":"OPTIONS /devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde? 200 1ms","method":"OPTIONS","requestID":"3793bd13d472041bc647af5e54d998bf","responseTime":1,"status":200,"url":"/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ce90f81c292cb812c3e11c766a256150","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"ce90f81c292cb812c3e11c766a256150","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/5618a363-a4d3-40fc-b36c-f1854583f828? 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":"ce90f81c292cb812c3e11c766a256150"} device-1 | {"level":"info","message":"OPTIONS /devices/5618a363-a4d3-40fc-b36c-f1854583f828? 200 1ms","method":"OPTIONS","requestID":"ce90f81c292cb812c3e11c766a256150","responseTime":1,"status":200,"url":"/devices/5618a363-a4d3-40fc-b36c-f1854583f828?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3Mn0.1gmr_oQ53pj-Z0FCwb3IVV63TGlOqq7SlGFHTuvPMAw","level":"info","message":"auth send jwt","requestID":"3f47b872b6687a4ca70d7a29850b37ae"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"3f47b872b6687a4ca70d7a29850b37ae","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"3f47b872b6687a4ca70d7a29850b37ae"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":873,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:12Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":873,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.19346,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:12Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3Mn0.1gmr_oQ53pj-Z0FCwb3IVV63TGlOqq7SlGFHTuvPMAw","level":"info","message":"auth send jwt","requestID":"e4b50f9f4a5586f2759b50d5c63f6591"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3f47b872b6687a4ca70d7a29850b37ae","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072572,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3Mn0.1gmr_oQ53pj-Z0FCwb3IVV63TGlOqq7SlGFHTuvPMAw"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"e4b50f9f4a5586f2759b50d5c63f6591","responseTime":5,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3f47b872b6687a4ca70d7a29850b37ae","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"e4b50f9f4a5586f2759b50d5c63f6591"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":874,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:12Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":874,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.084966,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:12Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/5618a363-a4d3-40fc-b36c-f1854583f828","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e4b50f9f4a5586f2759b50d5c63f6591","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5618a363-a4d3-40fc-b36c-f1854583f828","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072572,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3Mn0.1gmr_oQ53pj-Z0FCwb3IVV63TGlOqq7SlGFHTuvPMAw"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"e4b50f9f4a5586f2759b50d5c63f6591","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:10.847946407Z"}]},"request_id":"a948356a-8696-4142-b3eb-4cb9ff32c27b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072572.9764802} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"3f47b872b6687a4ca70d7a29850b37ae","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a8792a21-e00a-4a8d-bfd4-252ba63fbce1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072572.9863162} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"3f47b872b6687a4ca70d7a29850b37ae","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5618a363-a4d3-40fc-b36c-f1854583f828","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5618a363-a4d3-40fc-b36c-f1854583f828","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:10.793891112Z"}]},"request_id":"cfa661f3-b9b6-4e01-a969-37f27e970b1e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072572.9890924} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"e4b50f9f4a5586f2759b50d5c63f6591","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"60e3726d-21d1-4667-a7c4-06b94b67708c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072572.9969678} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"e4b50f9f4a5586f2759b50d5c63f6591","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:10.847946407Z"}]},"request_id":"df179713-8582-4609-b752-252074a7974c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.002145} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"3f47b872b6687a4ca70d7a29850b37ae","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"3f47b872b6687a4ca70d7a29850b37ae"} gateway-1 | {"time_local":"16/Oct/2024:09:56:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde? 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":"3f47b872b6687a4ca70d7a29850b37ae"} device-1 | {"level":"info","message":"PATCH /devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde? 200 46ms","method":"PATCH","requestID":"3f47b872b6687a4ca70d7a29850b37ae","responseTime":46,"status":200,"url":"/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5618a363-a4d3-40fc-b36c-f1854583f828","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5618a363-a4d3-40fc-b36c-f1854583f828","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:10.793891112Z"}]},"request_id":"24567b25-8e1c-48b2-a89a-76387c8d121b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.0150325} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e4b50f9f4a5586f2759b50d5c63f6591","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"e4b50f9f4a5586f2759b50d5c63f6591"} gateway-1 | {"time_local":"16/Oct/2024:09:56:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/5618a363-a4d3-40fc-b36c-f1854583f828? 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":"e4b50f9f4a5586f2759b50d5c63f6591"} device-1 | {"level":"info","message":"PATCH /devices/5618a363-a4d3-40fc-b36c-f1854583f828? 200 49ms","method":"PATCH","requestID":"e4b50f9f4a5586f2759b50d5c63f6591","responseTime":49,"status":200,"url":"/devices/5618a363-a4d3-40fc-b36c-f1854583f828?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3M30.zA07Hoq7ZI-MMD1ID85ewysMDuhKfVpYltbdSLWDYnI","level":"info","message":"auth send jwt","requestID":"377ee1e014ee1159e27493512875748a"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"377ee1e014ee1159e27493512875748a","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"377ee1e014ee1159e27493512875748a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":875,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":875,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.074451,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5618a363-a4d3-40fc-b36c-f1854583f828","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"377ee1e014ee1159e27493512875748a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5618a363-a4d3-40fc-b36c-f1854583f828","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072573,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3M30.zA07Hoq7ZI-MMD1ID85ewysMDuhKfVpYltbdSLWDYnI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"377ee1e014ee1159e27493512875748a","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5618a363-a4d3-40fc-b36c-f1854583f828","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5618a363-a4d3-40fc-b36c-f1854583f828","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:10.793891112Z"}]},"request_id":"480e4b34-758e-4156-ac50-ecb1f84089b5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.041348} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"377ee1e014ee1159e27493512875748a","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"377ee1e014ee1159e27493512875748a"} gateway-1 | {"time_local":"16/Oct/2024:09:56:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/5618a363-a4d3-40fc-b36c-f1854583f828? 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":"377ee1e014ee1159e27493512875748a"} device-1 | {"level":"info","message":"GET /devices/5618a363-a4d3-40fc-b36c-f1854583f828? 200 14ms","method":"GET","requestID":"377ee1e014ee1159e27493512875748a","responseTime":14,"status":200,"url":"/devices/5618a363-a4d3-40fc-b36c-f1854583f828?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3M30.zA07Hoq7ZI-MMD1ID85ewysMDuhKfVpYltbdSLWDYnI","level":"info","message":"auth send jwt","requestID":"c262a226c8922d213437a3f94f8b88a7"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c262a226c8922d213437a3f94f8b88a7","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c262a226c8922d213437a3f94f8b88a7"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":876,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":876,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.743437,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c262a226c8922d213437a3f94f8b88a7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072573,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3M30.zA07Hoq7ZI-MMD1ID85ewysMDuhKfVpYltbdSLWDYnI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c262a226c8922d213437a3f94f8b88a7","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:10.847946407Z"}]},"request_id":"14b2cb12-2dc2-42d1-a129-cc60937d2022","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.0615861} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c262a226c8922d213437a3f94f8b88a7","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c262a226c8922d213437a3f94f8b88a7"} gateway-1 | {"time_local":"16/Oct/2024:09:56:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde? 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":"c262a226c8922d213437a3f94f8b88a7"} device-1 | {"level":"info","message":"GET /devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde? 200 15ms","method":"GET","requestID":"c262a226c8922d213437a3f94f8b88a7","responseTime":15,"status":200,"url":"/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3M30.zA07Hoq7ZI-MMD1ID85ewysMDuhKfVpYltbdSLWDYnI","level":"info","message":"auth send jwt","requestID":"75a3dbe7ce0c8ca0002aa54b1ec80ca2"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"75a3dbe7ce0c8ca0002aa54b1ec80ca2","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"75a3dbe7ce0c8ca0002aa54b1ec80ca2"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":877,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":877,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.270183,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"75a3dbe7ce0c8ca0002aa54b1ec80ca2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072573,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3M30.zA07Hoq7ZI-MMD1ID85ewysMDuhKfVpYltbdSLWDYnI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"75a3dbe7ce0c8ca0002aa54b1ec80ca2","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4f17a279-e38a-4595-96aa-072e31e35d3c"},"level":"info","message":"Attempting to run experiment","requestID":"75a3dbe7ce0c8ca0002aa54b1ec80ca2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4f17a279-e38a-4595-96aa-072e31e35d3c"},"level":"info","message":"Attempting to book experiment","requestID":"75a3dbe7ce0c8ca0002aa54b1ec80ca2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4f17a279-e38a-4595-96aa-072e31e35d3c"},"level":"info","message":"Successfully booked experiment","requestID":"75a3dbe7ce0c8ca0002aa54b1ec80ca2"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e09e41a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e09e8fc0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":878,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":878,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.610326,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5618a363-a4d3-40fc-b36c-f1854583f828","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e09e41a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5618a363-a4d3-40fc-b36c-f1854583f828","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072573,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3M30.zA07Hoq7ZI-MMD1ID85ewysMDuhKfVpYltbdSLWDYnI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e09e41a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":879,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":879,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.268191,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e09e8fc0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072573,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3M30.zA07Hoq7ZI-MMD1ID85ewysMDuhKfVpYltbdSLWDYnI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e09e8fc0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5618a363-a4d3-40fc-b36c-f1854583f828","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5618a363-a4d3-40fc-b36c-f1854583f828","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:10.793891112Z"}]},"request_id":"2edf58e6-6c65-447a-9a22-eb975118993f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.122146} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e09e41a0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:10.847946407Z"}]},"request_id":"9853dc2e-506c-4964-9a47-647eacf94ddf","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.1255112} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e09e41a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e09e8fc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/5618a363-a4d3-40fc-b36c-f1854583f828? 200 12ms","method":"GET","requestID":"e09e41a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/5618a363-a4d3-40fc-b36c-f1854583f828?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e09e8fc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde? 200 13ms","method":"GET","requestID":"e09e8fc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4f17a279-e38a-4595-96aa-072e31e35d3c"},"level":"info","message":"Setting up experiment","requestID":"75a3dbe7ce0c8ca0002aa54b1ec80ca2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4f17a279-e38a-4595-96aa-072e31e35d3c"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"75a3dbe7ce0c8ca0002aa54b1ec80ca2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4f17a279-e38a-4595-96aa-072e31e35d3c"},"level":"info","message":"Successfully locked booking for experiment","requestID":"75a3dbe7ce0c8ca0002aa54b1ec80ca2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4f17a279-e38a-4595-96aa-072e31e35d3c"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"75a3dbe7ce0c8ca0002aa54b1ec80ca2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4f17a279-e38a-4595-96aa-072e31e35d3c"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"75a3dbe7ce0c8ca0002aa54b1ec80ca2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4f17a279-e38a-4595-96aa-072e31e35d3c"},"level":"info","message":"Attempting to update booking for experiment","requestID":"75a3dbe7ce0c8ca0002aa54b1ec80ca2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4f17a279-e38a-4595-96aa-072e31e35d3c"},"level":"info","message":"Successfully updated booking for experiment","requestID":"75a3dbe7ce0c8ca0002aa54b1ec80ca2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4f17a279-e38a-4595-96aa-072e31e35d3c"},"level":"info","message":"Successfully set up experiment","requestID":"75a3dbe7ce0c8ca0002aa54b1ec80ca2"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e0a76960-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e0a7b780-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4f17a279-e38a-4595-96aa-072e31e35d3c"},"level":"info","message":"Successfully running experiment","requestID":"75a3dbe7ce0c8ca0002aa54b1ec80ca2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e0a7de90-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":880,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":880,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.083698,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":881,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5618a363-a4d3-40fc-b36c-f1854583f828","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e0a76960-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5618a363-a4d3-40fc-b36c-f1854583f828","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072573,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3M30.zA07Hoq7ZI-MMD1ID85ewysMDuhKfVpYltbdSLWDYnI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e0a76960-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":881,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.513538,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e0a7b780-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072573,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3M30.zA07Hoq7ZI-MMD1ID85ewysMDuhKfVpYltbdSLWDYnI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e0a7b780-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57716","level":"info","msg":"Received request.","req_id":882,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5618a363-a4d3-40fc-b36c-f1854583f828","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5618a363-a4d3-40fc-b36c-f1854583f828","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:10.793891112Z"}]},"request_id":"82f382e3-b819-4ddb-a27f-fbed9cd2690b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.1847024} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5618a363-a4d3-40fc-b36c-f1854583f828","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a82c85cd-ee66-4f00-ba16-8eb7bee74142","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.1849086} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e0a76960-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:10.847946407Z"}]},"request_id":"f8936c80-6c85-4ac0-86bd-608b9f35aedd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.1855953} authorization-1 | {"client_addr":"127.0.0.1:57716","level":"info","msg":"Sent response.","req_id":882,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.332703,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5618a363-a4d3-40fc-b36c-f1854583f828","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e0a7de90-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5618a363-a4d3-40fc-b36c-f1854583f828","object_type":"device","rebac_allow":false,"scope_allow":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":"e0a7de90-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e0a7b780-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e0a76960-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/5618a363-a4d3-40fc-b36c-f1854583f828? 200 18ms","method":"GET","requestID":"e0a76960-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/5618a363-a4d3-40fc-b36c-f1854583f828?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e0a7de90-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/5618a363-a4d3-40fc-b36c-f1854583f828/signaling 200 17ms","method":"POST","requestID":"e0a7de90-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/5618a363-a4d3-40fc-b36c-f1854583f828/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e0a7b780-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde? 200 19ms","method":"GET","requestID":"e0a7b780-8ba4-11ef-a62f-5f7f958aa687","responseTime":19,"status":200,"url":"/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e0aac4c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e0ab12e0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F4f17a279-e38a-4595-96aa-072e31e35d3c#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F4f17a279-e38a-4595-96aa-072e31e35d3c","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"c3176a86-f11f-45f6-b92a-8e6291eb0d51","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.1985846} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"49e8c8fb-dd17-4149-9bd5-a53907564929","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.199161} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a3000320-5d73-44f4-9eda-db6d8249554a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.2023256} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":883,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":883,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.167576,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":884,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"level":"info","message":"POST /relations/update 200 26ms","method":"POST","requestID":"75a3dbe7ce0c8ca0002aa54b1ec80ca2","responseTime":26,"status":200,"url":"/relations/update"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e0aac4c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","object_type":"device","rebac_allow":false,"scope_allow":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":"e0aac4c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5618a363-a4d3-40fc-b36c-f1854583f828","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1c6861ca-430b-483f-b576-492578dcd79c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.2052455} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":884,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.826473,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5618a363-a4d3-40fc-b36c-f1854583f828","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e0ab12e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5618a363-a4d3-40fc-b36c-f1854583f828","object_type":"device","rebac_allow":false,"scope_allow":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":"e0ab12e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e0aac4c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde/signaling 200 13ms","method":"POST","requestID":"e0aac4c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde/signaling"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/4f17a279-e38a-4595-96aa-072e31e35d3c","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"75a3dbe7ce0c8ca0002aa54b1ec80ca2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e0ab12e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/5618a363-a4d3-40fc-b36c-f1854583f828/signaling 200 12ms","method":"POST","requestID":"e0ab12e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/5618a363-a4d3-40fc-b36c-f1854583f828/signaling"} gateway-1 | {"time_local":"16/Oct/2024:09:56:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1288","request_time":"0.142","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"75a3dbe7ce0c8ca0002aa54b1ec80ca2"} experiment-1 | {"level":"info","message":"POST /experiments? 201 138ms","method":"POST","requestID":"75a3dbe7ce0c8ca0002aa54b1ec80ca2","responseTime":138,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e0ad5cd0-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3M30.zA07Hoq7ZI-MMD1ID85ewysMDuhKfVpYltbdSLWDYnI","level":"info","message":"auth send jwt","requestID":"4076ffcd9376e2b60229c5a933fd8373"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"4076ffcd9376e2b60229c5a933fd8373","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4076ffcd9376e2b60229c5a933fd8373"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":885,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"14646d5c-88a2-4c3b-a77e-9d0e3c789dbf","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.2182682} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":886,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":885,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.440665,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e0ad5cd0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","object_type":"device","rebac_allow":false,"scope_allow":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":"e0ad5cd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":886,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.722645,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5618a363-a4d3-40fc-b36c-f1854583f828","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"4076ffcd9376e2b60229c5a933fd8373","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5618a363-a4d3-40fc-b36c-f1854583f828","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072573,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3M30.zA07Hoq7ZI-MMD1ID85ewysMDuhKfVpYltbdSLWDYnI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4076ffcd9376e2b60229c5a933fd8373","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e0ad5cd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde/signaling 200 10ms","method":"POST","requestID":"e0ad5cd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde/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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5618a363-a4d3-40fc-b36c-f1854583f828","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5618a363-a4d3-40fc-b36c-f1854583f828","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:10.793891112Z"}]},"request_id":"86e69b8b-da64-47c9-8345-af25a42f04cd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.223753} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4f17a279-e38a-4595-96aa-072e31e35d3c"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"75a3dbe7ce0c8ca0002aa54b1ec80ca2"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"4076ffcd9376e2b60229c5a933fd8373","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e0af58a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e0af7fb0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4076ffcd9376e2b60229c5a933fd8373"} gateway-1 | {"time_local":"16/Oct/2024:09:56:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/5618a363-a4d3-40fc-b36c-f1854583f828? 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":"4076ffcd9376e2b60229c5a933fd8373"} device-1 | {"level":"info","message":"GET /devices/5618a363-a4d3-40fc-b36c-f1854583f828? 200 14ms","method":"GET","requestID":"4076ffcd9376e2b60229c5a933fd8373","responseTime":14,"status":200,"url":"/devices/5618a363-a4d3-40fc-b36c-f1854583f828?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":887,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":887,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.658205,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":888,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5618a363-a4d3-40fc-b36c-f1854583f828","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e0af58a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5618a363-a4d3-40fc-b36c-f1854583f828","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072573,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3M30.zA07Hoq7ZI-MMD1ID85ewysMDuhKfVpYltbdSLWDYnI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e0af58a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":888,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.815312,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e0af7fb0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072573,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3M30.zA07Hoq7ZI-MMD1ID85ewysMDuhKfVpYltbdSLWDYnI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e0af7fb0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3M30.zA07Hoq7ZI-MMD1ID85ewysMDuhKfVpYltbdSLWDYnI","level":"info","message":"auth send jwt","requestID":"c7577dc8706c093c9e7e733dcb36b41d"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c7577dc8706c093c9e7e733dcb36b41d","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c7577dc8706c093c9e7e733dcb36b41d"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5618a363-a4d3-40fc-b36c-f1854583f828","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5618a363-a4d3-40fc-b36c-f1854583f828","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:10.793891112Z"}]},"request_id":"05505e79-b9f6-4d95-906e-f4236e6bc587","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.2348938} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e0af58a0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:10.847946407Z"}]},"request_id":"4521a7fa-dda6-4f80-87be-b93ba26728f3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.236098} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e0af7fb0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":889,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":889,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.744548,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e0af58a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c7577dc8706c093c9e7e733dcb36b41d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072573,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3M30.zA07Hoq7ZI-MMD1ID85ewysMDuhKfVpYltbdSLWDYnI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c7577dc8706c093c9e7e733dcb36b41d","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"GET /devices/5618a363-a4d3-40fc-b36c-f1854583f828? 200 15ms","method":"GET","requestID":"e0af58a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/5618a363-a4d3-40fc-b36c-f1854583f828?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e0af7fb0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde? 200 14ms","method":"GET","requestID":"e0af7fb0-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4f17a279-e38a-4595-96aa-072e31e35d3c"},"level":"info","message":"Building connection plan","requestID":"75a3dbe7ce0c8ca0002aa54b1ec80ca2"} 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":"b0076324-b6d4-4c09-a726-ec3c673e62cc"},{"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":"c33733f4-1d73-4325-aa06-a333200490d6"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"0cdbfd5e-4fef-4c39-bafa-9b76f58b02e9"}]},"level":"info","message":"Built pairwise service configurations","requestID":"75a3dbe7ce0c8ca0002aa54b1ec80ca2"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"e0b217c0-8ba4-11ef-a042-213954f0282b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:10.847946407Z"}]},"request_id":"7feec77d-f8b2-453f-99ee-c726f236ab23","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.244764} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"e0b217c0-8ba4-11ef-a042-213954f0282b"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"c7577dc8706c093c9e7e733dcb36b41d","responseTime":2,"status":200,"url":"/relations/query"} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"e0b217c0-8ba4-11ef-a042-213954f0282b","responseTime":1,"status":201,"url":"/rooms"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/5dbc2b0e-a250-4636-a4d4-db7e69d34842?id=b962d955-0f16-4054-bb2f-aa3d7d3ae8cd","ws://localhost/rooms/5dbc2b0e-a250-4636-a4d4-db7e69d34842?id=f303625b-2926-4ab5-8c45-e10e6da582c4"]},"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/5618a363-a4d3-40fc-b36c-f1854583f828"},{"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/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"75a3dbe7ce0c8ca0002aa54b1ec80ca2"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c7577dc8706c093c9e7e733dcb36b41d"} device-1 | {"level":"info","message":"GET /devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde? 200 13ms","method":"GET","requestID":"c7577dc8706c093c9e7e733dcb36b41d","responseTime":13,"status":200,"url":"/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde? 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":"c7577dc8706c093c9e7e733dcb36b41d"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"e0b2b400-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":890,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":890,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.700868,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e0b2b400-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072573,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3M30.zA07Hoq7ZI-MMD1ID85ewysMDuhKfVpYltbdSLWDYnI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e0b2b400-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"1f17b46c-833c-4a0f-be0c-f67cb1c1b83d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.259619} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8a00fdc8-05c5-4db3-b0d0-ed06b96cdf2c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.2598631} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"e0b2b400-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"e0b2b400-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"e0b2b400-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/b2d3d253-dada-4502-b5a6-0c1e47f38f58'","requestID":"e0b2b400-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/b2d3d253-dada-4502-b5a6-0c1e47f38f58'","requestID":"e0b2b400-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"e0b2b400-8ba4-11ef-a62f-5f7f958aa687"} 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":"e0b2b400-8ba4-11ef-a62f-5f7f958aa687","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":"e0b2b400-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/b2d3d253-dada-4502-b5a6-0c1e47f38f58' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b2d3d253-dada-4502-b5a6-0c1e47f38f58","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"e0b7e420-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"f303625b-2926-4ab5-8c45-e10e6da582c4\" in room \"http://localhost/rooms/5dbc2b0e-a250-4636-a4d4-db7e69d34842\"","requestID":"e0b7e420-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"e0b7e420-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"e0b83240-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"b962d955-0f16-4054-bb2f-aa3d7d3ae8cd\" in room \"http://localhost/rooms/5dbc2b0e-a250-4636-a4d4-db7e69d34842\"","requestID":"e0b83240-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"e0b83240-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c9a17c0d4d2904abdd7869e6c48f3b6c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"c9a17c0d4d2904abdd7869e6c48f3b6c","responseTime":1,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"f303625b-2926-4ab5-8c45-e10e6da582c4\" in room \"http://localhost/rooms/5dbc2b0e-a250-4636-a4d4-db7e69d34842\""} 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/5618a363-a4d3-40fc-b36c-f1854583f828"},{"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/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/b2d3d253-dada-4502-b5a6-0c1e47f38f58"}}},"level":"info","message":"received a callback","requestID":"c9a17c0d4d2904abdd7869e6c48f3b6c"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"f303625b-2926-4ab5-8c45-e10e6da582c4\" in room \"http://localhost/rooms/5dbc2b0e-a250-4636-a4d4-db7e69d34842\""} device-1 | {"data":{"peerconnection":"b2d3d253-dada-4502-b5a6-0c1e47f38f58","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 8ms","method":"POST","requestID":"c9a17c0d4d2904abdd7869e6c48f3b6c","responseTime":8,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.011","http_referrer":"","http_user_agent":"node-fetch","requestID":"c9a17c0d4d2904abdd7869e6c48f3b6c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4f17a279-e38a-4595-96aa-072e31e35d3c"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"75a3dbe7ce0c8ca0002aa54b1ec80ca2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e0bc7800-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"data":{"peerconnection":"b2d3d253-dada-4502-b5a6-0c1e47f38f58","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":891,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5618a363-a4d3-40fc-b36c-f1854583f828","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6ad0881c-e2c9-4def-a120-921457871973","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.3171723} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":891,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.656202,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5618a363-a4d3-40fc-b36c-f1854583f828","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e0bc7800-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5618a363-a4d3-40fc-b36c-f1854583f828","object_type":"device","rebac_allow":false,"scope_allow":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":"e0bc7800-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/b2d3d253-dada-4502-b5a6-0c1e47f38f58' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b2d3d253-dada-4502-b5a6-0c1e47f38f58","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e0bc7800-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/5618a363-a4d3-40fc-b36c-f1854583f828/signaling 200 15ms","method":"POST","requestID":"e0bc7800-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/5618a363-a4d3-40fc-b36c-f1854583f828/signaling"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"082b89004d8741f365ed6651d25c9eb8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"082b89004d8741f365ed6651d25c9eb8","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e0bf1010-8ba4-11ef-a62f-5f7f958aa687"} 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/5618a363-a4d3-40fc-b36c-f1854583f828"},{"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/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/b2d3d253-dada-4502-b5a6-0c1e47f38f58"}}},"level":"info","message":"received a callback","requestID":"082b89004d8741f365ed6651d25c9eb8"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":892,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ad210acb-120a-470c-b757-4e5101c7048d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.334903} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"e0bffa70-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":892,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.279353,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e0bf1010-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","object_type":"device","rebac_allow":false,"scope_allow":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":"e0bf1010-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":893,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e0bf1010-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde/signaling 200 10ms","method":"POST","requestID":"e0bf1010-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb2d3d253-dada-4502-b5a6-0c1e47f38f58","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"18588218-33a2-4b97-b092-45b01afbec76","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.3399408} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":893,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.67201,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b2d3d253-dada-4502-b5a6-0c1e47f38f58","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e0bffa70-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/b2d3d253-dada-4502-b5a6-0c1e47f38f58","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":"e0bffa70-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"e0bffa70-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/b2d3d253-dada-4502-b5a6-0c1e47f38f58 200 8ms","method":"GET","requestID":"e0bffa70-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/peerconnections/b2d3d253-dada-4502-b5a6-0c1e47f38f58"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 28ms","method":"POST","requestID":"082b89004d8741f365ed6651d25c9eb8","responseTime":28,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.033","http_referrer":"","http_user_agent":"node-fetch","requestID":"082b89004d8741f365ed6651d25c9eb8"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e0c3a3f0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":894,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5618a363-a4d3-40fc-b36c-f1854583f828","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"eb005b13-4c97-4ec4-8ea8-5f289344b6b5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.3635848} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":894,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.063272,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5618a363-a4d3-40fc-b36c-f1854583f828","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e0c3a3f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5618a363-a4d3-40fc-b36c-f1854583f828","object_type":"device","rebac_allow":false,"scope_allow":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":"e0c3a3f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e0c3a3f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/5618a363-a4d3-40fc-b36c-f1854583f828/signaling 200 8ms","method":"POST","requestID":"e0c3a3f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/5618a363-a4d3-40fc-b36c-f1854583f828/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e0c551a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":895,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"32af7893-d0fa-4365-bfde-38c488dac49e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.3744206} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":895,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.360913,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e0c551a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","object_type":"device","rebac_allow":false,"scope_allow":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":"e0c551a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e0c551a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde/signaling 200 9ms","method":"POST","requestID":"e0c551a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3M30.zA07Hoq7ZI-MMD1ID85ewysMDuhKfVpYltbdSLWDYnI","level":"info","message":"auth send jwt","requestID":"25ffff4fcb53569b72dedf4457e4ca2b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"25ffff4fcb53569b72dedf4457e4ca2b","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/4f17a279-e38a-4595-96aa-072e31e35d3c","requestID":"25ffff4fcb53569b72dedf4457e4ca2b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":896,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":896,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.680282,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/4f17a279-e38a-4595-96aa-072e31e35d3c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"25ffff4fcb53569b72dedf4457e4ca2b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/4f17a279-e38a-4595-96aa-072e31e35d3c","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072573,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3M30.zA07Hoq7ZI-MMD1ID85ewysMDuhKfVpYltbdSLWDYnI"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"25ffff4fcb53569b72dedf4457e4ca2b","responseTime":2,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/4f17a279-e38a-4595-96aa-072e31e35d3c","requestID":"25ffff4fcb53569b72dedf4457e4ca2b"} experiment-1 | {"level":"info","message":"GET /experiments/4f17a279-e38a-4595-96aa-072e31e35d3c 200 8ms","method":"GET","requestID":"25ffff4fcb53569b72dedf4457e4ca2b","responseTime":8,"status":200,"url":"/experiments/4f17a279-e38a-4595-96aa-072e31e35d3c"} gateway-1 | {"time_local":"16/Oct/2024:09:56:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/4f17a279-e38a-4595-96aa-072e31e35d3c HTTP/1.1","status": "200","body_bytes_sent":"1361","request_time":"0.012","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"25ffff4fcb53569b72dedf4457e4ca2b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3M30.zA07Hoq7ZI-MMD1ID85ewysMDuhKfVpYltbdSLWDYnI","level":"info","message":"auth send jwt","requestID":"d4edeb24b77b28afc5551e44630b3cc7"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d4edeb24b77b28afc5551e44630b3cc7","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/4f17a279-e38a-4595-96aa-072e31e35d3c","requestID":"d4edeb24b77b28afc5551e44630b3cc7"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":897,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":897,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.958498,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/4f17a279-e38a-4595-96aa-072e31e35d3c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d4edeb24b77b28afc5551e44630b3cc7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/4f17a279-e38a-4595-96aa-072e31e35d3c","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072573,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3M30.zA07Hoq7ZI-MMD1ID85ewysMDuhKfVpYltbdSLWDYnI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d4edeb24b77b28afc5551e44630b3cc7","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4f17a279-e38a-4595-96aa-072e31e35d3c"},"level":"info","message":"Attempting to finish experiment","requestID":"d4edeb24b77b28afc5551e44630b3cc7"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"e0cca4a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":898,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":898,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.645461,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b2d3d253-dada-4502-b5a6-0c1e47f38f58","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e0cca4a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/b2d3d253-dada-4502-b5a6-0c1e47f38f58","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072573,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3M30.zA07Hoq7ZI-MMD1ID85ewysMDuhKfVpYltbdSLWDYnI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e0cca4a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/b2d3d253-dada-4502-b5a6-0c1e47f38f58","device":"7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/b2d3d253-dada-4502-b5a6-0c1e47f38f58","device":"5618a363-a4d3-40fc-b36c-f1854583f828","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} gateway-1 | {"time_local":"16/Oct/2024:09:56:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/5dbc2b0e-a250-4636-a4d4-db7e69d34842?id=b962d955-0f16-4054-bb2f-aa3d7d3ae8cd HTTP/1.1","status": "101","body_bytes_sent":"2","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":"a7c0860caef62941f245be8f4f5073a4"} gateway-1 | {"time_local":"16/Oct/2024:09:56:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/5dbc2b0e-a250-4636-a4d4-db7e69d34842?id=f303625b-2926-4ab5-8c45-e10e6da582c4 HTTP/1.1","status": "101","body_bytes_sent":"438","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":"f2574830f193373e8ac6b0d640cffb31"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/b2d3d253-dada-4502-b5a6-0c1e47f38f58' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/b2d3d253-dada-4502-b5a6-0c1e47f38f58' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b2d3d253-dada-4502-b5a6-0c1e47f38f58","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"f303625b-2926-4ab5-8c45-e10e6da582c4\" in room \"http://localhost/rooms/5dbc2b0e-a250-4636-a4d4-db7e69d34842\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"f303625b-2926-4ab5-8c45-e10e6da582c4\" from room \"http://localhost/rooms/5dbc2b0e-a250-4636-a4d4-db7e69d34842\", code: 1005, reason: "} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"b962d955-0f16-4054-bb2f-aa3d7d3ae8cd\" in room \"http://localhost/rooms/5dbc2b0e-a250-4636-a4d4-db7e69d34842\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"b962d955-0f16-4054-bb2f-aa3d7d3ae8cd\" from room \"http://localhost/rooms/5dbc2b0e-a250-4636-a4d4-db7e69d34842\", code: 1005, reason: "} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"3870d4f5ff67de406b1f2fdca23d032a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"3870d4f5ff67de406b1f2fdca23d032a","responseTime":0,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"dcb698fa2f14a72cbe263ebd54dfb2c3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb2d3d253-dada-4502-b5a6-0c1e47f38f58': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb2d3d253-dada-4502-b5a6-0c1e47f38f58","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"b116a6b9-9226-452d-a631-29b52fa654a1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.4340587} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9b043515-1060-477d-b2e7-10a48ace4c7e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.4344635} 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/5618a363-a4d3-40fc-b36c-f1854583f828"},{"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/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/b2d3d253-dada-4502-b5a6-0c1e47f38f58"}}},"level":"info","message":"received a callback","requestID":"3870d4f5ff67de406b1f2fdca23d032a"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"dcb698fa2f14a72cbe263ebd54dfb2c3","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":"connected","url":"http://localhost/devices/5618a363-a4d3-40fc-b36c-f1854583f828"},{"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/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/b2d3d253-dada-4502-b5a6-0c1e47f38f58"}}},"level":"info","message":"received a callback","requestID":"dcb698fa2f14a72cbe263ebd54dfb2c3"} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"e0cca4a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"b2d3d253-dada-4502-b5a6-0c1e47f38f58","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"e0cca4a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/b2d3d253-dada-4502-b5a6-0c1e47f38f58 204 32ms","method":"DELETE","requestID":"e0cca4a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":32,"status":204,"url":"/peerconnections/b2d3d253-dada-4502-b5a6-0c1e47f38f58"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/5618a363-a4d3-40fc-b36c-f1854583f828'"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4f17a279-e38a-4595-96aa-072e31e35d3c"},"level":"info","message":"Successfully finished experiment","requestID":"d4edeb24b77b28afc5551e44630b3cc7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e0d38270-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":899,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5618a363-a4d3-40fc-b36c-f1854583f828","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fed0c94f-271e-4900-941f-9ca110d7b2ae","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.4679756} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":899,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.728588,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5618a363-a4d3-40fc-b36c-f1854583f828","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e0d38270-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5618a363-a4d3-40fc-b36c-f1854583f828","object_type":"device","rebac_allow":false,"scope_allow":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":"e0d38270-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e0d38270-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/5618a363-a4d3-40fc-b36c-f1854583f828/signaling 200 9ms","method":"POST","requestID":"e0d38270-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/5618a363-a4d3-40fc-b36c-f1854583f828/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F4f17a279-e38a-4595-96aa-072e31e35d3c': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F4f17a279-e38a-4595-96aa-072e31e35d3c","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"9bf57841-7d57-4dc4-8c7d-85f4cf3f7366","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.4743521} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e0d53020-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c600ed40-3f27-486a-bdce-30046fe400c5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.4744937} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"d4edeb24b77b28afc5551e44630b3cc7","responseTime":14,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":900,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d9d30742-e708-4319-9e4b-0f3b47d465d0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.4790773} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":900,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.372999,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e0d53020-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde","object_type":"device","rebac_allow":false,"scope_allow":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":"e0d53020-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e0d53020-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde/signaling 200 8ms","method":"POST","requestID":"e0d53020-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/4f17a279-e38a-4595-96aa-072e31e35d3c","requestID":"d4edeb24b77b28afc5551e44630b3cc7"} gateway-1 | {"time_local":"16/Oct/2024:09:56:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/4f17a279-e38a-4595-96aa-072e31e35d3c HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.135","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d4edeb24b77b28afc5551e44630b3cc7"} experiment-1 | {"level":"info","message":"DELETE /experiments/4f17a279-e38a-4595-96aa-072e31e35d3c 204 133ms","method":"DELETE","requestID":"d4edeb24b77b28afc5551e44630b3cc7","responseTime":133,"status":204,"url":"/experiments/4f17a279-e38a-4595-96aa-072e31e35d3c"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 110ms","method":"POST","requestID":"3870d4f5ff67de406b1f2fdca23d032a","responseTime":110,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.112","http_referrer":"","http_user_agent":"node-fetch","requestID":"3870d4f5ff67de406b1f2fdca23d032a"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 110ms","method":"POST","requestID":"dcb698fa2f14a72cbe263ebd54dfb2c3","responseTime":110,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.114","http_referrer":"","http_user_agent":"node-fetch","requestID":"dcb698fa2f14a72cbe263ebd54dfb2c3"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3M30.zA07Hoq7ZI-MMD1ID85ewysMDuhKfVpYltbdSLWDYnI","level":"info","message":"auth send jwt","requestID":"0114e39d32faff47f4673d12d2894965"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"0114e39d32faff47f4673d12d2894965","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"0114e39d32faff47f4673d12d2894965"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":901,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":901,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.94933,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} gateway-1 | {"time_local":"16/Oct/2024:09:56:13 +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.633","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"87c5534ec3689f021d607942fb36721a"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0114e39d32faff47f4673d12d2894965","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072573,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3M30.zA07Hoq7ZI-MMD1ID85ewysMDuhKfVpYltbdSLWDYnI"} gateway-1 | {"time_local":"16/Oct/2024:09:56:13 +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.630","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"1459d5dd8484e210832312789ea6a3ba"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0114e39d32faff47f4673d12d2894965","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/5618a363-a4d3-40fc-b36c-f1854583f828' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/7bbcd24e-619f-41ad-9f5c-e2bfb92b6fde' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb12ff86a-8265-47e4-a7b9-9ef590b8a720","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"5afb46bd-cac6-4a99-9681-bd1752e9d4a4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.5702643} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0114e39d32faff47f4673d12d2894965","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"82400cf1-5b56-4c81-b234-35ab54638dc8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.574784} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"0114e39d32faff47f4673d12d2894965","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb12ff86a-8265-47e4-a7b9-9ef590b8a720","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"230f2299-def3-4ea8-a587-2ed2a2fc5d7e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.5860507} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c531d000-45f6-4d5a-8fb4-055accbab1c9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.5862808} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"0114e39d32faff47f4673d12d2894965","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb12ff86a-8265-47e4-a7b9-9ef590b8a720","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb12ff86a-8265-47e4-a7b9-9ef590b8a720","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:13.586028739Z"}]},"request_id":"f241b055-67be-423a-b179-d3b6cd977c7c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.5902777} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0114e39d32faff47f4673d12d2894965","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"0114e39d32faff47f4673d12d2894965"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"0114e39d32faff47f4673d12d2894965","responseTime":44,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:13 +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":"0114e39d32faff47f4673d12d2894965"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3M30.zA07Hoq7ZI-MMD1ID85ewysMDuhKfVpYltbdSLWDYnI","level":"info","message":"auth send jwt","requestID":"4d323810c8aa6ee016b3bca03e7156c5"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"4d323810c8aa6ee016b3bca03e7156c5","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"4d323810c8aa6ee016b3bca03e7156c5"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":902,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":902,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.001451,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:13Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"4d323810c8aa6ee016b3bca03e7156c5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072573,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3M30.zA07Hoq7ZI-MMD1ID85ewysMDuhKfVpYltbdSLWDYnI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4d323810c8aa6ee016b3bca03e7156c5","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd28903a-24f9-42f2-b14b-e9be6bd136e2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"864f3946-3d14-4332-aee1-5fdae1963530","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.6157167} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4d323810c8aa6ee016b3bca03e7156c5","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e13da326-769f-4db3-9989-94aef82f0ee3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.6204069} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"4d323810c8aa6ee016b3bca03e7156c5","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd28903a-24f9-42f2-b14b-e9be6bd136e2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"958d5857-6448-4e1c-bc7a-75bf46ed5e4a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.6305296} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4c604ddc-ce0d-41c4-ba25-3aae040a68d5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.630787} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"4d323810c8aa6ee016b3bca03e7156c5","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd28903a-24f9-42f2-b14b-e9be6bd136e2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd28903a-24f9-42f2-b14b-e9be6bd136e2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:13.630498816Z"}]},"request_id":"c643b5d1-dd7e-4500-a8ea-f651e349733c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072573.634877} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"4d323810c8aa6ee016b3bca03e7156c5","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"4d323810c8aa6ee016b3bca03e7156c5"} device-1 | {"level":"info","message":"POST /devices? 201 38ms","method":"POST","requestID":"4d323810c8aa6ee016b3bca03e7156c5","responseTime":38,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:13 +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":"4d323810c8aa6ee016b3bca03e7156c5"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"58eb2ae9127db5be20322e2557cc78ed","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"58eb2ae9127db5be20322e2557cc78ed","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720/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":"58eb2ae9127db5be20322e2557cc78ed"} device-1 | {"level":"info","message":"OPTIONS /devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720/websocket 200 1ms","method":"OPTIONS","requestID":"58eb2ae9127db5be20322e2557cc78ed","responseTime":1,"status":200,"url":"/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720/websocket"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"960fbbfc71e2699ccb4f8ba648b18485","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"960fbbfc71e2699ccb4f8ba648b18485","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2/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":"960fbbfc71e2699ccb4f8ba648b18485"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3NX0.mOApLK2ud0GnFa4In7ZvoW-2y7lBiJPbZg_rdHePr_E","level":"info","message":"auth send jwt","requestID":"9f1efef393f4ba1718d4b8612315e832"} device-1 | {"level":"info","message":"OPTIONS /devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2/websocket 200 1ms","method":"OPTIONS","requestID":"960fbbfc71e2699ccb4f8ba648b18485","responseTime":1,"status":200,"url":"/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2/websocket"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"9f1efef393f4ba1718d4b8612315e832","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"9f1efef393f4ba1718d4b8612315e832"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":903,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":903,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.830932,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"9f1efef393f4ba1718d4b8612315e832","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072575,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3NX0.mOApLK2ud0GnFa4In7ZvoW-2y7lBiJPbZg_rdHePr_E"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3NX0.mOApLK2ud0GnFa4In7ZvoW-2y7lBiJPbZg_rdHePr_E","level":"info","message":"auth send jwt","requestID":"e71e41755b0f90735e9c729dd20f4b23"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"e71e41755b0f90735e9c729dd20f4b23","responseTime":6,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"9f1efef393f4ba1718d4b8612315e832","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"e71e41755b0f90735e9c729dd20f4b23"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":904,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":904,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.737117,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e71e41755b0f90735e9c729dd20f4b23","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072575,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3NX0.mOApLK2ud0GnFa4In7ZvoW-2y7lBiJPbZg_rdHePr_E"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"e71e41755b0f90735e9c729dd20f4b23","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"9f1efef393f4ba1718d4b8612315e832"} gateway-1 | {"time_local":"16/Oct/2024:09:56:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720/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":"9f1efef393f4ba1718d4b8612315e832"} device-1 | {"level":"info","message":"POST /devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720/websocket 200 27ms","method":"POST","requestID":"9f1efef393f4ba1718d4b8612315e832","responseTime":27,"status":200,"url":"/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"e71e41755b0f90735e9c729dd20f4b23"} gateway-1 | {"time_local":"16/Oct/2024:09:56:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2/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":"e71e41755b0f90735e9c729dd20f4b23"} device-1 | {"level":"info","message":"POST /devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2/websocket 200 29ms","method":"POST","requestID":"e71e41755b0f90735e9c729dd20f4b23","responseTime":29,"status":200,"url":"/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9e9085a2fb6ddb3ed2f06f7a43135e6b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"9e9085a2fb6ddb3ed2f06f7a43135e6b","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720? 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":"9e9085a2fb6ddb3ed2f06f7a43135e6b"} device-1 | {"level":"info","message":"OPTIONS /devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720? 200 1ms","method":"OPTIONS","requestID":"9e9085a2fb6ddb3ed2f06f7a43135e6b","responseTime":1,"status":200,"url":"/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"67f03e583ecc947b7087677fb332b941","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"67f03e583ecc947b7087677fb332b941","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2? 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":"67f03e583ecc947b7087677fb332b941"} device-1 | {"level":"info","message":"OPTIONS /devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2? 200 0ms","method":"OPTIONS","requestID":"67f03e583ecc947b7087677fb332b941","responseTime":0,"status":200,"url":"/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3NX0.mOApLK2ud0GnFa4In7ZvoW-2y7lBiJPbZg_rdHePr_E","level":"info","message":"auth send jwt","requestID":"bfdad13dc27480e6d572766a6cb894be"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"bfdad13dc27480e6d572766a6cb894be","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"bfdad13dc27480e6d572766a6cb894be"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":905,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:15Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3NX0.mOApLK2ud0GnFa4In7ZvoW-2y7lBiJPbZg_rdHePr_E","level":"info","message":"auth send jwt","requestID":"548708f9e827576b5cabe637525c5b3a"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"548708f9e827576b5cabe637525c5b3a","responseTime":4,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":905,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.008777,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bfdad13dc27480e6d572766a6cb894be","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072575,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3NX0.mOApLK2ud0GnFa4In7ZvoW-2y7lBiJPbZg_rdHePr_E"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"548708f9e827576b5cabe637525c5b3a"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"bfdad13dc27480e6d572766a6cb894be","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":906,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":906,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.705094,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"548708f9e827576b5cabe637525c5b3a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072575,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3NX0.mOApLK2ud0GnFa4In7ZvoW-2y7lBiJPbZg_rdHePr_E"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"548708f9e827576b5cabe637525c5b3a","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb12ff86a-8265-47e4-a7b9-9ef590b8a720","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb12ff86a-8265-47e4-a7b9-9ef590b8a720","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:13.586028739Z"}]},"request_id":"ae655c13-5690-468f-abc2-2b8ed9a440b5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072575.7534702} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"bfdad13dc27480e6d572766a6cb894be","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd28903a-24f9-42f2-b14b-e9be6bd136e2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd28903a-24f9-42f2-b14b-e9be6bd136e2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:13.630498816Z"}]},"request_id":"e2ad4069-7ee4-4135-9647-b191d2cd6f78","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072575.756604} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"548708f9e827576b5cabe637525c5b3a","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5f1a75e9-b8d1-4659-96e5-a38d1d1b25ac","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072575.7585585} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"bfdad13dc27480e6d572766a6cb894be","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"bc9456e1-41ad-4a51-8fbd-402c63705365","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072575.7628329} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"548708f9e827576b5cabe637525c5b3a","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb12ff86a-8265-47e4-a7b9-9ef590b8a720","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb12ff86a-8265-47e4-a7b9-9ef590b8a720","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:13.586028739Z"}]},"request_id":"93439339-04ae-4c22-8401-0c56fb988442","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072575.771326} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"bfdad13dc27480e6d572766a6cb894be","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"bfdad13dc27480e6d572766a6cb894be"} gateway-1 | {"time_local":"16/Oct/2024:09:56:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720? 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":"bfdad13dc27480e6d572766a6cb894be"} device-1 | {"level":"info","message":"PATCH /devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720? 200 33ms","method":"PATCH","requestID":"bfdad13dc27480e6d572766a6cb894be","responseTime":33,"status":200,"url":"/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd28903a-24f9-42f2-b14b-e9be6bd136e2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd28903a-24f9-42f2-b14b-e9be6bd136e2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:13.630498816Z"}]},"request_id":"5f5222ef-ba35-436c-a786-df14e2cc221b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072575.7888293} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"548708f9e827576b5cabe637525c5b3a","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"548708f9e827576b5cabe637525c5b3a"} gateway-1 | {"time_local":"16/Oct/2024:09:56:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2? HTTP/1.1","status": "200","body_bytes_sent":"1007","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":"548708f9e827576b5cabe637525c5b3a"} device-1 | {"level":"info","message":"PATCH /devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2? 200 44ms","method":"PATCH","requestID":"548708f9e827576b5cabe637525c5b3a","responseTime":44,"status":200,"url":"/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3NX0.mOApLK2ud0GnFa4In7ZvoW-2y7lBiJPbZg_rdHePr_E","level":"info","message":"auth send jwt","requestID":"0abbc514ee79f3b8a41ef37b6d410fa8"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"0abbc514ee79f3b8a41ef37b6d410fa8","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0abbc514ee79f3b8a41ef37b6d410fa8"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":907,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":907,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.718098,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0abbc514ee79f3b8a41ef37b6d410fa8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072575,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3NX0.mOApLK2ud0GnFa4In7ZvoW-2y7lBiJPbZg_rdHePr_E"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0abbc514ee79f3b8a41ef37b6d410fa8","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb12ff86a-8265-47e4-a7b9-9ef590b8a720","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb12ff86a-8265-47e4-a7b9-9ef590b8a720","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:13.586028739Z"}]},"request_id":"6781a833-eda5-48ef-9eb4-4fbe7893b309","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072575.8085568} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0abbc514ee79f3b8a41ef37b6d410fa8","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0abbc514ee79f3b8a41ef37b6d410fa8"} device-1 | {"level":"info","message":"GET /devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720? 200 10ms","method":"GET","requestID":"0abbc514ee79f3b8a41ef37b6d410fa8","responseTime":10,"status":200,"url":"/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720? 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":"0abbc514ee79f3b8a41ef37b6d410fa8"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3NX0.mOApLK2ud0GnFa4In7ZvoW-2y7lBiJPbZg_rdHePr_E","level":"info","message":"auth send jwt","requestID":"20387f06d3471df6c396810d7f955812"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"20387f06d3471df6c396810d7f955812","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"20387f06d3471df6c396810d7f955812"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":908,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":908,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.849783,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"20387f06d3471df6c396810d7f955812","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072575,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3NX0.mOApLK2ud0GnFa4In7ZvoW-2y7lBiJPbZg_rdHePr_E"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"20387f06d3471df6c396810d7f955812","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd28903a-24f9-42f2-b14b-e9be6bd136e2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd28903a-24f9-42f2-b14b-e9be6bd136e2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:13.630498816Z"}]},"request_id":"a4113610-2846-4c23-9871-87f6eb581b68","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072575.8236227} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"20387f06d3471df6c396810d7f955812","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"20387f06d3471df6c396810d7f955812"} device-1 | {"level":"info","message":"GET /devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2? 200 11ms","method":"GET","requestID":"20387f06d3471df6c396810d7f955812","responseTime":11,"status":200,"url":"/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2? 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":"20387f06d3471df6c396810d7f955812"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3NX0.mOApLK2ud0GnFa4In7ZvoW-2y7lBiJPbZg_rdHePr_E","level":"info","message":"auth send jwt","requestID":"92283d570008541d24606a19dc3723fb"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"92283d570008541d24606a19dc3723fb","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"92283d570008541d24606a19dc3723fb"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":909,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":909,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.704052,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"92283d570008541d24606a19dc3723fb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072575,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3NX0.mOApLK2ud0GnFa4In7ZvoW-2y7lBiJPbZg_rdHePr_E"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"92283d570008541d24606a19dc3723fb","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214"},"level":"info","message":"Attempting to run experiment","requestID":"92283d570008541d24606a19dc3723fb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214"},"level":"info","message":"Attempting to book experiment","requestID":"92283d570008541d24606a19dc3723fb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214"},"level":"info","message":"Successfully booked experiment","requestID":"92283d570008541d24606a19dc3723fb"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e2416a50-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e2419160-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":910,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":910,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.585991,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":911,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e2416a50-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072575,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3NX0.mOApLK2ud0GnFa4In7ZvoW-2y7lBiJPbZg_rdHePr_E"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e2416a50-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":911,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.713895,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e2419160-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072575,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3NX0.mOApLK2ud0GnFa4In7ZvoW-2y7lBiJPbZg_rdHePr_E"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"e2419160-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb12ff86a-8265-47e4-a7b9-9ef590b8a720","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb12ff86a-8265-47e4-a7b9-9ef590b8a720","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:13.586028739Z"}]},"request_id":"ae42f3e5-a8be-4a57-81f9-bb142abbc30e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072575.8685982} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"e2416a50-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd28903a-24f9-42f2-b14b-e9be6bd136e2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd28903a-24f9-42f2-b14b-e9be6bd136e2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:13.630498816Z"}]},"request_id":"4d65f8f4-8861-4eea-a2e3-5f9d2ead9266","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072575.8693428} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"e2419160-8ba4-11ef-a62f-5f7f958aa687","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e2416a50-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720? 200 12ms","method":"GET","requestID":"e2416a50-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e2419160-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2? 200 11ms","method":"GET","requestID":"e2419160-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214"},"level":"info","message":"Setting up experiment","requestID":"92283d570008541d24606a19dc3723fb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"92283d570008541d24606a19dc3723fb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214"},"level":"info","message":"Successfully locked booking for experiment","requestID":"92283d570008541d24606a19dc3723fb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"92283d570008541d24606a19dc3723fb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"92283d570008541d24606a19dc3723fb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214"},"level":"info","message":"Attempting to update booking for experiment","requestID":"92283d570008541d24606a19dc3723fb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214"},"level":"info","message":"Successfully updated booking for experiment","requestID":"92283d570008541d24606a19dc3723fb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214"},"level":"info","message":"Successfully set up experiment","requestID":"92283d570008541d24606a19dc3723fb"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e2495990-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e249a7b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e249f5d0-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214"},"level":"info","message":"Successfully running experiment","requestID":"92283d570008541d24606a19dc3723fb"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":912,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":912,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.818123,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":913,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e2495990-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072575,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3NX0.mOApLK2ud0GnFa4In7ZvoW-2y7lBiJPbZg_rdHePr_E"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e2495990-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":913,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.605629,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"client_addr":"127.0.0.1:57716","level":"info","msg":"Received request.","req_id":914,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e249a7b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072575,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3NX0.mOApLK2ud0GnFa4In7ZvoW-2y7lBiJPbZg_rdHePr_E"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"e249a7b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57716","level":"info","msg":"Sent response.","req_id":914,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.959838,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb12ff86a-8265-47e4-a7b9-9ef590b8a720","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ce604e72-61ba-4b4a-8ed4-0320bc2b6445","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072575.9253254} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e249f5d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720","object_type":"device","rebac_allow":false,"scope_allow":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":"e249f5d0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb12ff86a-8265-47e4-a7b9-9ef590b8a720","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb12ff86a-8265-47e4-a7b9-9ef590b8a720","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:13.586028739Z"}]},"request_id":"8171332e-776a-4d1c-8775-d0185ad3d415","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072575.929312} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd28903a-24f9-42f2-b14b-e9be6bd136e2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd28903a-24f9-42f2-b14b-e9be6bd136e2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:13.630498816Z"}]},"request_id":"866c45c7-e0e9-4c6b-be21-8ec194509302","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072575.9310899} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"e2495990-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"e249a7b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e249f5d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720/signaling 200 21ms","method":"POST","requestID":"e249f5d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":21,"status":200,"url":"/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e2495990-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720? 200 27ms","method":"GET","requestID":"e2495990-8ba4-11ef-a62f-5f7f958aa687","responseTime":27,"status":200,"url":"/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e249a7b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2? 200 25ms","method":"GET","requestID":"e249a7b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":25,"status":200,"url":"/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e24d9f50-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e24ded70-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":915,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":916,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":915,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.827335,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd28903a-24f9-42f2-b14b-e9be6bd136e2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b1a2600e-261f-4797-a8d8-60919eb1d114","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072575.9458363} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e24d9f50-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2","object_type":"device","rebac_allow":false,"scope_allow":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":"e24d9f50-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":916,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.456456,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fab5b31ce-1f0f-404a-9485-8449d21bb214#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fab5b31ce-1f0f-404a-9485-8449d21bb214","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"e835347b-8b10-45d8-b8fd-31649913a4be","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072575.9484708} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb12ff86a-8265-47e4-a7b9-9ef590b8a720","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"66f990f4-c9f1-40c1-aed6-2bc4d202717d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072575.9486077} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6d1f2643-acf6-43c3-869f-a11d7cf7c10a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072575.948857} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e24ded70-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720","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":"e24d9f50-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"e24ded70-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"POST /devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2/signaling 200 11ms","method":"POST","requestID":"e24d9f50-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 29ms","method":"POST","requestID":"92283d570008541d24606a19dc3723fb","responseTime":29,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e24ded70-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720/signaling 200 12ms","method":"POST","requestID":"e24ded70-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720/signaling"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"92283d570008541d24606a19dc3723fb"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e2508580-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"level":"info","message":"POST /experiments? 201 129ms","method":"POST","requestID":"92283d570008541d24606a19dc3723fb","responseTime":129,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1288","request_time":"0.132","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"92283d570008541d24606a19dc3723fb"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":917,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd28903a-24f9-42f2-b14b-e9be6bd136e2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2349f2a3-6a5c-415c-a2a4-4c27feadb6ce","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072575.9645534} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3NX0.mOApLK2ud0GnFa4In7ZvoW-2y7lBiJPbZg_rdHePr_E","level":"info","message":"auth send jwt","requestID":"6c12f638c05c4c70a31e27c64a6dd1c6"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":917,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.783733,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:15Z"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"6c12f638c05c4c70a31e27c64a6dd1c6","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e2508580-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2","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":"getDevicesByDeviceId called","requestID":"6c12f638c05c4c70a31e27c64a6dd1c6"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e2508580-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":918,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":918,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.122548,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:15Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e2508580-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2/signaling 200 10ms","method":"POST","requestID":"e2508580-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2/signaling"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"6c12f638c05c4c70a31e27c64a6dd1c6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072575,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3NX0.mOApLK2ud0GnFa4In7ZvoW-2y7lBiJPbZg_rdHePr_E"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6c12f638c05c4c70a31e27c64a6dd1c6","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"92283d570008541d24606a19dc3723fb"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e2528150-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e252a860-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb12ff86a-8265-47e4-a7b9-9ef590b8a720","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb12ff86a-8265-47e4-a7b9-9ef590b8a720","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:13.586028739Z"}]},"request_id":"c1c303eb-1f1a-40d7-b86e-2e991650eaff","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072575.9752815} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6c12f638c05c4c70a31e27c64a6dd1c6","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":919,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":919,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.859929,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":920,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:15Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6c12f638c05c4c70a31e27c64a6dd1c6"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e2528150-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072575,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3NX0.mOApLK2ud0GnFa4In7ZvoW-2y7lBiJPbZg_rdHePr_E"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e2528150-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:56:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720? 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":"6c12f638c05c4c70a31e27c64a6dd1c6"} device-1 | {"level":"info","message":"GET /devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720? 200 13ms","method":"GET","requestID":"6c12f638c05c4c70a31e27c64a6dd1c6","responseTime":13,"status":200,"url":"/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720?"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":920,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.856381,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e252a860-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072575,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3NX0.mOApLK2ud0GnFa4In7ZvoW-2y7lBiJPbZg_rdHePr_E"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e252a860-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb12ff86a-8265-47e4-a7b9-9ef590b8a720","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb12ff86a-8265-47e4-a7b9-9ef590b8a720","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:13.586028739Z"}]},"request_id":"1e47541e-2226-46fb-93ed-500879044073","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072575.9833205} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3NX0.mOApLK2ud0GnFa4In7ZvoW-2y7lBiJPbZg_rdHePr_E","level":"info","message":"auth send jwt","requestID":"71c3f976050ce174bd4653de7a37565a"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e2528150-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"71c3f976050ce174bd4653de7a37565a","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd28903a-24f9-42f2-b14b-e9be6bd136e2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd28903a-24f9-42f2-b14b-e9be6bd136e2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:13.630498816Z"}]},"request_id":"78a33500-2a0d-4a7c-89aa-cbcf0d2bd895","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072575.9843533} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e252a860-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"71c3f976050ce174bd4653de7a37565a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":921,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:15Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e2528150-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720? 200 17ms","method":"GET","requestID":"e2528150-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":921,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.855175,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:15Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e252a860-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2? 200 17ms","method":"GET","requestID":"e252a860-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"71c3f976050ce174bd4653de7a37565a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072575,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3NX0.mOApLK2ud0GnFa4In7ZvoW-2y7lBiJPbZg_rdHePr_E"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"71c3f976050ce174bd4653de7a37565a","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214"},"level":"info","message":"Building connection plan","requestID":"92283d570008541d24606a19dc3723fb"} 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":"cea69a6d-257a-45f2-8b06-f51781dcaeb9"},{"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":"84f1ab6a-c0b3-4e68-bb36-e7f1bee5cbc7"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"3b1a92f8-529b-4dcb-a23d-fdc860debca0"}]},"level":"info","message":"Built pairwise service configurations","requestID":"92283d570008541d24606a19dc3723fb"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"e255b5a0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"e255b5a0-8ba4-11ef-a042-213954f0282b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd28903a-24f9-42f2-b14b-e9be6bd136e2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd28903a-24f9-42f2-b14b-e9be6bd136e2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:13.630498816Z"}]},"request_id":"812e0a26-b1da-488d-8fa5-342735d961c5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072575.9949555} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"e255b5a0-8ba4-11ef-a042-213954f0282b","responseTime":1,"status":201,"url":"/rooms"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"71c3f976050ce174bd4653de7a37565a","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/493238ee-c23e-489f-8198-7a5540478dcd?id=51be20c1-797e-4421-ab7d-f33282f51fed","ws://localhost/rooms/493238ee-c23e-489f-8198-7a5540478dcd?id=2799aa9a-2353-4caa-8fe2-5fefccc9c99b"]},"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/dd28903a-24f9-42f2-b14b-e9be6bd136e2"},{"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/b12ff86a-8265-47e4-a7b9-9ef590b8a720"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"92283d570008541d24606a19dc3723fb"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"e25651e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"71c3f976050ce174bd4653de7a37565a"} device-1 | {"level":"info","message":"GET /devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2? 200 14ms","method":"GET","requestID":"71c3f976050ce174bd4653de7a37565a","responseTime":14,"status":200,"url":"/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2? 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":"71c3f976050ce174bd4653de7a37565a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":922,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":922,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.701493,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e25651e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072575,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3NX0.mOApLK2ud0GnFa4In7ZvoW-2y7lBiJPbZg_rdHePr_E"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e25651e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"be097210-b0f2-468f-81e2-9a790080d154","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072576.0099692} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"10038d15-959d-442e-93a6-dcf2b473bb5e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072576.0102296} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"e25651e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"e25651e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"e25651e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/f6c62570-9de0-4ecd-8174-34a3457837f1'","requestID":"e25651e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/f6c62570-9de0-4ecd-8174-34a3457837f1'","requestID":"e25651e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"e25651e0-8ba4-11ef-a62f-5f7f958aa687"} 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":"e25651e0-8ba4-11ef-a62f-5f7f958aa687","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":"e25651e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/f6c62570-9de0-4ecd-8174-34a3457837f1' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"f6c62570-9de0-4ecd-8174-34a3457837f1","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"e25bf730-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"2799aa9a-2353-4caa-8fe2-5fefccc9c99b\" in room \"http://localhost/rooms/493238ee-c23e-489f-8198-7a5540478dcd\"","requestID":"e25bf730-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"e25bf730-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"e25c4550-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"51be20c1-797e-4421-ab7d-f33282f51fed\" in room \"http://localhost/rooms/493238ee-c23e-489f-8198-7a5540478dcd\"","requestID":"e25c4550-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"e25c4550-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"51be20c1-797e-4421-ab7d-f33282f51fed\" in room \"http://localhost/rooms/493238ee-c23e-489f-8198-7a5540478dcd\""} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b29e02aec67cfbff9db446403e0c7f62","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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 \"51be20c1-797e-4421-ab7d-f33282f51fed\" in room \"http://localhost/rooms/493238ee-c23e-489f-8198-7a5540478dcd\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"51be20c1-797e-4421-ab7d-f33282f51fed\" in room \"http://localhost/rooms/493238ee-c23e-489f-8198-7a5540478dcd\""} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"b29e02aec67cfbff9db446403e0c7f62","responseTime":1,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"51be20c1-797e-4421-ab7d-f33282f51fed\" in room \"http://localhost/rooms/493238ee-c23e-489f-8198-7a5540478dcd\""} 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":"new","url":"http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2"},{"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/b12ff86a-8265-47e4-a7b9-9ef590b8a720"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/f6c62570-9de0-4ecd-8174-34a3457837f1"}}},"level":"info","message":"received a callback","requestID":"b29e02aec67cfbff9db446403e0c7f62"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"51be20c1-797e-4421-ab7d-f33282f51fed\" in room \"http://localhost/rooms/493238ee-c23e-489f-8198-7a5540478dcd\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"51be20c1-797e-4421-ab7d-f33282f51fed\" in room \"http://localhost/rooms/493238ee-c23e-489f-8198-7a5540478dcd\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"51be20c1-797e-4421-ab7d-f33282f51fed\" in room \"http://localhost/rooms/493238ee-c23e-489f-8198-7a5540478dcd\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"51be20c1-797e-4421-ab7d-f33282f51fed\" in room \"http://localhost/rooms/493238ee-c23e-489f-8198-7a5540478dcd\""} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 9ms","method":"POST","requestID":"b29e02aec67cfbff9db446403e0c7f62","responseTime":9,"status":200,"url":"/callbacks/experiment"} device-1 | {"data":{"peerconnection":"f6c62570-9de0-4ecd-8174-34a3457837f1","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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":"b29e02aec67cfbff9db446403e0c7f62"} device-1 | {"data":{"peerconnection":"f6c62570-9de0-4ecd-8174-34a3457837f1","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"92283d570008541d24606a19dc3723fb"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e260b220-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":923,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb12ff86a-8265-47e4-a7b9-9ef590b8a720","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c1a00d4c-b223-474d-9b00-0d71ff9a3a8d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072576.0710728} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":923,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.556097,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e260b220-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720","object_type":"device","rebac_allow":false,"scope_allow":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":"e260b220-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/f6c62570-9de0-4ecd-8174-34a3457837f1' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"f6c62570-9de0-4ecd-8174-34a3457837f1","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e260b220-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720/signaling 200 10ms","method":"POST","requestID":"e260b220-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720/signaling"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7a7c141a0d32ef2e027701e33b7ad24a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"7a7c141a0d32ef2e027701e33b7ad24a","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e26286e0-8ba4-11ef-a62f-5f7f958aa687"} 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/dd28903a-24f9-42f2-b14b-e9be6bd136e2"},{"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/b12ff86a-8265-47e4-a7b9-9ef590b8a720"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/f6c62570-9de0-4ecd-8174-34a3457837f1"}}},"level":"info","message":"received a callback","requestID":"7a7c141a0d32ef2e027701e33b7ad24a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":924,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd28903a-24f9-42f2-b14b-e9be6bd136e2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b236edc2-1f6c-4cdb-b8ca-2efb74bff62b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072576.0826395} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":924,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.359316,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e26286e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2","object_type":"device","rebac_allow":false,"scope_allow":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":"e26286e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"e2637140-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":925,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:16Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e26286e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2/signaling 200 9ms","method":"POST","requestID":"e26286e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ff6c62570-9de0-4ecd-8174-34a3457837f1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"aa96f794-1667-4fc8-96dd-8db454aa7de7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072576.0880878} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":925,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.247831,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/f6c62570-9de0-4ecd-8174-34a3457837f1","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e2637140-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/f6c62570-9de0-4ecd-8174-34a3457837f1","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":"e2637140-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"e2637140-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/f6c62570-9de0-4ecd-8174-34a3457837f1 200 7ms","method":"GET","requestID":"e2637140-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/peerconnections/f6c62570-9de0-4ecd-8174-34a3457837f1"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 28ms","method":"POST","requestID":"7a7c141a0d32ef2e027701e33b7ad24a","responseTime":28,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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":"7a7c141a0d32ef2e027701e33b7ad24a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e266f3b0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":926,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd28903a-24f9-42f2-b14b-e9be6bd136e2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bd3f0bbd-6fc3-4d4a-8144-2042f4947988","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072576.1121438} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":926,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.366621,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e266f3b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2","object_type":"device","rebac_allow":false,"scope_allow":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":"e266f3b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e266f3b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2/signaling 200 9ms","method":"POST","requestID":"e266f3b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e268a160-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":927,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb12ff86a-8265-47e4-a7b9-9ef590b8a720","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"eabe1ab3-ef3f-4a05-a788-87c1e8bb60bb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072576.1218622} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":927,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.227601,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e268a160-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720","object_type":"device","rebac_allow":false,"scope_allow":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":"e268a160-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e268a160-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720/signaling 200 7ms","method":"POST","requestID":"e268a160-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3Nn0.xs2RhorXtTsuQrR95ilSY69e4rN1IChyOlghAngG1Xs","level":"info","message":"auth send jwt","requestID":"172c5bf52ad6c0dfd86809588cfbf5f4"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"172c5bf52ad6c0dfd86809588cfbf5f4","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214","requestID":"172c5bf52ad6c0dfd86809588cfbf5f4"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":928,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":928,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.836028,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"172c5bf52ad6c0dfd86809588cfbf5f4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072576,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3Nn0.xs2RhorXtTsuQrR95ilSY69e4rN1IChyOlghAngG1Xs"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"172c5bf52ad6c0dfd86809588cfbf5f4","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214","requestID":"172c5bf52ad6c0dfd86809588cfbf5f4"} gateway-1 | {"time_local":"16/Oct/2024:09:56:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214 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":"172c5bf52ad6c0dfd86809588cfbf5f4"} experiment-1 | {"level":"info","message":"GET /experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214 200 9ms","method":"GET","requestID":"172c5bf52ad6c0dfd86809588cfbf5f4","responseTime":9,"status":200,"url":"/experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3Nn0.xs2RhorXtTsuQrR95ilSY69e4rN1IChyOlghAngG1Xs","level":"info","message":"auth send jwt","requestID":"cf26aa0c9c7540154bf912d5373a4267"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"cf26aa0c9c7540154bf912d5373a4267","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214","requestID":"cf26aa0c9c7540154bf912d5373a4267"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":929,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":929,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.019537,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cf26aa0c9c7540154bf912d5373a4267","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072576,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3Nn0.xs2RhorXtTsuQrR95ilSY69e4rN1IChyOlghAngG1Xs"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"cf26aa0c9c7540154bf912d5373a4267","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214"},"level":"info","message":"Attempting to finish experiment","requestID":"cf26aa0c9c7540154bf912d5373a4267"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"e2712ce0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":930,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":930,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.816353,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/f6c62570-9de0-4ecd-8174-34a3457837f1","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e2712ce0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/f6c62570-9de0-4ecd-8174-34a3457837f1","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072576,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3Nn0.xs2RhorXtTsuQrR95ilSY69e4rN1IChyOlghAngG1Xs"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e2712ce0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/f6c62570-9de0-4ecd-8174-34a3457837f1","device":"b12ff86a-8265-47e4-a7b9-9ef590b8a720","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/f6c62570-9de0-4ecd-8174-34a3457837f1","device":"dd28903a-24f9-42f2-b14b-e9be6bd136e2","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} gateway-1 | {"time_local":"16/Oct/2024:09:56:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/493238ee-c23e-489f-8198-7a5540478dcd?id=51be20c1-797e-4421-ab7d-f33282f51fed HTTP/1.1","status": "101","body_bytes_sent":"874","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":"22204741ce8e227ee3b82e7c45200a68"} gateway-1 | {"time_local":"16/Oct/2024:09:56:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/493238ee-c23e-489f-8198-7a5540478dcd?id=2799aa9a-2353-4caa-8fe2-5fefccc9c99b HTTP/1.1","status": "101","body_bytes_sent":"2","request_time":"0.151","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"d5b8e5abe6f9d4f7ea6d517f1812eb94"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"51be20c1-797e-4421-ab7d-f33282f51fed\" in room \"http://localhost/rooms/493238ee-c23e-489f-8198-7a5540478dcd\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"51be20c1-797e-4421-ab7d-f33282f51fed\" from room \"http://localhost/rooms/493238ee-c23e-489f-8198-7a5540478dcd\", code: 1005, reason: "} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"2799aa9a-2353-4caa-8fe2-5fefccc9c99b\" in room \"http://localhost/rooms/493238ee-c23e-489f-8198-7a5540478dcd\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"2799aa9a-2353-4caa-8fe2-5fefccc9c99b\" from room \"http://localhost/rooms/493238ee-c23e-489f-8198-7a5540478dcd\", code: 1005, reason: "} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/f6c62570-9de0-4ecd-8174-34a3457837f1' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/f6c62570-9de0-4ecd-8174-34a3457837f1' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"f6c62570-9de0-4ecd-8174-34a3457837f1","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ff6c62570-9de0-4ecd-8174-34a3457837f1': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ff6c62570-9de0-4ecd-8174-34a3457837f1","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"a9c058c5-b3eb-4227-ad40-1d95afebf0ae","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072576.190372} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9798e28e-1340-4372-8ec9-79a160488394","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072576.1907196} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"216cd97030918b7f5a5a4107850b9c07","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"216cd97030918b7f5a5a4107850b9c07","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"e2712ce0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"3a9baca2468afb5dbd8e75942a1435f1","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2"},{"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/b12ff86a-8265-47e4-a7b9-9ef590b8a720"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/f6c62570-9de0-4ecd-8174-34a3457837f1"}}},"level":"info","message":"received a callback","requestID":"216cd97030918b7f5a5a4107850b9c07"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"3a9baca2468afb5dbd8e75942a1435f1","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":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2"},{"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/b12ff86a-8265-47e4-a7b9-9ef590b8a720"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/f6c62570-9de0-4ecd-8174-34a3457837f1"}}},"level":"info","message":"received a callback","requestID":"3a9baca2468afb5dbd8e75942a1435f1"} device-1 | {"data":{"peerconnection":"f6c62570-9de0-4ecd-8174-34a3457837f1","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2'"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"e2712ce0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/f6c62570-9de0-4ecd-8174-34a3457837f1 204 36ms","method":"DELETE","requestID":"e2712ce0-8ba4-11ef-a62f-5f7f958aa687","responseTime":36,"status":204,"url":"/peerconnections/f6c62570-9de0-4ecd-8174-34a3457837f1"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214"},"level":"info","message":"Successfully finished experiment","requestID":"cf26aa0c9c7540154bf912d5373a4267"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e2799150-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":931,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd28903a-24f9-42f2-b14b-e9be6bd136e2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bf917d30-4eef-452e-82dc-2bb428253b90","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072576.2339554} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":931,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.803966,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e2799150-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2","object_type":"device","rebac_allow":false,"scope_allow":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":"e2799150-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e2799150-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2/signaling 200 9ms","method":"POST","requestID":"e2799150-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/dd28903a-24f9-42f2-b14b-e9be6bd136e2/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fab5b31ce-1f0f-404a-9485-8449d21bb214': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fab5b31ce-1f0f-404a-9485-8449d21bb214","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"edd26eb4-3164-4e73-b0ba-613925eb4131","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072576.2396028} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"807418ed-d205-42c8-86c7-bdfa66648e4c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072576.2398784} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e27b3f00-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"cf26aa0c9c7540154bf912d5373a4267","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":932,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb12ff86a-8265-47e4-a7b9-9ef590b8a720","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b02b7173-6882-4fb8-aa65-4cbd50ceabe9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072576.2458067} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":932,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.881869,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e27b3f00-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720","object_type":"device","rebac_allow":false,"scope_allow":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":"e27b3f00-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e27b3f00-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720/signaling 200 11ms","method":"POST","requestID":"e27b3f00-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214","requestID":"cf26aa0c9c7540154bf912d5373a4267"} gateway-1 | {"time_local":"16/Oct/2024:09:56:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214 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":"cf26aa0c9c7540154bf912d5373a4267"} experiment-1 | {"level":"info","message":"DELETE /experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214 204 144ms","method":"DELETE","requestID":"cf26aa0c9c7540154bf912d5373a4267","responseTime":144,"status":204,"url":"/experiments/ab5b31ce-1f0f-404a-9485-8449d21bb214"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 116ms","method":"POST","requestID":"216cd97030918b7f5a5a4107850b9c07","responseTime":116,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.120","http_referrer":"","http_user_agent":"node-fetch","requestID":"216cd97030918b7f5a5a4107850b9c07"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 116ms","method":"POST","requestID":"3a9baca2468afb5dbd8e75942a1435f1","responseTime":116,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.121","http_referrer":"","http_user_agent":"node-fetch","requestID":"3a9baca2468afb5dbd8e75942a1435f1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3Nn0.xs2RhorXtTsuQrR95ilSY69e4rN1IChyOlghAngG1Xs","level":"info","message":"auth send jwt","requestID":"4888fb1ddf93a8e47b5960a1aa4db851"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"4888fb1ddf93a8e47b5960a1aa4db851","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"4888fb1ddf93a8e47b5960a1aa4db851"} gateway-1 | {"time_local":"16/Oct/2024:09:56:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1783","request_time":"0.627","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"4d40614ae21fdd6e397d1a70284b3029"} gateway-1 | {"time_local":"16/Oct/2024:09:56:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1782","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":"b08d256ddb22c70a624b34e818400470"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":933,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":933,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.873489,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"4888fb1ddf93a8e47b5960a1aa4db851","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072576,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3Nn0.xs2RhorXtTsuQrR95ilSY69e4rN1IChyOlghAngG1Xs"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"4888fb1ddf93a8e47b5960a1aa4db851","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/dd28903a-24f9-42f2-b14b-e9be6bd136e2' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/b12ff86a-8265-47e4-a7b9-9ef590b8a720' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5066d878-7184-43ca-be2f-c18a69b11893","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"db8ee93b-6724-405f-8e87-326ca0ea2ecd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072576.333064} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"4888fb1ddf93a8e47b5960a1aa4db851","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"65ada425-8f29-4f41-875f-031eb8923704","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072576.3375351} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"4888fb1ddf93a8e47b5960a1aa4db851","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5066d878-7184-43ca-be2f-c18a69b11893","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"335b2c6a-ddf9-461a-8a41-93c4989ee0dc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072576.3482459} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ad79133a-a336-410b-81c1-c7dc32f91021","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072576.348334} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"4888fb1ddf93a8e47b5960a1aa4db851","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5066d878-7184-43ca-be2f-c18a69b11893","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5066d878-7184-43ca-be2f-c18a69b11893","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:16.348221839Z"}]},"request_id":"a53004d9-695e-4917-b5dc-ff974cd2f243","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072576.3518226} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"4888fb1ddf93a8e47b5960a1aa4db851","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"4888fb1ddf93a8e47b5960a1aa4db851"} device-1 | {"level":"info","message":"POST /devices? 201 40ms","method":"POST","requestID":"4888fb1ddf93a8e47b5960a1aa4db851","responseTime":40,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.045","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4888fb1ddf93a8e47b5960a1aa4db851"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3Nn0.xs2RhorXtTsuQrR95ilSY69e4rN1IChyOlghAngG1Xs","level":"info","message":"auth send jwt","requestID":"5714ef0ba41c95102993b34b2b8c3067"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"5714ef0ba41c95102993b34b2b8c3067","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"5714ef0ba41c95102993b34b2b8c3067"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":934,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":934,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.683417,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"5714ef0ba41c95102993b34b2b8c3067","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072576,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3Nn0.xs2RhorXtTsuQrR95ilSY69e4rN1IChyOlghAngG1Xs"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5714ef0ba41c95102993b34b2b8c3067","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb09273ea-c25e-4b42-91a0-fe02c5c072d8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ed69ce06-42b4-4a64-ba40-46812e74e7b3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072576.375077} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5714ef0ba41c95102993b34b2b8c3067","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"95926046-80ac-4254-a8f0-f499e347a865","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072576.3790917} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"5714ef0ba41c95102993b34b2b8c3067","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb09273ea-c25e-4b42-91a0-fe02c5c072d8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"7baff807-7c91-4ae7-b1c3-83af3ae34aa6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072576.3887594} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e87a29b4-5e35-49d4-a43a-a4d49cc10620","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072576.3887928} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"5714ef0ba41c95102993b34b2b8c3067","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb09273ea-c25e-4b42-91a0-fe02c5c072d8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb09273ea-c25e-4b42-91a0-fe02c5c072d8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:16.388733742Z"}]},"request_id":"d1edd2b5-6dd2-40a9-8da3-dc95cb60b367","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072576.3929853} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5714ef0ba41c95102993b34b2b8c3067","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"5714ef0ba41c95102993b34b2b8c3067"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.041","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5714ef0ba41c95102993b34b2b8c3067"} device-1 | {"level":"info","message":"POST /devices? 201 37ms","method":"POST","requestID":"5714ef0ba41c95102993b34b2b8c3067","responseTime":37,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3Nn0.xs2RhorXtTsuQrR95ilSY69e4rN1IChyOlghAngG1Xs","level":"info","message":"auth send jwt","requestID":"a737f4f31d123cfda5db0be5b4529074"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"a737f4f31d123cfda5db0be5b4529074","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"a737f4f31d123cfda5db0be5b4529074"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":935,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":935,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.70051,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a737f4f31d123cfda5db0be5b4529074","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072576,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3Nn0.xs2RhorXtTsuQrR95ilSY69e4rN1IChyOlghAngG1Xs"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a737f4f31d123cfda5db0be5b4529074","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb09273ea-c25e-4b42-91a0-fe02c5c072d8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb09273ea-c25e-4b42-91a0-fe02c5c072d8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:16.388733742Z"}]},"request_id":"f360da14-e495-4a6c-b3bf-63b50cb3bdd1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072576.880168} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a737f4f31d123cfda5db0be5b4529074","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"44fd8272-b58a-4371-bd24-635e5e0bfe61","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072576.8846304} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"a737f4f31d123cfda5db0be5b4529074","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb09273ea-c25e-4b42-91a0-fe02c5c072d8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb09273ea-c25e-4b42-91a0-fe02c5c072d8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:16.388733742Z"}]},"request_id":"55d02d99-df91-4e2a-8001-60943d3f01f7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072576.8965218} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"a737f4f31d123cfda5db0be5b4529074","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"a737f4f31d123cfda5db0be5b4529074"} gateway-1 | {"time_local":"16/Oct/2024:09:56:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8 HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.032","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"a737f4f31d123cfda5db0be5b4529074"} device-1 | {"level":"info","message":"PATCH /devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8 200 28ms","method":"PATCH","requestID":"a737f4f31d123cfda5db0be5b4529074","responseTime":28,"status":200,"url":"/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3Nn0.xs2RhorXtTsuQrR95ilSY69e4rN1IChyOlghAngG1Xs","level":"info","message":"auth send jwt","requestID":"b012ccb00be06084703f07cdf1a24a91"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"b012ccb00be06084703f07cdf1a24a91","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"b012ccb00be06084703f07cdf1a24a91"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":936,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":936,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.16935,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:16Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b012ccb00be06084703f07cdf1a24a91","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072576,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3Nn0.xs2RhorXtTsuQrR95ilSY69e4rN1IChyOlghAngG1Xs"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b012ccb00be06084703f07cdf1a24a91","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"b012ccb00be06084703f07cdf1a24a91"} device-1 | {"level":"info","message":"POST /devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8/websocket 200 19ms","method":"POST","requestID":"b012ccb00be06084703f07cdf1a24a91","responseTime":19,"status":200,"url":"/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:56:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8/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.10","requestID":"b012ccb00be06084703f07cdf1a24a91"} device-1 | {"level":"info","message":"device 'http://localhost/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"67ea713a04ab641542566d8ca08e20bb","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"67ea713a04ab641542566d8ca08e20bb","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/5066d878-7184-43ca-be2f-c18a69b11893/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":"67ea713a04ab641542566d8ca08e20bb"} device-1 | {"level":"info","message":"OPTIONS /devices/5066d878-7184-43ca-be2f-c18a69b11893/websocket 200 1ms","method":"OPTIONS","requestID":"67ea713a04ab641542566d8ca08e20bb","responseTime":1,"status":200,"url":"/devices/5066d878-7184-43ca-be2f-c18a69b11893/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OH0._UUNw3Ncj7tKP97wXTUBoQDyItEOihbDPV9C5bc_xEk","level":"info","message":"auth send jwt","requestID":"0cd61d7a82977d4f4c612dbf2ff44fd5"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"0cd61d7a82977d4f4c612dbf2ff44fd5","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"0cd61d7a82977d4f4c612dbf2ff44fd5"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":937,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":937,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.266546,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/5066d878-7184-43ca-be2f-c18a69b11893","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0cd61d7a82977d4f4c612dbf2ff44fd5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5066d878-7184-43ca-be2f-c18a69b11893","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072578,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OH0._UUNw3Ncj7tKP97wXTUBoQDyItEOihbDPV9C5bc_xEk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0cd61d7a82977d4f4c612dbf2ff44fd5","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"0cd61d7a82977d4f4c612dbf2ff44fd5"} gateway-1 | {"time_local":"16/Oct/2024:09:56:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/5066d878-7184-43ca-be2f-c18a69b11893/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":"0cd61d7a82977d4f4c612dbf2ff44fd5"} device-1 | {"level":"info","message":"POST /devices/5066d878-7184-43ca-be2f-c18a69b11893/websocket 200 20ms","method":"POST","requestID":"0cd61d7a82977d4f4c612dbf2ff44fd5","responseTime":20,"status":200,"url":"/devices/5066d878-7184-43ca-be2f-c18a69b11893/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/5066d878-7184-43ca-be2f-c18a69b11893' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a9d4fa0e42b9d0fab880d8bb61b5404c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"a9d4fa0e42b9d0fab880d8bb61b5404c","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/5066d878-7184-43ca-be2f-c18a69b11893? 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":"a9d4fa0e42b9d0fab880d8bb61b5404c"} device-1 | {"level":"info","message":"OPTIONS /devices/5066d878-7184-43ca-be2f-c18a69b11893? 200 1ms","method":"OPTIONS","requestID":"a9d4fa0e42b9d0fab880d8bb61b5404c","responseTime":1,"status":200,"url":"/devices/5066d878-7184-43ca-be2f-c18a69b11893?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OH0._UUNw3Ncj7tKP97wXTUBoQDyItEOihbDPV9C5bc_xEk","level":"info","message":"auth send jwt","requestID":"f7218aa4b29d4ff7ba380b9a70f126dc"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"f7218aa4b29d4ff7ba380b9a70f126dc","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"f7218aa4b29d4ff7ba380b9a70f126dc"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":938,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":938,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.657881,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/5066d878-7184-43ca-be2f-c18a69b11893","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f7218aa4b29d4ff7ba380b9a70f126dc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5066d878-7184-43ca-be2f-c18a69b11893","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072578,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OH0._UUNw3Ncj7tKP97wXTUBoQDyItEOihbDPV9C5bc_xEk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f7218aa4b29d4ff7ba380b9a70f126dc","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5066d878-7184-43ca-be2f-c18a69b11893","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5066d878-7184-43ca-be2f-c18a69b11893","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:16.348221839Z"}]},"request_id":"c047bbda-dfc8-4520-861a-d6c7dbe4490e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.4943469} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f7218aa4b29d4ff7ba380b9a70f126dc","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"28ff00a5-7bd9-4909-97c9-48a45bfa44e4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.5012531} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"f7218aa4b29d4ff7ba380b9a70f126dc","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5066d878-7184-43ca-be2f-c18a69b11893","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5066d878-7184-43ca-be2f-c18a69b11893","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:16.348221839Z"}]},"request_id":"3a02ea89-9c86-4119-84a7-5d7b3cc05dd6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.5141027} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f7218aa4b29d4ff7ba380b9a70f126dc","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"f7218aa4b29d4ff7ba380b9a70f126dc"} gateway-1 | {"time_local":"16/Oct/2024:09:56:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/5066d878-7184-43ca-be2f-c18a69b11893? 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":"f7218aa4b29d4ff7ba380b9a70f126dc"} device-1 | {"level":"info","message":"PATCH /devices/5066d878-7184-43ca-be2f-c18a69b11893? 200 36ms","method":"PATCH","requestID":"f7218aa4b29d4ff7ba380b9a70f126dc","responseTime":36,"status":200,"url":"/devices/5066d878-7184-43ca-be2f-c18a69b11893?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OH0._UUNw3Ncj7tKP97wXTUBoQDyItEOihbDPV9C5bc_xEk","level":"info","message":"auth send jwt","requestID":"cea440add3acf0b2e77c54131ec803a3"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"cea440add3acf0b2e77c54131ec803a3","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cea440add3acf0b2e77c54131ec803a3"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":939,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":939,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.784041,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5066d878-7184-43ca-be2f-c18a69b11893","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cea440add3acf0b2e77c54131ec803a3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5066d878-7184-43ca-be2f-c18a69b11893","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072578,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OH0._UUNw3Ncj7tKP97wXTUBoQDyItEOihbDPV9C5bc_xEk"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"cea440add3acf0b2e77c54131ec803a3","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5066d878-7184-43ca-be2f-c18a69b11893","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5066d878-7184-43ca-be2f-c18a69b11893","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:16.348221839Z"}]},"request_id":"4ec7dcfb-5c24-4da0-9c60-f08c86cb1dcf","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.5421574} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"cea440add3acf0b2e77c54131ec803a3","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cea440add3acf0b2e77c54131ec803a3"} device-1 | {"level":"info","message":"GET /devices/5066d878-7184-43ca-be2f-c18a69b11893? 200 15ms","method":"GET","requestID":"cea440add3acf0b2e77c54131ec803a3","responseTime":15,"status":200,"url":"/devices/5066d878-7184-43ca-be2f-c18a69b11893?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/5066d878-7184-43ca-be2f-c18a69b11893? 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":"cea440add3acf0b2e77c54131ec803a3"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OH0._UUNw3Ncj7tKP97wXTUBoQDyItEOihbDPV9C5bc_xEk","level":"info","message":"auth send jwt","requestID":"c4a7ca90aa8d3e3214507bcc49f201ed"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c4a7ca90aa8d3e3214507bcc49f201ed","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c4a7ca90aa8d3e3214507bcc49f201ed"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":940,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":940,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.698451,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c4a7ca90aa8d3e3214507bcc49f201ed","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072578,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OH0._UUNw3Ncj7tKP97wXTUBoQDyItEOihbDPV9C5bc_xEk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c4a7ca90aa8d3e3214507bcc49f201ed","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb09273ea-c25e-4b42-91a0-fe02c5c072d8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb09273ea-c25e-4b42-91a0-fe02c5c072d8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:16.388733742Z"}]},"request_id":"8e38cfac-ff37-4140-bb05-7a759941a043","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.5634973} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c4a7ca90aa8d3e3214507bcc49f201ed","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c4a7ca90aa8d3e3214507bcc49f201ed"} device-1 | {"level":"info","message":"GET /devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8? 200 13ms","method":"GET","requestID":"c4a7ca90aa8d3e3214507bcc49f201ed","responseTime":13,"status":200,"url":"/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8? 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":"c4a7ca90aa8d3e3214507bcc49f201ed"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OH0._UUNw3Ncj7tKP97wXTUBoQDyItEOihbDPV9C5bc_xEk","level":"info","message":"auth send jwt","requestID":"a4b0e90c2072635eb0e77aa1cdf6af11"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a4b0e90c2072635eb0e77aa1cdf6af11","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"a4b0e90c2072635eb0e77aa1cdf6af11"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":941,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":941,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.355847,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a4b0e90c2072635eb0e77aa1cdf6af11","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072578,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OH0._UUNw3Ncj7tKP97wXTUBoQDyItEOihbDPV9C5bc_xEk"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"a4b0e90c2072635eb0e77aa1cdf6af11","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/840f6b82-5765-4594-987b-d79c4aa862b1"},"level":"info","message":"Attempting to run experiment","requestID":"a4b0e90c2072635eb0e77aa1cdf6af11"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/840f6b82-5765-4594-987b-d79c4aa862b1"},"level":"info","message":"Attempting to book experiment","requestID":"a4b0e90c2072635eb0e77aa1cdf6af11"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/840f6b82-5765-4594-987b-d79c4aa862b1"},"level":"info","message":"Successfully booked experiment","requestID":"a4b0e90c2072635eb0e77aa1cdf6af11"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e3e640b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e3e68ed0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":942,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":942,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.621789,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":943,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5066d878-7184-43ca-be2f-c18a69b11893","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e3e640b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5066d878-7184-43ca-be2f-c18a69b11893","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072578,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OH0._UUNw3Ncj7tKP97wXTUBoQDyItEOihbDPV9C5bc_xEk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e3e640b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":943,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.655446,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e3e68ed0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072578,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OH0._UUNw3Ncj7tKP97wXTUBoQDyItEOihbDPV9C5bc_xEk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e3e68ed0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5066d878-7184-43ca-be2f-c18a69b11893","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5066d878-7184-43ca-be2f-c18a69b11893","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:16.348221839Z"}]},"request_id":"4b389bcb-5f52-48b0-944b-d211fbfde3a6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.627309} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e3e640b0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb09273ea-c25e-4b42-91a0-fe02c5c072d8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb09273ea-c25e-4b42-91a0-fe02c5c072d8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:16.388733742Z"}]},"request_id":"060b9515-a6e9-49b3-b6a2-21b1cd22f227","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.6278117} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"e3e68ed0-8ba4-11ef-a62f-5f7f958aa687","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e3e640b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/5066d878-7184-43ca-be2f-c18a69b11893? 200 15ms","method":"GET","requestID":"e3e640b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/5066d878-7184-43ca-be2f-c18a69b11893?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e3e68ed0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8? 200 14ms","method":"GET","requestID":"e3e68ed0-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/840f6b82-5765-4594-987b-d79c4aa862b1"},"level":"info","message":"Setting up experiment","requestID":"a4b0e90c2072635eb0e77aa1cdf6af11"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/840f6b82-5765-4594-987b-d79c4aa862b1"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"a4b0e90c2072635eb0e77aa1cdf6af11"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/840f6b82-5765-4594-987b-d79c4aa862b1"},"level":"info","message":"Successfully locked booking for experiment","requestID":"a4b0e90c2072635eb0e77aa1cdf6af11"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/840f6b82-5765-4594-987b-d79c4aa862b1"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"a4b0e90c2072635eb0e77aa1cdf6af11"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/840f6b82-5765-4594-987b-d79c4aa862b1"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"a4b0e90c2072635eb0e77aa1cdf6af11"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/840f6b82-5765-4594-987b-d79c4aa862b1"},"level":"info","message":"Attempting to update booking for experiment","requestID":"a4b0e90c2072635eb0e77aa1cdf6af11"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/840f6b82-5765-4594-987b-d79c4aa862b1"},"level":"info","message":"Successfully updated booking for experiment","requestID":"a4b0e90c2072635eb0e77aa1cdf6af11"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/840f6b82-5765-4594-987b-d79c4aa862b1"},"level":"info","message":"Successfully set up experiment","requestID":"a4b0e90c2072635eb0e77aa1cdf6af11"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e3f13d30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e3f18b50-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e3f1b260-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/840f6b82-5765-4594-987b-d79c4aa862b1"},"level":"info","message":"Successfully running experiment","requestID":"a4b0e90c2072635eb0e77aa1cdf6af11"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":944,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":944,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.943447,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":945,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5066d878-7184-43ca-be2f-c18a69b11893","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e3f13d30-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5066d878-7184-43ca-be2f-c18a69b11893","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072578,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OH0._UUNw3Ncj7tKP97wXTUBoQDyItEOihbDPV9C5bc_xEk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e3f13d30-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":945,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.800821,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"client_addr":"127.0.0.1:57716","level":"info","msg":"Received request.","req_id":946,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e3f18b50-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072578,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OH0._UUNw3Ncj7tKP97wXTUBoQDyItEOihbDPV9C5bc_xEk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e3f18b50-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57716","level":"info","msg":"Sent response.","req_id":946,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.704349,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5066d878-7184-43ca-be2f-c18a69b11893","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6b1d3d0b-8c83-4765-a3b1-e1f34a9ea750","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.6989608} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5066d878-7184-43ca-be2f-c18a69b11893","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e3f1b260-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5066d878-7184-43ca-be2f-c18a69b11893","object_type":"device","rebac_allow":false,"scope_allow":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":"e3f1b260-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5066d878-7184-43ca-be2f-c18a69b11893","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5066d878-7184-43ca-be2f-c18a69b11893","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:16.348221839Z"}]},"request_id":"8436102b-11c7-4fcf-92ce-c8e0710084b1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.7019205} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e3f13d30-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb09273ea-c25e-4b42-91a0-fe02c5c072d8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb09273ea-c25e-4b42-91a0-fe02c5c072d8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:16.388733742Z"}]},"request_id":"1a32d25d-6dc1-48e2-b7d3-f69f76d2542f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.7040334} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"e3f18b50-8ba4-11ef-a62f-5f7f958aa687","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e3f1b260-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/5066d878-7184-43ca-be2f-c18a69b11893/signaling 200 12ms","method":"POST","requestID":"e3f1b260-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/5066d878-7184-43ca-be2f-c18a69b11893/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e3f42360-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e3f13d30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/5066d878-7184-43ca-be2f-c18a69b11893? 200 23ms","method":"GET","requestID":"e3f13d30-8ba4-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/5066d878-7184-43ca-be2f-c18a69b11893?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F840f6b82-5765-4594-987b-d79c4aa862b1#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F840f6b82-5765-4594-987b-d79c4aa862b1","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"ddd5539b-31af-4f78-8a76-a99a5647f455","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.7137067} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e3f18b50-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"18999f41-6ddd-4376-84df-08b93555cfda","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.7141147} device-1 | {"level":"info","message":"GET /devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8? 200 23ms","method":"GET","requestID":"e3f18b50-8ba4-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8?"} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"a4b0e90c2072635eb0e77aa1cdf6af11","responseTime":18,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb09273ea-c25e-4b42-91a0-fe02c5c072d8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5883cc4a-c247-461d-b143-b25177d45265","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.7172925} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":947,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":947,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.327227,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:18Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e3f55be0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e3f42360-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8","object_type":"device","rebac_allow":false,"scope_allow":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":"e3f42360-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":948,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:18Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e3f42360-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8/signaling 200 13ms","method":"POST","requestID":"e3f42360-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5066d878-7184-43ca-be2f-c18a69b11893","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b9d5eb29-afd7-43fc-8e84-b583cc0fa89c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.7240984} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":948,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.567144,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5066d878-7184-43ca-be2f-c18a69b11893","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e3f55be0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5066d878-7184-43ca-be2f-c18a69b11893","object_type":"device","rebac_allow":false,"scope_allow":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":"e3f55be0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/840f6b82-5765-4594-987b-d79c4aa862b1","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"a4b0e90c2072635eb0e77aa1cdf6af11"} gateway-1 | {"time_local":"16/Oct/2024:09:56:18 +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":"a4b0e90c2072635eb0e77aa1cdf6af11"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e3f55be0-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"level":"info","message":"POST /experiments? 201 153ms","method":"POST","requestID":"a4b0e90c2072635eb0e77aa1cdf6af11","responseTime":153,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"POST /devices/5066d878-7184-43ca-be2f-c18a69b11893/signaling 200 12ms","method":"POST","requestID":"e3f55be0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/5066d878-7184-43ca-be2f-c18a69b11893/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e3f7a5d0-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OH0._UUNw3Ncj7tKP97wXTUBoQDyItEOihbDPV9C5bc_xEk","level":"info","message":"auth send jwt","requestID":"f8be910a830959011d127d65c922b200"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"f8be910a830959011d127d65c922b200","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f8be910a830959011d127d65c922b200"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":949,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb09273ea-c25e-4b42-91a0-fe02c5c072d8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a21f8f6a-c5c6-4ac2-8e6d-5c984511f093","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.7386627} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":950,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":949,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.787238,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e3f7a5d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8","object_type":"device","rebac_allow":false,"scope_allow":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":"e3f7a5d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":950,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.982684,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5066d878-7184-43ca-be2f-c18a69b11893","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f8be910a830959011d127d65c922b200","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5066d878-7184-43ca-be2f-c18a69b11893","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072578,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OH0._UUNw3Ncj7tKP97wXTUBoQDyItEOihbDPV9C5bc_xEk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f8be910a830959011d127d65c922b200","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e3f7a5d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8/signaling 200 11ms","method":"POST","requestID":"e3f7a5d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8/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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5066d878-7184-43ca-be2f-c18a69b11893","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5066d878-7184-43ca-be2f-c18a69b11893","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:16.348221839Z"}]},"request_id":"c3f10976-257f-4ad5-a2a9-3290f4e426e6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.7453058} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/840f6b82-5765-4594-987b-d79c4aa862b1"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"a4b0e90c2072635eb0e77aa1cdf6af11"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f8be910a830959011d127d65c922b200","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e3f9c8b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e3fa16d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f8be910a830959011d127d65c922b200"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":951,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":951,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.239605,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:18Z"} device-1 | {"level":"info","message":"GET /devices/5066d878-7184-43ca-be2f-c18a69b11893? 200 15ms","method":"GET","requestID":"f8be910a830959011d127d65c922b200","responseTime":15,"status":200,"url":"/devices/5066d878-7184-43ca-be2f-c18a69b11893?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/5066d878-7184-43ca-be2f-c18a69b11893? 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":"f8be910a830959011d127d65c922b200"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5066d878-7184-43ca-be2f-c18a69b11893","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e3f9c8b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5066d878-7184-43ca-be2f-c18a69b11893","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072578,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OH0._UUNw3Ncj7tKP97wXTUBoQDyItEOihbDPV9C5bc_xEk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e3f9c8b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":952,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":952,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.395806,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e3fa16d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072578,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OH0._UUNw3Ncj7tKP97wXTUBoQDyItEOihbDPV9C5bc_xEk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e3fa16d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OH0._UUNw3Ncj7tKP97wXTUBoQDyItEOihbDPV9C5bc_xEk","level":"info","message":"auth send jwt","requestID":"6c28a5c0bd1aa1a552222cca6eb07395"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"6c28a5c0bd1aa1a552222cca6eb07395","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5066d878-7184-43ca-be2f-c18a69b11893","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5066d878-7184-43ca-be2f-c18a69b11893","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:16.348221839Z"}]},"request_id":"8220e157-f9af-44aa-b619-902fe66b1f24","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.7561698} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6c28a5c0bd1aa1a552222cca6eb07395"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e3f9c8b0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb09273ea-c25e-4b42-91a0-fe02c5c072d8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb09273ea-c25e-4b42-91a0-fe02c5c072d8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:16.388733742Z"}]},"request_id":"5d86b788-2982-4562-a366-b891698c9124","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.7571502} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e3fa16d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":953,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":953,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.768914,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"6c28a5c0bd1aa1a552222cca6eb07395","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072578,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OH0._UUNw3Ncj7tKP97wXTUBoQDyItEOihbDPV9C5bc_xEk"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"6c28a5c0bd1aa1a552222cca6eb07395","responseTime":2,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e3f9c8b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/5066d878-7184-43ca-be2f-c18a69b11893? 200 15ms","method":"GET","requestID":"e3f9c8b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/5066d878-7184-43ca-be2f-c18a69b11893?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e3fa16d0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb09273ea-c25e-4b42-91a0-fe02c5c072d8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb09273ea-c25e-4b42-91a0-fe02c5c072d8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:16.388733742Z"}]},"request_id":"c7d2c654-2ed8-4592-a2b7-50c8c2862c65","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.763438} device-1 | {"level":"info","message":"GET /devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8? 200 14ms","method":"GET","requestID":"e3fa16d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8?"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"6c28a5c0bd1aa1a552222cca6eb07395","responseTime":2,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/840f6b82-5765-4594-987b-d79c4aa862b1"},"level":"info","message":"Building connection plan","requestID":"a4b0e90c2072635eb0e77aa1cdf6af11"} 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":"86e50472-6c18-494d-aa07-d26ffb22e4a5"},{"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":"39d33801-2fc2-4ce3-ace0-4b2be89c6d2a"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"b6118f43-42c9-4799-8edc-c345bfaaa51f"}]},"level":"info","message":"Built pairwise service configurations","requestID":"a4b0e90c2072635eb0e77aa1cdf6af11"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"e3fcaee0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"e3fcaee0-8ba4-11ef-a042-213954f0282b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6c28a5c0bd1aa1a552222cca6eb07395"} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"e3fcaee0-8ba4-11ef-a042-213954f0282b","responseTime":1,"status":201,"url":"/rooms"} gateway-1 | {"time_local":"16/Oct/2024:09:56:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8? 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":"6c28a5c0bd1aa1a552222cca6eb07395"} device-1 | {"level":"info","message":"GET /devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8? 200 10ms","method":"GET","requestID":"6c28a5c0bd1aa1a552222cca6eb07395","responseTime":10,"status":200,"url":"/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8?"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/2edd121b-3824-483f-aefe-eaca36b39bd8?id=123a839d-ad5e-4b65-8b4a-c731d4e59b19","ws://localhost/rooms/2edd121b-3824-483f-aefe-eaca36b39bd8?id=e778ca24-1176-4e45-a8dc-1df47d1f36f9"]},"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/b09273ea-c25e-4b42-91a0-fe02c5c072d8"},{"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/5066d878-7184-43ca-be2f-c18a69b11893"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"a4b0e90c2072635eb0e77aa1cdf6af11"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"e3fd2410-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":954,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":954,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.745448,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e3fd2410-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072578,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OH0._UUNw3Ncj7tKP97wXTUBoQDyItEOihbDPV9C5bc_xEk"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"e3fd2410-8ba4-11ef-a62f-5f7f958aa687","responseTime":2,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"f5a85419-6460-4c71-8c30-06244624fa58","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.7795768} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2c6a5556-8112-4d90-b6ca-f9a528377af6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.7797122} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"e3fd2410-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"e3fd2410-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"e3fd2410-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/2bcb416d-44f3-448a-9b63-5288e4340966'","requestID":"e3fd2410-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/2bcb416d-44f3-448a-9b63-5288e4340966'","requestID":"e3fd2410-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"e3fd2410-8ba4-11ef-a62f-5f7f958aa687"} 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":"e3fd2410-8ba4-11ef-a62f-5f7f958aa687","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":"e3fd2410-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/2bcb416d-44f3-448a-9b63-5288e4340966' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"2bcb416d-44f3-448a-9b63-5288e4340966","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"e402f070-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"123a839d-ad5e-4b65-8b4a-c731d4e59b19\" in room \"http://localhost/rooms/2edd121b-3824-483f-aefe-eaca36b39bd8\"","requestID":"e402f070-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"e402f070-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"61fa7d5d5f4c2d9fbda6a4271c20da88","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"61fa7d5d5f4c2d9fbda6a4271c20da88","responseTime":1,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"e4033e90-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"e778ca24-1176-4e45-a8dc-1df47d1f36f9\" in room \"http://localhost/rooms/2edd121b-3824-483f-aefe-eaca36b39bd8\"","requestID":"e4033e90-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"e4033e90-8ba4-11ef-a042-213954f0282b"} 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/b09273ea-c25e-4b42-91a0-fe02c5c072d8"},{"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/5066d878-7184-43ca-be2f-c18a69b11893"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/2bcb416d-44f3-448a-9b63-5288e4340966"}}},"level":"info","message":"received a callback","requestID":"61fa7d5d5f4c2d9fbda6a4271c20da88"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"123a839d-ad5e-4b65-8b4a-c731d4e59b19\" in room \"http://localhost/rooms/2edd121b-3824-483f-aefe-eaca36b39bd8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"123a839d-ad5e-4b65-8b4a-c731d4e59b19\" in room \"http://localhost/rooms/2edd121b-3824-483f-aefe-eaca36b39bd8\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"123a839d-ad5e-4b65-8b4a-c731d4e59b19\" in room \"http://localhost/rooms/2edd121b-3824-483f-aefe-eaca36b39bd8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"123a839d-ad5e-4b65-8b4a-c731d4e59b19\" in room \"http://localhost/rooms/2edd121b-3824-483f-aefe-eaca36b39bd8\""} device-1 | {"data":{"peerconnection":"2bcb416d-44f3-448a-9b63-5288e4340966","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 9ms","method":"POST","requestID":"61fa7d5d5f4c2d9fbda6a4271c20da88","responseTime":9,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.012","http_referrer":"","http_user_agent":"node-fetch","requestID":"61fa7d5d5f4c2d9fbda6a4271c20da88"} device-1 | {"data":{"peerconnection":"2bcb416d-44f3-448a-9b63-5288e4340966","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/840f6b82-5765-4594-987b-d79c4aa862b1"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"a4b0e90c2072635eb0e77aa1cdf6af11"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e407f980-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":955,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5066d878-7184-43ca-be2f-c18a69b11893","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f13002ba-b9aa-476b-b715-7ffffe43a562","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.8444662} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":955,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.30053,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5066d878-7184-43ca-be2f-c18a69b11893","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e407f980-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5066d878-7184-43ca-be2f-c18a69b11893","object_type":"device","rebac_allow":false,"scope_allow":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":"e407f980-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/2bcb416d-44f3-448a-9b63-5288e4340966' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"2bcb416d-44f3-448a-9b63-5288e4340966","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a2c46d9e5c1b9f13b49e28be26c0cee8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"e407f980-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"a2c46d9e5c1b9f13b49e28be26c0cee8","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"POST /devices/5066d878-7184-43ca-be2f-c18a69b11893/signaling 200 9ms","method":"POST","requestID":"e407f980-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/5066d878-7184-43ca-be2f-c18a69b11893/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e409a730-8ba4-11ef-a62f-5f7f958aa687"} 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/b09273ea-c25e-4b42-91a0-fe02c5c072d8"},{"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/5066d878-7184-43ca-be2f-c18a69b11893"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/2bcb416d-44f3-448a-9b63-5288e4340966"}}},"level":"info","message":"received a callback","requestID":"a2c46d9e5c1b9f13b49e28be26c0cee8"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":956,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb09273ea-c25e-4b42-91a0-fe02c5c072d8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"13fe2bb6-e553-4aff-bae0-70bc9f06b37c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.8561244} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":956,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.489616,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:18Z"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"e40a6a80-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e409a730-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8","object_type":"device","rebac_allow":false,"scope_allow":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":"e409a730-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":957,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:18Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e409a730-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8/signaling 200 9ms","method":"POST","requestID":"e409a730-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F2bcb416d-44f3-448a-9b63-5288e4340966","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4566e910-753c-425c-af4f-0de84db8a16e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.8606586} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":957,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.428204,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/2bcb416d-44f3-448a-9b63-5288e4340966","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e40a6a80-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/2bcb416d-44f3-448a-9b63-5288e4340966","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":"e40a6a80-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"e40a6a80-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/2bcb416d-44f3-448a-9b63-5288e4340966 200 8ms","method":"GET","requestID":"e40a6a80-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/peerconnections/2bcb416d-44f3-448a-9b63-5288e4340966"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 25ms","method":"POST","requestID":"a2c46d9e5c1b9f13b49e28be26c0cee8","responseTime":25,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.029","http_referrer":"","http_user_agent":"node-fetch","requestID":"a2c46d9e5c1b9f13b49e28be26c0cee8"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e40d9ed0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":958,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb09273ea-c25e-4b42-91a0-fe02c5c072d8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f064650c-a1e1-4c78-8046-6272267ad67b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.8823977} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":958,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.671862,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e40d9ed0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8","object_type":"device","rebac_allow":false,"scope_allow":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":"e40d9ed0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e40d9ed0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8/signaling 200 9ms","method":"POST","requestID":"e40d9ed0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e40f4c80-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":959,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5066d878-7184-43ca-be2f-c18a69b11893","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ab58a50e-23a9-4096-8aba-c86da32310f6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.892222} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":959,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.233202,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5066d878-7184-43ca-be2f-c18a69b11893","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e40f4c80-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5066d878-7184-43ca-be2f-c18a69b11893","object_type":"device","rebac_allow":false,"scope_allow":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":"e40f4c80-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e40f4c80-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/5066d878-7184-43ca-be2f-c18a69b11893/signaling 200 8ms","method":"POST","requestID":"e40f4c80-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/5066d878-7184-43ca-be2f-c18a69b11893/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OH0._UUNw3Ncj7tKP97wXTUBoQDyItEOihbDPV9C5bc_xEk","level":"info","message":"auth send jwt","requestID":"e477d2b10c5154cedfde3389bcffc4a9"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e477d2b10c5154cedfde3389bcffc4a9","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/840f6b82-5765-4594-987b-d79c4aa862b1","requestID":"e477d2b10c5154cedfde3389bcffc4a9"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":960,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":960,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.716648,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/840f6b82-5765-4594-987b-d79c4aa862b1","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e477d2b10c5154cedfde3389bcffc4a9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/840f6b82-5765-4594-987b-d79c4aa862b1","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072578,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OH0._UUNw3Ncj7tKP97wXTUBoQDyItEOihbDPV9C5bc_xEk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e477d2b10c5154cedfde3389bcffc4a9","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/840f6b82-5765-4594-987b-d79c4aa862b1","requestID":"e477d2b10c5154cedfde3389bcffc4a9"} experiment-1 | {"level":"info","message":"GET /experiments/840f6b82-5765-4594-987b-d79c4aa862b1 200 10ms","method":"GET","requestID":"e477d2b10c5154cedfde3389bcffc4a9","responseTime":10,"status":200,"url":"/experiments/840f6b82-5765-4594-987b-d79c4aa862b1"} gateway-1 | {"time_local":"16/Oct/2024:09:56:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/840f6b82-5765-4594-987b-d79c4aa862b1 HTTP/1.1","status": "200","body_bytes_sent":"1365","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e477d2b10c5154cedfde3389bcffc4a9"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OH0._UUNw3Ncj7tKP97wXTUBoQDyItEOihbDPV9C5bc_xEk","level":"info","message":"auth send jwt","requestID":"04c2a2cd4815915174ca9b54849c74df"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"04c2a2cd4815915174ca9b54849c74df","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/840f6b82-5765-4594-987b-d79c4aa862b1","requestID":"04c2a2cd4815915174ca9b54849c74df"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":961,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":961,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.917671,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/840f6b82-5765-4594-987b-d79c4aa862b1","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"04c2a2cd4815915174ca9b54849c74df","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/840f6b82-5765-4594-987b-d79c4aa862b1","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072578,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OH0._UUNw3Ncj7tKP97wXTUBoQDyItEOihbDPV9C5bc_xEk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"04c2a2cd4815915174ca9b54849c74df","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/840f6b82-5765-4594-987b-d79c4aa862b1"},"level":"info","message":"Attempting to finish experiment","requestID":"04c2a2cd4815915174ca9b54849c74df"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"e417ff10-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":962,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":962,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.029013,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/2bcb416d-44f3-448a-9b63-5288e4340966","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e417ff10-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/2bcb416d-44f3-448a-9b63-5288e4340966","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072578,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OH0._UUNw3Ncj7tKP97wXTUBoQDyItEOihbDPV9C5bc_xEk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e417ff10-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:56:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/2edd121b-3824-483f-aefe-eaca36b39bd8?id=123a839d-ad5e-4b65-8b4a-c731d4e59b19 HTTP/1.1","status": "101","body_bytes_sent":"436","request_time":"0.154","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"aac828dd822ff9cbbe2100db6cd434f7"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"123a839d-ad5e-4b65-8b4a-c731d4e59b19\" in room \"http://localhost/rooms/2edd121b-3824-483f-aefe-eaca36b39bd8\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"123a839d-ad5e-4b65-8b4a-c731d4e59b19\" from room \"http://localhost/rooms/2edd121b-3824-483f-aefe-eaca36b39bd8\", code: 1006, reason: "} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/2bcb416d-44f3-448a-9b63-5288e4340966","device":"5066d878-7184-43ca-be2f-c18a69b11893","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/2bcb416d-44f3-448a-9b63-5288e4340966' to 'http://localhost/callbacks/experiment'"} gateway-1 | {"time_local":"16/Oct/2024:09:56:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/2edd121b-3824-483f-aefe-eaca36b39bd8?id=e778ca24-1176-4e45-a8dc-1df47d1f36f9 HTTP/1.1","status": "101","body_bytes_sent":"2","request_time":"0.153","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"8e3fb4dc63f2e21ba640993ba94810f2"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/2bcb416d-44f3-448a-9b63-5288e4340966' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"2bcb416d-44f3-448a-9b63-5288e4340966","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"e778ca24-1176-4e45-a8dc-1df47d1f36f9\" in room \"http://localhost/rooms/2edd121b-3824-483f-aefe-eaca36b39bd8\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"e778ca24-1176-4e45-a8dc-1df47d1f36f9\" from room \"http://localhost/rooms/2edd121b-3824-483f-aefe-eaca36b39bd8\", code: 1005, reason: "} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F2bcb416d-44f3-448a-9b63-5288e4340966': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F2bcb416d-44f3-448a-9b63-5288e4340966","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"bfccd09a-5dd5-4311-82ca-3ba23c0b4419","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.9645176} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f3acbd5dcb2b717c2a04b65eef86875c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5f50e835-75d9-4639-a98b-dd73317e0f22","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.964724} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"f3acbd5dcb2b717c2a04b65eef86875c","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"8134fe6c9e5118a360070ddc43e5cd60","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"e417ff10-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/relations/update"} 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/b09273ea-c25e-4b42-91a0-fe02c5c072d8"},{"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/5066d878-7184-43ca-be2f-c18a69b11893"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/2bcb416d-44f3-448a-9b63-5288e4340966"}}},"level":"info","message":"received a callback","requestID":"f3acbd5dcb2b717c2a04b65eef86875c"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"8134fe6c9e5118a360070ddc43e5cd60","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":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8"},{"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/5066d878-7184-43ca-be2f-c18a69b11893"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/2bcb416d-44f3-448a-9b63-5288e4340966"}}},"level":"info","message":"received a callback","requestID":"8134fe6c9e5118a360070ddc43e5cd60"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"e417ff10-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/2bcb416d-44f3-448a-9b63-5288e4340966 204 26ms","method":"DELETE","requestID":"e417ff10-8ba4-11ef-a62f-5f7f958aa687","responseTime":26,"status":204,"url":"/peerconnections/2bcb416d-44f3-448a-9b63-5288e4340966"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/5066d878-7184-43ca-be2f-c18a69b11893'"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/5066d878-7184-43ca-be2f-c18a69b11893'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/840f6b82-5765-4594-987b-d79c4aa862b1"},"level":"info","message":"Successfully finished experiment","requestID":"04c2a2cd4815915174ca9b54849c74df"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e41e8ec0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":963,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb09273ea-c25e-4b42-91a0-fe02c5c072d8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"15235b4b-a0ee-40ae-8d9b-22c8930e690c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072578.9941986} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":963,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.29577,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e41e8ec0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8","object_type":"device","rebac_allow":false,"scope_allow":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":"e41e8ec0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e41e8ec0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8/signaling 200 13ms","method":"POST","requestID":"e41e8ec0-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/b09273ea-c25e-4b42-91a0-fe02c5c072d8/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F840f6b82-5765-4594-987b-d79c4aa862b1': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F840f6b82-5765-4594-987b-d79c4aa862b1","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"5abef859-7807-4764-8d80-fb73fbd70b31","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072579.0014853} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a9ccb711-c264-4b73-8d6c-c061add6a7e1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072579.0019708} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"04c2a2cd4815915174ca9b54849c74df","responseTime":17,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e420ffc0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":964,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:19Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5066d878-7184-43ca-be2f-c18a69b11893","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"938f93f9-4a79-43f9-84ca-d84057358cd8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072579.0118783} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":964,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.257866,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5066d878-7184-43ca-be2f-c18a69b11893","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e420ffc0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5066d878-7184-43ca-be2f-c18a69b11893","object_type":"device","rebac_allow":false,"scope_allow":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":"e420ffc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e420ffc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/5066d878-7184-43ca-be2f-c18a69b11893/signaling 200 15ms","method":"POST","requestID":"e420ffc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/5066d878-7184-43ca-be2f-c18a69b11893/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/840f6b82-5765-4594-987b-d79c4aa862b1","requestID":"04c2a2cd4815915174ca9b54849c74df"} gateway-1 | {"time_local":"16/Oct/2024:09:56:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/840f6b82-5765-4594-987b-d79c4aa862b1 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":"04c2a2cd4815915174ca9b54849c74df"} experiment-1 | {"level":"info","message":"DELETE /experiments/840f6b82-5765-4594-987b-d79c4aa862b1 204 132ms","method":"DELETE","requestID":"04c2a2cd4815915174ca9b54849c74df","responseTime":132,"status":204,"url":"/experiments/840f6b82-5765-4594-987b-d79c4aa862b1"} gateway-1 | {"time_local":"16/Oct/2024:09:56:19 +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.138","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"b26ff0da59f1cfbb9271ee243a65795c"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 103ms","method":"POST","requestID":"f3acbd5dcb2b717c2a04b65eef86875c","responseTime":103,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.106","http_referrer":"","http_user_agent":"node-fetch","requestID":"f3acbd5dcb2b717c2a04b65eef86875c"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 103ms","method":"POST","requestID":"8134fe6c9e5118a360070ddc43e5cd60","responseTime":103,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.107","http_referrer":"","http_user_agent":"node-fetch","requestID":"8134fe6c9e5118a360070ddc43e5cd60"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OX0.K-4rZSIww9PPc-aXB0TepGfJUaMkS6trOfikaHqrC_I","level":"info","message":"auth send jwt","requestID":"3d1b43527258f7514ab07087e54750ef"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"3d1b43527258f7514ab07087e54750ef","responseTime":5,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:19 +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.641","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"3ce11f9861d1bab87d1fe640f4f416b5"} device-1 | {"level":"info","message":"postDevices called","requestID":"3d1b43527258f7514ab07087e54750ef"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":965,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:19Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":965,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.883329,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:19Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3d1b43527258f7514ab07087e54750ef","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072579,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OX0.K-4rZSIww9PPc-aXB0TepGfJUaMkS6trOfikaHqrC_I"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3d1b43527258f7514ab07087e54750ef","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/b09273ea-c25e-4b42-91a0-fe02c5c072d8' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F577f5edf-3ca5-4f98-b545-ddc34dea91cd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"12b24812-26e8-4e74-b4d9-bcec60791a00","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072579.1011024} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3d1b43527258f7514ab07087e54750ef","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/5066d878-7184-43ca-be2f-c18a69b11893' 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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e0d281ac-8fba-4eb2-9a69-564fe1a42f1d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072579.1060448} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"3d1b43527258f7514ab07087e54750ef","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F577f5edf-3ca5-4f98-b545-ddc34dea91cd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"930be52e-659e-41c2-8067-8ce8728142da","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072579.1153018} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c410f32f-1fcb-460f-9f42-318d16599e88","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072579.1155963} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"3d1b43527258f7514ab07087e54750ef","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F577f5edf-3ca5-4f98-b545-ddc34dea91cd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F577f5edf-3ca5-4f98-b545-ddc34dea91cd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:19.115266754Z"}]},"request_id":"392500ee-5fbe-4f5b-b487-dcb4b924db38","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072579.119806} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"3d1b43527258f7514ab07087e54750ef","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"3d1b43527258f7514ab07087e54750ef"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"3d1b43527258f7514ab07087e54750ef","responseTime":45,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.055","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3d1b43527258f7514ab07087e54750ef"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OX0.K-4rZSIww9PPc-aXB0TepGfJUaMkS6trOfikaHqrC_I","level":"info","message":"auth send jwt","requestID":"81f9608e277eb0abcf1919d38da36be6"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"81f9608e277eb0abcf1919d38da36be6","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"81f9608e277eb0abcf1919d38da36be6"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":966,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:19Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":966,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.813981,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:19Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"81f9608e277eb0abcf1919d38da36be6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072579,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OX0.K-4rZSIww9PPc-aXB0TepGfJUaMkS6trOfikaHqrC_I"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"81f9608e277eb0abcf1919d38da36be6","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43771020-0166-43f6-9cdd-9fd3e6612f82","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"d6975491-13d8-4a52-902d-4ff1e45af4df","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072579.1436017} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"81f9608e277eb0abcf1919d38da36be6","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"31d18a15-e56a-4bdf-a612-7120de9f2cf1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072579.148254} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"81f9608e277eb0abcf1919d38da36be6","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43771020-0166-43f6-9cdd-9fd3e6612f82","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"2ccfe63f-edc6-4165-8361-5a58513d780d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072579.1633503} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"dfd929d7-db21-4337-a03e-61cbb25ab221","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072579.1635551} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"81f9608e277eb0abcf1919d38da36be6","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43771020-0166-43f6-9cdd-9fd3e6612f82","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43771020-0166-43f6-9cdd-9fd3e6612f82","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:19.163324554Z"}]},"request_id":"693fd462-bbf9-4235-ae60-d08dc4c0ba8f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072579.1679404} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"81f9608e277eb0abcf1919d38da36be6","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"81f9608e277eb0abcf1919d38da36be6"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"81f9608e277eb0abcf1919d38da36be6","responseTime":43,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.047","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"81f9608e277eb0abcf1919d38da36be6"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OX0.K-4rZSIww9PPc-aXB0TepGfJUaMkS6trOfikaHqrC_I","level":"info","message":"auth send jwt","requestID":"3f4f2f809edaa246c164cbadae1a2956"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"3f4f2f809edaa246c164cbadae1a2956","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"3f4f2f809edaa246c164cbadae1a2956"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":967,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:19Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":967,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.185744,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:19Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/43771020-0166-43f6-9cdd-9fd3e6612f82","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3f4f2f809edaa246c164cbadae1a2956","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/43771020-0166-43f6-9cdd-9fd3e6612f82","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072579,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OX0.K-4rZSIww9PPc-aXB0TepGfJUaMkS6trOfikaHqrC_I"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3f4f2f809edaa246c164cbadae1a2956","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43771020-0166-43f6-9cdd-9fd3e6612f82","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43771020-0166-43f6-9cdd-9fd3e6612f82","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:19.163324554Z"}]},"request_id":"f00129cd-7728-41ab-81cf-212f1305a42f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072579.6599777} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"3f4f2f809edaa246c164cbadae1a2956","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"dea411ea-48e9-4860-a344-e79276d1774b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072579.6665306} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"3f4f2f809edaa246c164cbadae1a2956","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43771020-0166-43f6-9cdd-9fd3e6612f82","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43771020-0166-43f6-9cdd-9fd3e6612f82","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:19.163324554Z"}]},"request_id":"93484aea-dc17-438d-b7a0-bfed7d281716","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072579.6791785} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3f4f2f809edaa246c164cbadae1a2956","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"3f4f2f809edaa246c164cbadae1a2956"} gateway-1 | {"time_local":"16/Oct/2024:09:56:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/43771020-0166-43f6-9cdd-9fd3e6612f82 HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.040","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"3f4f2f809edaa246c164cbadae1a2956"} device-1 | {"level":"info","message":"PATCH /devices/43771020-0166-43f6-9cdd-9fd3e6612f82 200 34ms","method":"PATCH","requestID":"3f4f2f809edaa246c164cbadae1a2956","responseTime":34,"status":200,"url":"/devices/43771020-0166-43f6-9cdd-9fd3e6612f82"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OX0.K-4rZSIww9PPc-aXB0TepGfJUaMkS6trOfikaHqrC_I","level":"info","message":"auth send jwt","requestID":"3c134734a2045e6c5be572819109b56e"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"3c134734a2045e6c5be572819109b56e","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"3c134734a2045e6c5be572819109b56e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":968,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:19Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":968,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.16735,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:19Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/43771020-0166-43f6-9cdd-9fd3e6612f82","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3c134734a2045e6c5be572819109b56e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/43771020-0166-43f6-9cdd-9fd3e6612f82","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072579,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU3OX0.K-4rZSIww9PPc-aXB0TepGfJUaMkS6trOfikaHqrC_I"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3c134734a2045e6c5be572819109b56e","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"3c134734a2045e6c5be572819109b56e"} gateway-1 | {"time_local":"16/Oct/2024:09:56:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/43771020-0166-43f6-9cdd-9fd3e6612f82/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.10","requestID":"3c134734a2045e6c5be572819109b56e"} device-1 | {"level":"info","message":"POST /devices/43771020-0166-43f6-9cdd-9fd3e6612f82/websocket 200 19ms","method":"POST","requestID":"3c134734a2045e6c5be572819109b56e","responseTime":19,"status":200,"url":"/devices/43771020-0166-43f6-9cdd-9fd3e6612f82/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/43771020-0166-43f6-9cdd-9fd3e6612f82' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1d9e30182bc7f0cd05e5b8c324fb2c06","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"1d9e30182bc7f0cd05e5b8c324fb2c06","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd/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":"1d9e30182bc7f0cd05e5b8c324fb2c06"} device-1 | {"level":"info","message":"OPTIONS /devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd/websocket 200 1ms","method":"OPTIONS","requestID":"1d9e30182bc7f0cd05e5b8c324fb2c06","responseTime":1,"status":200,"url":"/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s","level":"info","message":"auth send jwt","requestID":"6c41a9441bb2b706a26b5775e845ca7e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"6c41a9441bb2b706a26b5775e845ca7e","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"6c41a9441bb2b706a26b5775e845ca7e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":969,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":969,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.364513,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"6c41a9441bb2b706a26b5775e845ca7e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072581,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6c41a9441bb2b706a26b5775e845ca7e","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"6c41a9441bb2b706a26b5775e845ca7e"} device-1 | {"level":"info","message":"POST /devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd/websocket 200 19ms","method":"POST","requestID":"6c41a9441bb2b706a26b5775e845ca7e","responseTime":19,"status":200,"url":"/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:56:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd/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":"6c41a9441bb2b706a26b5775e845ca7e"} device-1 | {"level":"info","message":"device 'http://localhost/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"da86fb2fb81d65d7b3a8718ecb71528f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"da86fb2fb81d65d7b3a8718ecb71528f","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd? 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":"da86fb2fb81d65d7b3a8718ecb71528f"} device-1 | {"level":"info","message":"OPTIONS /devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd? 200 1ms","method":"OPTIONS","requestID":"da86fb2fb81d65d7b3a8718ecb71528f","responseTime":1,"status":200,"url":"/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s","level":"info","message":"auth send jwt","requestID":"26acfa99fa048cbbd3db78e1a459a0b1"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"26acfa99fa048cbbd3db78e1a459a0b1","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"26acfa99fa048cbbd3db78e1a459a0b1"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":970,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":970,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.241849,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"26acfa99fa048cbbd3db78e1a459a0b1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072581,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"26acfa99fa048cbbd3db78e1a459a0b1","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F577f5edf-3ca5-4f98-b545-ddc34dea91cd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F577f5edf-3ca5-4f98-b545-ddc34dea91cd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:19.115266754Z"}]},"request_id":"11b28a76-692e-4c09-9215-8c4ee4360110","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.2816925} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"26acfa99fa048cbbd3db78e1a459a0b1","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5fb229bb-0830-473d-a6ff-816fa1217fe9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.2887998} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"26acfa99fa048cbbd3db78e1a459a0b1","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F577f5edf-3ca5-4f98-b545-ddc34dea91cd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F577f5edf-3ca5-4f98-b545-ddc34dea91cd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:19.115266754Z"}]},"request_id":"c6cc43f1-c2b4-42f2-ab93-cb50b1b6dde0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.301733} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"26acfa99fa048cbbd3db78e1a459a0b1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"26acfa99fa048cbbd3db78e1a459a0b1"} gateway-1 | {"time_local":"16/Oct/2024:09:56:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd? 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":"26acfa99fa048cbbd3db78e1a459a0b1"} device-1 | {"level":"info","message":"PATCH /devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd? 200 37ms","method":"PATCH","requestID":"26acfa99fa048cbbd3db78e1a459a0b1","responseTime":37,"status":200,"url":"/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s","level":"info","message":"auth send jwt","requestID":"98e27d0b78e58a591a7670becbdcebd3"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"98e27d0b78e58a591a7670becbdcebd3","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"98e27d0b78e58a591a7670becbdcebd3"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":971,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":971,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.187496,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"98e27d0b78e58a591a7670becbdcebd3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072581,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"98e27d0b78e58a591a7670becbdcebd3","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F577f5edf-3ca5-4f98-b545-ddc34dea91cd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F577f5edf-3ca5-4f98-b545-ddc34dea91cd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:19.115266754Z"}]},"request_id":"8f0882aa-819c-4b96-95eb-7a3d90c56727","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.3311045} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"98e27d0b78e58a591a7670becbdcebd3","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"98e27d0b78e58a591a7670becbdcebd3"} gateway-1 | {"time_local":"16/Oct/2024:09:56:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd? 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":"98e27d0b78e58a591a7670becbdcebd3"} device-1 | {"level":"info","message":"GET /devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd? 200 16ms","method":"GET","requestID":"98e27d0b78e58a591a7670becbdcebd3","responseTime":16,"status":200,"url":"/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s","level":"info","message":"auth send jwt","requestID":"fcc043a452f599755a122e4390cff10b"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"fcc043a452f599755a122e4390cff10b","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fcc043a452f599755a122e4390cff10b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":972,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":972,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.211618,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/43771020-0166-43f6-9cdd-9fd3e6612f82","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fcc043a452f599755a122e4390cff10b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/43771020-0166-43f6-9cdd-9fd3e6612f82","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072581,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"fcc043a452f599755a122e4390cff10b","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43771020-0166-43f6-9cdd-9fd3e6612f82","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43771020-0166-43f6-9cdd-9fd3e6612f82","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:19.163324554Z"}]},"request_id":"4bf467d6-030d-4b57-b94f-af19e4cc8dfb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.3543956} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"fcc043a452f599755a122e4390cff10b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fcc043a452f599755a122e4390cff10b"} gateway-1 | {"time_local":"16/Oct/2024:09:56:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/43771020-0166-43f6-9cdd-9fd3e6612f82? 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":"fcc043a452f599755a122e4390cff10b"} device-1 | {"level":"info","message":"GET /devices/43771020-0166-43f6-9cdd-9fd3e6612f82? 200 16ms","method":"GET","requestID":"fcc043a452f599755a122e4390cff10b","responseTime":16,"status":200,"url":"/devices/43771020-0166-43f6-9cdd-9fd3e6612f82?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s","level":"info","message":"auth send jwt","requestID":"3a4eb83efb735479017222ac3c62e7d5"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"3a4eb83efb735479017222ac3c62e7d5","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"3a4eb83efb735479017222ac3c62e7d5"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":973,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":973,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.314496,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3a4eb83efb735479017222ac3c62e7d5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072581,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3a4eb83efb735479017222ac3c62e7d5","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa"},"level":"info","message":"Attempting to run experiment","requestID":"3a4eb83efb735479017222ac3c62e7d5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa"},"level":"info","message":"Attempting to book experiment","requestID":"3a4eb83efb735479017222ac3c62e7d5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa"},"level":"info","message":"Successfully booked experiment","requestID":"3a4eb83efb735479017222ac3c62e7d5"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e58f83e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e58fd200-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":974,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":974,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.142563,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":975,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e58f83e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072581,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e58f83e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":975,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.113817,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/43771020-0166-43f6-9cdd-9fd3e6612f82","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e58fd200-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/43771020-0166-43f6-9cdd-9fd3e6612f82","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072581,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e58fd200-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F577f5edf-3ca5-4f98-b545-ddc34dea91cd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F577f5edf-3ca5-4f98-b545-ddc34dea91cd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:19.115266754Z"}]},"request_id":"bad3c366-fb33-4464-a680-4583a860bdb1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.4182353} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"e58f83e0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43771020-0166-43f6-9cdd-9fd3e6612f82","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43771020-0166-43f6-9cdd-9fd3e6612f82","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:19.163324554Z"}]},"request_id":"b4d7f29b-29c3-4684-937c-b283dbb79e99","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.4201493} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e58fd200-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e58f83e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd? 200 19ms","method":"GET","requestID":"e58f83e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":19,"status":200,"url":"/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e58fd200-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/43771020-0166-43f6-9cdd-9fd3e6612f82? 200 18ms","method":"GET","requestID":"e58fd200-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/43771020-0166-43f6-9cdd-9fd3e6612f82?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa"},"level":"info","message":"Setting up experiment","requestID":"3a4eb83efb735479017222ac3c62e7d5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"3a4eb83efb735479017222ac3c62e7d5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa"},"level":"info","message":"Successfully locked booking for experiment","requestID":"3a4eb83efb735479017222ac3c62e7d5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"3a4eb83efb735479017222ac3c62e7d5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"3a4eb83efb735479017222ac3c62e7d5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa"},"level":"info","message":"Attempting to update booking for experiment","requestID":"3a4eb83efb735479017222ac3c62e7d5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa"},"level":"info","message":"Successfully updated booking for experiment","requestID":"3a4eb83efb735479017222ac3c62e7d5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa"},"level":"info","message":"Successfully set up experiment","requestID":"3a4eb83efb735479017222ac3c62e7d5"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e59aa770-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e59ace80-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e59b1ca0-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa"},"level":"info","message":"Successfully running experiment","requestID":"3a4eb83efb735479017222ac3c62e7d5"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":976,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":976,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.180548,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e59aa770-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072581,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"e59aa770-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":977,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":977,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.798995,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"client_addr":"127.0.0.1:57716","level":"info","msg":"Received request.","req_id":978,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"client_addr":"127.0.0.1:57716","level":"info","msg":"Sent response.","req_id":978,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.570108,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/43771020-0166-43f6-9cdd-9fd3e6612f82","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e59ace80-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/43771020-0166-43f6-9cdd-9fd3e6612f82","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072581,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"e59ace80-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F577f5edf-3ca5-4f98-b545-ddc34dea91cd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8934e85f-2762-44a6-bc41-73cc24f7eca6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.4887683} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e59b1ca0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd","object_type":"device","rebac_allow":false,"scope_allow":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":"e59b1ca0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e59b1ca0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd/signaling 200 12ms","method":"POST","requestID":"e59b1ca0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd/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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F577f5edf-3ca5-4f98-b545-ddc34dea91cd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F577f5edf-3ca5-4f98-b545-ddc34dea91cd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:19.115266754Z"}]},"request_id":"e96fe614-f3bc-4711-bff3-dd17d859c882","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.4947653} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e59aa770-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43771020-0166-43f6-9cdd-9fd3e6612f82","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43771020-0166-43f6-9cdd-9fd3e6612f82","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:19.163324554Z"}]},"request_id":"80051d86-a0dd-433d-b601-7a0ecf1e7aaa","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.4963155} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e59ace80-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e59d8da0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":979,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e59aa770-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd? 200 23ms","method":"GET","requestID":"e59aa770-8ba4-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e59ace80-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43771020-0166-43f6-9cdd-9fd3e6612f82","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"58dfa5c5-007b-4dad-a59b-2fb2e2dd2384","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.5028603} device-1 | {"level":"info","message":"GET /devices/43771020-0166-43f6-9cdd-9fd3e6612f82? 200 23ms","method":"GET","requestID":"e59ace80-8ba4-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/43771020-0166-43f6-9cdd-9fd3e6612f82?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":979,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.020343,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/43771020-0166-43f6-9cdd-9fd3e6612f82","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e59d8da0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/43771020-0166-43f6-9cdd-9fd3e6612f82","object_type":"device","rebac_allow":false,"scope_allow":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":"e59d8da0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e59ec620-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5d554991-f2e9-4179-b4bd-9c253a8f26fa#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5d554991-f2e9-4179-b4bd-9c253a8f26fa","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"28138869-74e8-4f42-a0dd-9a3992348cbb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.5065622} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"bd37645f-7acc-49c4-98e7-79408100e910","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.506846} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e59d8da0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/43771020-0166-43f6-9cdd-9fd3e6612f82/signaling 200 11ms","method":"POST","requestID":"e59d8da0-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/43771020-0166-43f6-9cdd-9fd3e6612f82/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"3a4eb83efb735479017222ac3c62e7d5","responseTime":21,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":980,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F577f5edf-3ca5-4f98-b545-ddc34dea91cd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c3ba3a0d-c76d-4768-8f97-c5cc4fa901ec","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.511527} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":980,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.839257,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e59ec620-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd","object_type":"device","rebac_allow":false,"scope_allow":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":"e59ec620-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"3a4eb83efb735479017222ac3c62e7d5"} gateway-1 | {"time_local":"16/Oct/2024:09:56:21 +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":"3a4eb83efb735479017222ac3c62e7d5"} experiment-1 | {"level":"info","message":"POST /experiments? 201 149ms","method":"POST","requestID":"3a4eb83efb735479017222ac3c62e7d5","responseTime":149,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e59ec620-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd/signaling 200 10ms","method":"POST","requestID":"e59ec620-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e5a09ae0-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s","level":"info","message":"auth send jwt","requestID":"dcfe6ee7ef19cd16842e082865fae062"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"dcfe6ee7ef19cd16842e082865fae062","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"dcfe6ee7ef19cd16842e082865fae062"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":981,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43771020-0166-43f6-9cdd-9fd3e6612f82","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"661fc127-ae04-4689-97ff-82f7048db43e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.5222795} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":982,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":981,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.187399,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/43771020-0166-43f6-9cdd-9fd3e6612f82","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e5a09ae0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/43771020-0166-43f6-9cdd-9fd3e6612f82","object_type":"device","rebac_allow":false,"scope_allow":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":"e5a09ae0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":982,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.63149,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"dcfe6ee7ef19cd16842e082865fae062","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072581,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"dcfe6ee7ef19cd16842e082865fae062","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e5a09ae0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/43771020-0166-43f6-9cdd-9fd3e6612f82/signaling 200 9ms","method":"POST","requestID":"e5a09ae0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/43771020-0166-43f6-9cdd-9fd3e6612f82/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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F577f5edf-3ca5-4f98-b545-ddc34dea91cd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F577f5edf-3ca5-4f98-b545-ddc34dea91cd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:19.115266754Z"}]},"request_id":"a94cb8ca-2d28-464b-913e-8f1eea5033d9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.527929} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"3a4eb83efb735479017222ac3c62e7d5"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"dcfe6ee7ef19cd16842e082865fae062","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e5a26fa0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e5a296b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"dcfe6ee7ef19cd16842e082865fae062"} gateway-1 | {"time_local":"16/Oct/2024:09:56:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd? 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":"dcfe6ee7ef19cd16842e082865fae062"} device-1 | {"level":"info","message":"GET /devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd? 200 13ms","method":"GET","requestID":"dcfe6ee7ef19cd16842e082865fae062","responseTime":13,"status":200,"url":"/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":983,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":983,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.653031,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":984,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e5a26fa0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072581,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e5a26fa0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":984,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.686336,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/43771020-0166-43f6-9cdd-9fd3e6612f82","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e5a296b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/43771020-0166-43f6-9cdd-9fd3e6612f82","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072581,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e5a296b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s","level":"info","message":"auth send jwt","requestID":"250892e935471662b9067ecbb8acca06"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"250892e935471662b9067ecbb8acca06","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"250892e935471662b9067ecbb8acca06"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F577f5edf-3ca5-4f98-b545-ddc34dea91cd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F577f5edf-3ca5-4f98-b545-ddc34dea91cd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:19.115266754Z"}]},"request_id":"93a6d081-77bb-41aa-8c21-348118a0d751","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.5379386} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e5a26fa0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43771020-0166-43f6-9cdd-9fd3e6612f82","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43771020-0166-43f6-9cdd-9fd3e6612f82","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:19.163324554Z"}]},"request_id":"49bd1d83-4845-46ea-a2ba-c499f23fa760","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.5392072} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e5a296b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":985,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":985,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.94193,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e5a26fa0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/43771020-0166-43f6-9cdd-9fd3e6612f82","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"250892e935471662b9067ecbb8acca06","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/43771020-0166-43f6-9cdd-9fd3e6612f82","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072581,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"250892e935471662b9067ecbb8acca06","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"GET /devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd? 200 13ms","method":"GET","requestID":"e5a26fa0-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e5a296b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/43771020-0166-43f6-9cdd-9fd3e6612f82? 200 13ms","method":"GET","requestID":"e5a296b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/43771020-0166-43f6-9cdd-9fd3e6612f82?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa"},"level":"info","message":"Building connection plan","requestID":"3a4eb83efb735479017222ac3c62e7d5"} 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":"fc8fe39b-15cb-4ada-a4f4-7e04be46b725"},{"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":"781bf3b8-60db-44fd-80b5-4c6fdc702646"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"0e2c2a60-19c2-4d36-a67c-c1940f508584"}]},"level":"info","message":"Built pairwise service configurations","requestID":"3a4eb83efb735479017222ac3c62e7d5"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"e5a4e0a0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"e5a4e0a0-8ba4-11ef-a042-213954f0282b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43771020-0166-43f6-9cdd-9fd3e6612f82","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43771020-0166-43f6-9cdd-9fd3e6612f82","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:19.163324554Z"}]},"request_id":"fa62c132-ccf7-400f-9662-9940d40667d1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.547086} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"e5a4e0a0-8ba4-11ef-a042-213954f0282b","responseTime":1,"status":201,"url":"/rooms"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"250892e935471662b9067ecbb8acca06","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/c051b74f-8b53-4a76-8dfc-76f6c8ea3da4?id=13dc995c-747c-4491-a752-6ad052621a7c","ws://localhost/rooms/c051b74f-8b53-4a76-8dfc-76f6c8ea3da4?id=751d37ad-b0ec-4452-9519-91e6c40158db"]},"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/43771020-0166-43f6-9cdd-9fd3e6612f82"},{"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/577f5edf-3ca5-4f98-b545-ddc34dea91cd"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"3a4eb83efb735479017222ac3c62e7d5"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"e5a555d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"250892e935471662b9067ecbb8acca06"} gateway-1 | {"time_local":"16/Oct/2024:09:56:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/43771020-0166-43f6-9cdd-9fd3e6612f82? 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":"250892e935471662b9067ecbb8acca06"} device-1 | {"level":"info","message":"GET /devices/43771020-0166-43f6-9cdd-9fd3e6612f82? 200 13ms","method":"GET","requestID":"250892e935471662b9067ecbb8acca06","responseTime":13,"status":200,"url":"/devices/43771020-0166-43f6-9cdd-9fd3e6612f82?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":986,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":986,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.732821,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e5a555d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072581,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e5a555d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"e8ed2aee-f7ab-444c-ab82-5093ce037221","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.559434} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5de6421b-7047-49c4-9c45-d833a5fd37b0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.5596807} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"e5a555d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"e5a555d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"e5a555d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/8fd64ad6-962d-4e7c-9051-0249278f4957'","requestID":"e5a555d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/8fd64ad6-962d-4e7c-9051-0249278f4957'","requestID":"e5a555d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"e5a555d0-8ba4-11ef-a62f-5f7f958aa687"} 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":"e5a555d0-8ba4-11ef-a62f-5f7f958aa687","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":"e5a555d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/8fd64ad6-962d-4e7c-9051-0249278f4957' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"8fd64ad6-962d-4e7c-9051-0249278f4957","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"e5aa37d0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"13dc995c-747c-4491-a752-6ad052621a7c\" in room \"http://localhost/rooms/c051b74f-8b53-4a76-8dfc-76f6c8ea3da4\"","requestID":"e5aa37d0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"e5aa37d0-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"db6ff0c0ec9bacb6522659d6acc50775","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"db6ff0c0ec9bacb6522659d6acc50775","responseTime":1,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"e5aa85f0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"751d37ad-b0ec-4452-9519-91e6c40158db\" in room \"http://localhost/rooms/c051b74f-8b53-4a76-8dfc-76f6c8ea3da4\"","requestID":"e5aa85f0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"e5aa85f0-8ba4-11ef-a042-213954f0282b"} 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/43771020-0166-43f6-9cdd-9fd3e6612f82"},{"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/577f5edf-3ca5-4f98-b545-ddc34dea91cd"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/8fd64ad6-962d-4e7c-9051-0249278f4957"}}},"level":"info","message":"received a callback","requestID":"db6ff0c0ec9bacb6522659d6acc50775"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"13dc995c-747c-4491-a752-6ad052621a7c\" in room \"http://localhost/rooms/c051b74f-8b53-4a76-8dfc-76f6c8ea3da4\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"13dc995c-747c-4491-a752-6ad052621a7c\" in room \"http://localhost/rooms/c051b74f-8b53-4a76-8dfc-76f6c8ea3da4\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"13dc995c-747c-4491-a752-6ad052621a7c\" in room \"http://localhost/rooms/c051b74f-8b53-4a76-8dfc-76f6c8ea3da4\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"13dc995c-747c-4491-a752-6ad052621a7c\" in room \"http://localhost/rooms/c051b74f-8b53-4a76-8dfc-76f6c8ea3da4\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"13dc995c-747c-4491-a752-6ad052621a7c\" in room \"http://localhost/rooms/c051b74f-8b53-4a76-8dfc-76f6c8ea3da4\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"13dc995c-747c-4491-a752-6ad052621a7c\" in room \"http://localhost/rooms/c051b74f-8b53-4a76-8dfc-76f6c8ea3da4\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"13dc995c-747c-4491-a752-6ad052621a7c\" in room \"http://localhost/rooms/c051b74f-8b53-4a76-8dfc-76f6c8ea3da4\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"13dc995c-747c-4491-a752-6ad052621a7c\" in room \"http://localhost/rooms/c051b74f-8b53-4a76-8dfc-76f6c8ea3da4\""} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 9ms","method":"POST","requestID":"db6ff0c0ec9bacb6522659d6acc50775","responseTime":9,"status":200,"url":"/callbacks/experiment"} device-1 | {"data":{"peerconnection":"8fd64ad6-962d-4e7c-9051-0249278f4957","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} gateway-1 | {"time_local":"16/Oct/2024:09:56:21 +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":"db6ff0c0ec9bacb6522659d6acc50775"} device-1 | {"data":{"peerconnection":"8fd64ad6-962d-4e7c-9051-0249278f4957","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"3a4eb83efb735479017222ac3c62e7d5"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e5aea4a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":987,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F577f5edf-3ca5-4f98-b545-ddc34dea91cd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0ce0df15-f328-429d-8238-b6db1398ee01","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.6143987} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":987,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.261213,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e5aea4a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd","object_type":"device","rebac_allow":false,"scope_allow":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":"e5aea4a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/8fd64ad6-962d-4e7c-9051-0249278f4957' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"8fd64ad6-962d-4e7c-9051-0249278f4957","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e5aea4a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd/signaling 200 9ms","method":"POST","requestID":"e5aea4a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd/signaling"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"666d3fb0c65ef43af972a07485e7dd19","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"666d3fb0c65ef43af972a07485e7dd19","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e5b05250-8ba4-11ef-a62f-5f7f958aa687"} 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/43771020-0166-43f6-9cdd-9fd3e6612f82"},{"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/577f5edf-3ca5-4f98-b545-ddc34dea91cd"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/8fd64ad6-962d-4e7c-9051-0249278f4957"}}},"level":"info","message":"received a callback","requestID":"666d3fb0c65ef43af972a07485e7dd19"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":988,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43771020-0166-43f6-9cdd-9fd3e6612f82","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9f4b543c-b2ae-4891-93a2-17a9229b4e62","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.626079} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":988,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.461858,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"e5b13cb0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/43771020-0166-43f6-9cdd-9fd3e6612f82","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e5b05250-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/43771020-0166-43f6-9cdd-9fd3e6612f82","object_type":"device","rebac_allow":false,"scope_allow":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":"e5b05250-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":989,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F8fd64ad6-962d-4e7c-9051-0249278f4957","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6e518716-afcd-459a-b8da-bd1168a7fa11","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.63041} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":989,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.078707,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e5b05250-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/43771020-0166-43f6-9cdd-9fd3e6612f82/signaling 200 10ms","method":"POST","requestID":"e5b05250-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/43771020-0166-43f6-9cdd-9fd3e6612f82/signaling"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/8fd64ad6-962d-4e7c-9051-0249278f4957","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e5b13cb0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/8fd64ad6-962d-4e7c-9051-0249278f4957","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":"e5b13cb0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"e5b13cb0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/8fd64ad6-962d-4e7c-9051-0249278f4957 200 6ms","method":"GET","requestID":"e5b13cb0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/peerconnections/8fd64ad6-962d-4e7c-9051-0249278f4957"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 24ms","method":"POST","requestID":"666d3fb0c65ef43af972a07485e7dd19","responseTime":24,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56:21 +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":"666d3fb0c65ef43af972a07485e7dd19"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e5b449f0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":990,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43771020-0166-43f6-9cdd-9fd3e6612f82","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e3b3955b-9e06-4402-b5a6-a7fd8d71acac","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.65155} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":990,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.288175,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/43771020-0166-43f6-9cdd-9fd3e6612f82","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e5b449f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/43771020-0166-43f6-9cdd-9fd3e6612f82","object_type":"device","rebac_allow":false,"scope_allow":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":"e5b449f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e5b449f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/43771020-0166-43f6-9cdd-9fd3e6612f82/signaling 200 8ms","method":"POST","requestID":"e5b449f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/43771020-0166-43f6-9cdd-9fd3e6612f82/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e5b5d090-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":991,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F577f5edf-3ca5-4f98-b545-ddc34dea91cd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f0b2bf37-633c-4170-b13f-0b057a081991","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.6610157} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":991,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.328612,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e5b5d090-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd","object_type":"device","rebac_allow":false,"scope_allow":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":"e5b5d090-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e5b5d090-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd/signaling 200 8ms","method":"POST","requestID":"e5b5d090-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s","level":"info","message":"auth send jwt","requestID":"e553927e057deeaa1a62893babfb5908"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e553927e057deeaa1a62893babfb5908","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa","requestID":"e553927e057deeaa1a62893babfb5908"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":992,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":992,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.147738,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e553927e057deeaa1a62893babfb5908","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072581,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e553927e057deeaa1a62893babfb5908","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa","requestID":"e553927e057deeaa1a62893babfb5908"} experiment-1 | {"level":"info","message":"GET /experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa 200 11ms","method":"GET","requestID":"e553927e057deeaa1a62893babfb5908","responseTime":11,"status":200,"url":"/experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa"} gateway-1 | {"time_local":"16/Oct/2024:09:56:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa HTTP/1.1","status": "200","body_bytes_sent":"1365","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e553927e057deeaa1a62893babfb5908"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s","level":"info","message":"auth send jwt","requestID":"860021b5f1657f735cbfa29d253c5bcf"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"860021b5f1657f735cbfa29d253c5bcf","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa","requestID":"860021b5f1657f735cbfa29d253c5bcf"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":993,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":993,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.143924,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"860021b5f1657f735cbfa29d253c5bcf","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072581,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"860021b5f1657f735cbfa29d253c5bcf","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa"},"level":"info","message":"Attempting to finish experiment","requestID":"860021b5f1657f735cbfa29d253c5bcf"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"e5bfe2b0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":994,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":994,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.280533,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/8fd64ad6-962d-4e7c-9051-0249278f4957","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e5bfe2b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/8fd64ad6-962d-4e7c-9051-0249278f4957","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072581,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e5bfe2b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:56:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/c051b74f-8b53-4a76-8dfc-76f6c8ea3da4?id=13dc995c-747c-4491-a752-6ad052621a7c HTTP/1.1","status": "101","body_bytes_sent":"872","request_time":"0.155","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"573f2e993206eed22da5475556fd8b01"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"13dc995c-747c-4491-a752-6ad052621a7c\" in room \"http://localhost/rooms/c051b74f-8b53-4a76-8dfc-76f6c8ea3da4\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"13dc995c-747c-4491-a752-6ad052621a7c\" from room \"http://localhost/rooms/c051b74f-8b53-4a76-8dfc-76f6c8ea3da4\", code: 1006, reason: "} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/8fd64ad6-962d-4e7c-9051-0249278f4957' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/8fd64ad6-962d-4e7c-9051-0249278f4957' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"8fd64ad6-962d-4e7c-9051-0249278f4957","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} gateway-1 | {"time_local":"16/Oct/2024:09:56:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/c051b74f-8b53-4a76-8dfc-76f6c8ea3da4?id=751d37ad-b0ec-4452-9519-91e6c40158db HTTP/1.1","status": "101","body_bytes_sent":"2","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":"a86623d0102a0276e9502d5c143d799f"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"751d37ad-b0ec-4452-9519-91e6c40158db\" in room \"http://localhost/rooms/c051b74f-8b53-4a76-8dfc-76f6c8ea3da4\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"751d37ad-b0ec-4452-9519-91e6c40158db\" from room \"http://localhost/rooms/c051b74f-8b53-4a76-8dfc-76f6c8ea3da4\", code: 1005, reason: "} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2d132817ad920407c2d0dd9606a54853","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/8fd64ad6-962d-4e7c-9051-0249278f4957","device":"577f5edf-3ca5-4f98-b545-ddc34dea91cd","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"2d132817ad920407c2d0dd9606a54853","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ccf8baea82f402e3661de28b7c1caf7a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"ccf8baea82f402e3661de28b7c1caf7a","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/43771020-0166-43f6-9cdd-9fd3e6612f82"},{"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/577f5edf-3ca5-4f98-b545-ddc34dea91cd"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/8fd64ad6-962d-4e7c-9051-0249278f4957"}}},"level":"info","message":"received a callback","requestID":"2d132817ad920407c2d0dd9606a54853"} 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/43771020-0166-43f6-9cdd-9fd3e6612f82"},{"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/577f5edf-3ca5-4f98-b545-ddc34dea91cd"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/8fd64ad6-962d-4e7c-9051-0249278f4957"}}},"level":"info","message":"received a callback","requestID":"ccf8baea82f402e3661de28b7c1caf7a"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F8fd64ad6-962d-4e7c-9051-0249278f4957': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F8fd64ad6-962d-4e7c-9051-0249278f4957","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"c71a6530-5c6f-4fec-8533-cd78df17e387","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.7465649} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2d6c4ce2-bff0-4473-be0e-ab8e70a46eda","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.746883} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"e5bfe2b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"8fd64ad6-962d-4e7c-9051-0249278f4957","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"e5bfe2b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/8fd64ad6-962d-4e7c-9051-0249278f4957 204 39ms","method":"DELETE","requestID":"e5bfe2b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":39,"status":204,"url":"/peerconnections/8fd64ad6-962d-4e7c-9051-0249278f4957"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa"},"level":"info","message":"Successfully finished experiment","requestID":"860021b5f1657f735cbfa29d253c5bcf"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e5c86e30-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":995,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43771020-0166-43f6-9cdd-9fd3e6612f82","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a8495e89-49f5-4425-adaf-dceaedbffc45","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.784835} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":995,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.768089,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/43771020-0166-43f6-9cdd-9fd3e6612f82","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e5c86e30-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/43771020-0166-43f6-9cdd-9fd3e6612f82","object_type":"device","rebac_allow":false,"scope_allow":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":"e5c86e30-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e5c86e30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/43771020-0166-43f6-9cdd-9fd3e6612f82/signaling 200 12ms","method":"POST","requestID":"e5c86e30-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/43771020-0166-43f6-9cdd-9fd3e6612f82/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5d554991-f2e9-4179-b4bd-9c253a8f26fa': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5d554991-f2e9-4179-b4bd-9c253a8f26fa","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"b8583fd7-2b2e-415e-b7c5-e6e5202e111e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.7917442} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b820ecaf-a06d-42c5-8748-93150167933b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.792129} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e5ca9110-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"860021b5f1657f735cbfa29d253c5bcf","responseTime":16,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":996,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F577f5edf-3ca5-4f98-b545-ddc34dea91cd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d90f5174-5e31-4aa7-9166-e76d2b066304","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.8004045} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":996,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.191054,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e5ca9110-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd","object_type":"device","rebac_allow":false,"scope_allow":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":"e5ca9110-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e5ca9110-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd/signaling 200 12ms","method":"POST","requestID":"e5ca9110-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/577f5edf-3ca5-4f98-b545-ddc34dea91cd/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa","requestID":"860021b5f1657f735cbfa29d253c5bcf"} gateway-1 | {"time_local":"16/Oct/2024:09:56:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa 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":"860021b5f1657f735cbfa29d253c5bcf"} experiment-1 | {"level":"info","message":"DELETE /experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa 204 143ms","method":"DELETE","requestID":"860021b5f1657f735cbfa29d253c5bcf","responseTime":143,"status":204,"url":"/experiments/5d554991-f2e9-4179-b4bd-9c253a8f26fa"} gateway-1 | {"time_local":"16/Oct/2024:09:56:21 +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.146","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"26b8657a2c2a816b5b44bd59a4fcf48d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 113ms","method":"POST","requestID":"2d132817ad920407c2d0dd9606a54853","responseTime":113,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56:21 +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":"2d132817ad920407c2d0dd9606a54853"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 112ms","method":"POST","requestID":"ccf8baea82f402e3661de28b7c1caf7a","responseTime":112,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56:21 +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":"ccf8baea82f402e3661de28b7c1caf7a"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s","level":"info","message":"auth send jwt","requestID":"9e22bc1fb0feffb3619e455f1ebc77ef"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"9e22bc1fb0feffb3619e455f1ebc77ef","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"9e22bc1fb0feffb3619e455f1ebc77ef"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":997,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":997,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.119978,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} gateway-1 | {"time_local":"16/Oct/2024:09:56:21 +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.642","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"c6ca07999276a0011d3dea7c73911331"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"9e22bc1fb0feffb3619e455f1ebc77ef","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072581,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9e22bc1fb0feffb3619e455f1ebc77ef","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/43771020-0166-43f6-9cdd-9fd3e6612f82' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff18fe6bb-f931-49a0-9c85-2f75c4de8c12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"e0da05c5-c205-42f7-a7e1-f1c2cd0a848e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.8792121} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9e22bc1fb0feffb3619e455f1ebc77ef","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/577f5edf-3ca5-4f98-b545-ddc34dea91cd' 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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f90840f6-925f-4412-be5b-82f946f4f896","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.885244} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"9e22bc1fb0feffb3619e455f1ebc77ef","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff18fe6bb-f931-49a0-9c85-2f75c4de8c12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"c0984bac-2aa2-4de4-9d0c-fff53885ad98","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.8940246} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"df3cfc4f-bf7e-4fc6-b409-298061c5d0ab","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.8941715} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"9e22bc1fb0feffb3619e455f1ebc77ef","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff18fe6bb-f931-49a0-9c85-2f75c4de8c12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff18fe6bb-f931-49a0-9c85-2f75c4de8c12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:21.893996119Z"}]},"request_id":"ed1a04a4-71d8-4c03-9a35-761aac994305","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.898865} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"9e22bc1fb0feffb3619e455f1ebc77ef","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"9e22bc1fb0feffb3619e455f1ebc77ef"} gateway-1 | {"time_local":"16/Oct/2024:09:56:21 +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":"9e22bc1fb0feffb3619e455f1ebc77ef"} device-1 | {"level":"info","message":"POST /devices? 201 41ms","method":"POST","requestID":"9e22bc1fb0feffb3619e455f1ebc77ef","responseTime":41,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s","level":"info","message":"auth send jwt","requestID":"ea522667b1657a4276396e924e0cd4d4"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ea522667b1657a4276396e924e0cd4d4","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"ea522667b1657a4276396e924e0cd4d4"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":998,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":998,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.642703,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:21Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ea522667b1657a4276396e924e0cd4d4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072581,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4MX0.w-0sR5L6Xn4p9HYAO1n6Ux6_7yTnEim4A37seeSg81s"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ea522667b1657a4276396e924e0cd4d4","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49c3f979-5e51-49af-9371-f6f96e9a1d0a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"2db15343-e303-46f5-885a-1a89403e0f6e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.9279811} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"ea522667b1657a4276396e924e0cd4d4","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"edd18d06-22d7-452e-81f9-13c9d095c114","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.9328263} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"ea522667b1657a4276396e924e0cd4d4","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49c3f979-5e51-49af-9371-f6f96e9a1d0a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"c361d46c-503c-4763-93df-3b986f7ad23d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.9428673} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4b86d8c5-b6db-4200-932d-9bc5739dbe31","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.9431217} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"ea522667b1657a4276396e924e0cd4d4","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49c3f979-5e51-49af-9371-f6f96e9a1d0a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49c3f979-5e51-49af-9371-f6f96e9a1d0a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:21.942838617Z"}]},"request_id":"3bd4adb1-e940-471a-aa95-72c604f2b416","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072581.946916} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"ea522667b1657a4276396e924e0cd4d4","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"ea522667b1657a4276396e924e0cd4d4"} gateway-1 | {"time_local":"16/Oct/2024:09:56:21 +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":"ea522667b1657a4276396e924e0cd4d4"} device-1 | {"level":"info","message":"POST /devices? 201 42ms","method":"POST","requestID":"ea522667b1657a4276396e924e0cd4d4","responseTime":42,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4Mn0.NfJmKu_5-IZ_8SdEact1TxZCQCndUzkqC_M0vjTcf34","level":"info","message":"auth send jwt","requestID":"3d2ebdb42e9783bfb9055338a47dbf3f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3d2ebdb42e9783bfb9055338a47dbf3f","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"3d2ebdb42e9783bfb9055338a47dbf3f"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":999,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:22Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":999,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.684613,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:22Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3d2ebdb42e9783bfb9055338a47dbf3f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072582,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4Mn0.NfJmKu_5-IZ_8SdEact1TxZCQCndUzkqC_M0vjTcf34"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3d2ebdb42e9783bfb9055338a47dbf3f","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff18fe6bb-f931-49a0-9c85-2f75c4de8c12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff18fe6bb-f931-49a0-9c85-2f75c4de8c12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:21.893996119Z"}]},"request_id":"dab4973a-fdb9-4f89-9ae7-4b65d6900fed","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072582.4303508} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3d2ebdb42e9783bfb9055338a47dbf3f","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c075d693-837c-4bec-8aa1-ca20f4b5b7d1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072582.4366395} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"3d2ebdb42e9783bfb9055338a47dbf3f","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff18fe6bb-f931-49a0-9c85-2f75c4de8c12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff18fe6bb-f931-49a0-9c85-2f75c4de8c12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:21.893996119Z"}]},"request_id":"c7946ac1-8f6e-48a5-b347-0e196f56b337","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072582.4486895} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3d2ebdb42e9783bfb9055338a47dbf3f","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"3d2ebdb42e9783bfb9055338a47dbf3f"} gateway-1 | {"time_local":"16/Oct/2024:09:56:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12 HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.034","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"3d2ebdb42e9783bfb9055338a47dbf3f"} device-1 | {"level":"info","message":"PATCH /devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12 200 31ms","method":"PATCH","requestID":"3d2ebdb42e9783bfb9055338a47dbf3f","responseTime":31,"status":200,"url":"/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4Mn0.NfJmKu_5-IZ_8SdEact1TxZCQCndUzkqC_M0vjTcf34","level":"info","message":"auth send jwt","requestID":"1f857fc58b863377c08421459b2e4117"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"1f857fc58b863377c08421459b2e4117","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"1f857fc58b863377c08421459b2e4117"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1000,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:22Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1000,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.265285,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:22Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"1f857fc58b863377c08421459b2e4117","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072582,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4Mn0.NfJmKu_5-IZ_8SdEact1TxZCQCndUzkqC_M0vjTcf34"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"1f857fc58b863377c08421459b2e4117","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"1f857fc58b863377c08421459b2e4117"} device-1 | {"level":"info","message":"POST /devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12/websocket 200 23ms","method":"POST","requestID":"1f857fc58b863377c08421459b2e4117","responseTime":23,"status":200,"url":"/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:56:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12/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.10","requestID":"1f857fc58b863377c08421459b2e4117"} device-1 | {"level":"info","message":"device 'http://localhost/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"3f4617e1227f88f523860c584df6a044","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"3f4617e1227f88f523860c584df6a044","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a/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":"3f4617e1227f88f523860c584df6a044"} device-1 | {"level":"info","message":"OPTIONS /devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a/websocket 200 1ms","method":"OPTIONS","requestID":"3f4617e1227f88f523860c584df6a044","responseTime":1,"status":200,"url":"/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4M30.B2DnEvGarUO64fm1GCX_TAPRL-sHhIWwDnW8Jdx0tk0","level":"info","message":"auth send jwt","requestID":"d33dd7e39291ac734c3f35dcf0a518ea"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d33dd7e39291ac734c3f35dcf0a518ea","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"d33dd7e39291ac734c3f35dcf0a518ea"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1001,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:23Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1001,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.224409,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:23Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d33dd7e39291ac734c3f35dcf0a518ea","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072583,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4M30.B2DnEvGarUO64fm1GCX_TAPRL-sHhIWwDnW8Jdx0tk0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d33dd7e39291ac734c3f35dcf0a518ea","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"d33dd7e39291ac734c3f35dcf0a518ea"} gateway-1 | {"time_local":"16/Oct/2024:09:56:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a/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":"d33dd7e39291ac734c3f35dcf0a518ea"} device-1 | {"level":"info","message":"POST /devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a/websocket 200 22ms","method":"POST","requestID":"d33dd7e39291ac734c3f35dcf0a518ea","responseTime":22,"status":200,"url":"/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"bff378baa1a4fcdcd253d97b92bbf43a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"bff378baa1a4fcdcd253d97b92bbf43a","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a? 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":"bff378baa1a4fcdcd253d97b92bbf43a"} device-1 | {"level":"info","message":"OPTIONS /devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a? 200 1ms","method":"OPTIONS","requestID":"bff378baa1a4fcdcd253d97b92bbf43a","responseTime":1,"status":200,"url":"/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo","level":"info","message":"auth send jwt","requestID":"353328421248e3613e07f27dfe914fa8"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"353328421248e3613e07f27dfe914fa8","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"353328421248e3613e07f27dfe914fa8"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1002,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1002,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.236268,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"353328421248e3613e07f27dfe914fa8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072584,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"353328421248e3613e07f27dfe914fa8","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49c3f979-5e51-49af-9371-f6f96e9a1d0a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49c3f979-5e51-49af-9371-f6f96e9a1d0a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:21.942838617Z"}]},"request_id":"74c4684a-e045-4556-ae1d-43550953cb61","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.0588439} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"353328421248e3613e07f27dfe914fa8","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b9346e11-766a-407e-951d-8a39e6309e3f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.0662768} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"353328421248e3613e07f27dfe914fa8","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49c3f979-5e51-49af-9371-f6f96e9a1d0a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49c3f979-5e51-49af-9371-f6f96e9a1d0a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:21.942838617Z"}]},"request_id":"275a1b6e-fd24-44eb-9cb4-c5a98c5018a6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.07915} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"353328421248e3613e07f27dfe914fa8","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"353328421248e3613e07f27dfe914fa8"} device-1 | {"level":"info","message":"PATCH /devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a? 200 38ms","method":"PATCH","requestID":"353328421248e3613e07f27dfe914fa8","responseTime":38,"status":200,"url":"/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a? 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":"353328421248e3613e07f27dfe914fa8"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo","level":"info","message":"auth send jwt","requestID":"1f102f08b623fdb1ce0d7393a67353bc"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"1f102f08b623fdb1ce0d7393a67353bc","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1f102f08b623fdb1ce0d7393a67353bc"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1003,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1003,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.232361,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"1f102f08b623fdb1ce0d7393a67353bc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072584,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1f102f08b623fdb1ce0d7393a67353bc","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff18fe6bb-f931-49a0-9c85-2f75c4de8c12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff18fe6bb-f931-49a0-9c85-2f75c4de8c12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:21.893996119Z"}]},"request_id":"6802469c-413f-4f80-a525-d78541129119","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.1099508} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"1f102f08b623fdb1ce0d7393a67353bc","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1f102f08b623fdb1ce0d7393a67353bc"} device-1 | {"level":"info","message":"GET /devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12? 200 18ms","method":"GET","requestID":"1f102f08b623fdb1ce0d7393a67353bc","responseTime":18,"status":200,"url":"/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12? 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":"1f102f08b623fdb1ce0d7393a67353bc"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo","level":"info","message":"auth send jwt","requestID":"bf817db51dda1a01fc93be279de11bc2"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"bf817db51dda1a01fc93be279de11bc2","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"bf817db51dda1a01fc93be279de11bc2"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1004,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1004,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.267634,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bf817db51dda1a01fc93be279de11bc2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072584,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"bf817db51dda1a01fc93be279de11bc2","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49c3f979-5e51-49af-9371-f6f96e9a1d0a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49c3f979-5e51-49af-9371-f6f96e9a1d0a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:21.942838617Z"}]},"request_id":"ef500809-d2e7-4af9-98a5-04292a24d87f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.135319} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"bf817db51dda1a01fc93be279de11bc2","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"bf817db51dda1a01fc93be279de11bc2"} gateway-1 | {"time_local":"16/Oct/2024:09:56:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a? 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":"bf817db51dda1a01fc93be279de11bc2"} device-1 | {"level":"info","message":"GET /devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a? 200 19ms","method":"GET","requestID":"bf817db51dda1a01fc93be279de11bc2","responseTime":19,"status":200,"url":"/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo","level":"info","message":"auth send jwt","requestID":"27dc512ecf28172f3c42c26f85d0e841"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"27dc512ecf28172f3c42c26f85d0e841","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"27dc512ecf28172f3c42c26f85d0e841"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1005,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1005,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.20966,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"27dc512ecf28172f3c42c26f85d0e841","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072584,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"27dc512ecf28172f3c42c26f85d0e841","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9"},"level":"info","message":"Attempting to run experiment","requestID":"27dc512ecf28172f3c42c26f85d0e841"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9"},"level":"info","message":"Attempting to book experiment","requestID":"27dc512ecf28172f3c42c26f85d0e841"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9"},"level":"info","message":"Successfully booked experiment","requestID":"27dc512ecf28172f3c42c26f85d0e841"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e73878f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e738c710-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1006,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1006,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.624905,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1007,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e73878f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072584,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e73878f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1007,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.88946,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e738c710-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072584,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e738c710-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff18fe6bb-f931-49a0-9c85-2f75c4de8c12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff18fe6bb-f931-49a0-9c85-2f75c4de8c12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:21.893996119Z"}]},"request_id":"16d8e268-27e7-409a-8595-c9a4f3347dbd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.1991777} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e73878f0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49c3f979-5e51-49af-9371-f6f96e9a1d0a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49c3f979-5e51-49af-9371-f6f96e9a1d0a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:21.942838617Z"}]},"request_id":"3372d37b-9fcd-431b-ba64-757381ead1a9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.1999662} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e738c710-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e73878f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12? 200 15ms","method":"GET","requestID":"e73878f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e738c710-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a? 200 13ms","method":"GET","requestID":"e738c710-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9"},"level":"info","message":"Setting up experiment","requestID":"27dc512ecf28172f3c42c26f85d0e841"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"27dc512ecf28172f3c42c26f85d0e841"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9"},"level":"info","message":"Successfully locked booking for experiment","requestID":"27dc512ecf28172f3c42c26f85d0e841"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"27dc512ecf28172f3c42c26f85d0e841"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"27dc512ecf28172f3c42c26f85d0e841"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9"},"level":"info","message":"Attempting to update booking for experiment","requestID":"27dc512ecf28172f3c42c26f85d0e841"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9"},"level":"info","message":"Successfully updated booking for experiment","requestID":"27dc512ecf28172f3c42c26f85d0e841"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9"},"level":"info","message":"Successfully set up experiment","requestID":"27dc512ecf28172f3c42c26f85d0e841"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e7406830-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e740b650-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e7410470-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9"},"level":"info","message":"Successfully running experiment","requestID":"27dc512ecf28172f3c42c26f85d0e841"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1008,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1008,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.342986,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1009,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e7406830-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072584,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"e7406830-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1009,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.253468,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"client_addr":"127.0.0.1:57716","level":"info","msg":"Received request.","req_id":1010,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e740b650-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072584,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"e740b650-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff18fe6bb-f931-49a0-9c85-2f75c4de8c12","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"860c8c91-0031-4d26-b377-0b2eb6e452f2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.258954} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff18fe6bb-f931-49a0-9c85-2f75c4de8c12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff18fe6bb-f931-49a0-9c85-2f75c4de8c12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:21.893996119Z"}]},"request_id":"b46262e7-87a0-492e-b54e-f5ffa4aafe88","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.2608736} authorization-1 | {"client_addr":"127.0.0.1:57716","level":"info","msg":"Sent response.","req_id":1010,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":6.532724,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e7410470-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12","object_type":"device","rebac_allow":false,"scope_allow":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":"e7410470-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"e7406830-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49c3f979-5e51-49af-9371-f6f96e9a1d0a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49c3f979-5e51-49af-9371-f6f96e9a1d0a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:21.942838617Z"}]},"request_id":"20e543fb-995e-4709-ba2f-b32f73a9d940","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.2627149} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"e740b650-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e7406830-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12? 200 29ms","method":"GET","requestID":"e7406830-8ba4-11ef-a62f-5f7f958aa687","responseTime":29,"status":200,"url":"/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e7410470-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12/signaling 200 26ms","method":"POST","requestID":"e7410470-8ba4-11ef-a62f-5f7f958aa687","responseTime":26,"status":200,"url":"/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e740b650-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a? 200 30ms","method":"GET","requestID":"e740b650-8ba4-11ef-a62f-5f7f958aa687","responseTime":30,"status":200,"url":"/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e7457140-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F0c150294-06a4-4fe2-9e50-b7fb9221cbc9#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F0c150294-06a4-4fe2-9e50-b7fb9221cbc9","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"9f47291b-902e-4569-9bf0-fad44eea8b2d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.277552} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f8e3243b-e3db-43e3-b33b-298b7abd725a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.2780435} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e745e670-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 26ms","method":"POST","requestID":"27dc512ecf28172f3c42c26f85d0e841","responseTime":26,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1011,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1012,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49c3f979-5e51-49af-9371-f6f96e9a1d0a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a9fe6aab-fc62-4aa1-a9f9-50c2831f2716","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.285707} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1011,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.032708,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e7457140-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a","object_type":"device","rebac_allow":false,"scope_allow":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":"e7457140-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff18fe6bb-f931-49a0-9c85-2f75c4de8c12","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5fe49d05-0c8a-4923-819f-a43d7fbf7460","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.2880034} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1012,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.372196,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e745e670-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12","object_type":"device","rebac_allow":false,"scope_allow":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":"e745e670-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"27dc512ecf28172f3c42c26f85d0e841"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e7457140-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"level":"info","message":"POST /experiments? 201 145ms","method":"POST","requestID":"27dc512ecf28172f3c42c26f85d0e841","responseTime":145,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1292","request_time":"0.151","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"27dc512ecf28172f3c42c26f85d0e841"} device-1 | {"level":"info","message":"POST /devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a/signaling 200 18ms","method":"POST","requestID":"e7457140-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e745e670-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12/signaling 200 18ms","method":"POST","requestID":"e745e670-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e748f3b0-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo","level":"info","message":"auth send jwt","requestID":"4c5b42d0c7b8940db34ac009ca499c39"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"4c5b42d0c7b8940db34ac009ca499c39","responseTime":5,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1013,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4c5b42d0c7b8940db34ac009ca499c39"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49c3f979-5e51-49af-9371-f6f96e9a1d0a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dd08f99e-2b6a-482d-ad40-9756e47e66a3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.3061507} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1014,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1013,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.319339,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e748f3b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a","object_type":"device","rebac_allow":false,"scope_allow":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":"e748f3b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1014,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.690943,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"4c5b42d0c7b8940db34ac009ca499c39","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072584,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"4c5b42d0c7b8940db34ac009ca499c39","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e748f3b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a/signaling 200 16ms","method":"POST","requestID":"e748f3b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a/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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff18fe6bb-f931-49a0-9c85-2f75c4de8c12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff18fe6bb-f931-49a0-9c85-2f75c4de8c12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:21.893996119Z"}]},"request_id":"1348c653-1153-4dc9-9620-030a92f1077e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.3155832} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"27dc512ecf28172f3c42c26f85d0e841"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"4c5b42d0c7b8940db34ac009ca499c39","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e74c2800-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e74c7620-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4c5b42d0c7b8940db34ac009ca499c39"} gateway-1 | {"time_local":"16/Oct/2024:09:56:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12? 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":"4c5b42d0c7b8940db34ac009ca499c39"} device-1 | {"level":"info","message":"GET /devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12? 200 22ms","method":"GET","requestID":"4c5b42d0c7b8940db34ac009ca499c39","responseTime":22,"status":200,"url":"/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1015,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1015,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.431059,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1016,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e74c2800-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072584,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"e74c2800-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1016,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.138349,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e74c7620-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072584,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e74c7620-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo","level":"info","message":"auth send jwt","requestID":"0ba5a6d7e924e653cc7a2077b912342e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0ba5a6d7e924e653cc7a2077b912342e","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0ba5a6d7e924e653cc7a2077b912342e"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff18fe6bb-f931-49a0-9c85-2f75c4de8c12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff18fe6bb-f931-49a0-9c85-2f75c4de8c12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:21.893996119Z"}]},"request_id":"9b0df104-5dc3-49ad-93c1-edc25af2fc6d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.3326938} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"e74c2800-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49c3f979-5e51-49af-9371-f6f96e9a1d0a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49c3f979-5e51-49af-9371-f6f96e9a1d0a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:21.942838617Z"}]},"request_id":"4e965c46-6fb7-4f5d-9686-96a109c06d6e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.3348563} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e74c2800-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"e74c7620-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1017,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} device-1 | {"level":"info","message":"GET /devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12? 200 19ms","method":"GET","requestID":"e74c2800-8ba4-11ef-a62f-5f7f958aa687","responseTime":19,"status":200,"url":"/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1017,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.315602,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0ba5a6d7e924e653cc7a2077b912342e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072584,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0ba5a6d7e924e653cc7a2077b912342e","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e74c7620-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a? 200 21ms","method":"GET","requestID":"e74c7620-8ba4-11ef-a62f-5f7f958aa687","responseTime":21,"status":200,"url":"/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49c3f979-5e51-49af-9371-f6f96e9a1d0a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49c3f979-5e51-49af-9371-f6f96e9a1d0a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:21.942838617Z"}]},"request_id":"3f682426-56e1-4b45-8056-25465d3f38e6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.34344} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9"},"level":"info","message":"Building connection plan","requestID":"27dc512ecf28172f3c42c26f85d0e841"} 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":"5b587a62-e8df-4455-84ea-13f683c8eead"},{"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":"28162166-f07b-4968-9a54-d0f1046b7b32"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"c178f6bf-0efc-47cd-b981-3962bf2ef7e4"}]},"level":"info","message":"Built pairwise service configurations","requestID":"27dc512ecf28172f3c42c26f85d0e841"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0ba5a6d7e924e653cc7a2077b912342e","responseTime":3,"status":200,"url":"/relations/query"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"e7501fa0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"e7501fa0-8ba4-11ef-a042-213954f0282b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0ba5a6d7e924e653cc7a2077b912342e"} gateway-1 | {"time_local":"16/Oct/2024:09:56:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a? 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":"0ba5a6d7e924e653cc7a2077b912342e"} device-1 | {"level":"info","message":"GET /devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a? 200 14ms","method":"GET","requestID":"0ba5a6d7e924e653cc7a2077b912342e","responseTime":14,"status":200,"url":"/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a?"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"e750bbe0-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/2dbca2f3-7163-4526-8c63-4fe5b1acff1e?id=feaa96a2-2d30-4c04-993a-28ef692124ef","ws://localhost/rooms/2dbca2f3-7163-4526-8c63-4fe5b1acff1e?id=b21673cf-13db-4a75-8fed-1404fa55ab25"]},"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/f18fe6bb-f931-49a0-9c85-2f75c4de8c12"},{"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/49c3f979-5e51-49af-9371-f6f96e9a1d0a"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"27dc512ecf28172f3c42c26f85d0e841"} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"e7501fa0-8ba4-11ef-a042-213954f0282b","responseTime":1,"status":201,"url":"/rooms"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1018,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1018,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.402036,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e750bbe0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072584,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e750bbe0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"6600250f-848f-46a3-a654-665263e4c372","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.3642209} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9ada8b33-1657-475a-b5e5-40ca8def510c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.3645122} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"e750bbe0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"e750bbe0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"e750bbe0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/667d0583-3e96-4ffa-9afa-58d1efdd7ca9'","requestID":"e750bbe0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/667d0583-3e96-4ffa-9afa-58d1efdd7ca9'","requestID":"e750bbe0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"e750bbe0-8ba4-11ef-a62f-5f7f958aa687"} 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":"e750bbe0-8ba4-11ef-a62f-5f7f958aa687","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":"e750bbe0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/667d0583-3e96-4ffa-9afa-58d1efdd7ca9' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"667d0583-3e96-4ffa-9afa-58d1efdd7ca9","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"e7574b90-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"feaa96a2-2d30-4c04-993a-28ef692124ef\" in room \"http://localhost/rooms/2dbca2f3-7163-4526-8c63-4fe5b1acff1e\"","requestID":"e7574b90-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"e7574b90-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"bc93719300747ca8eb38bd2bc492ef83","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"bc93719300747ca8eb38bd2bc492ef83","responseTime":2,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"e757c0c0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"b21673cf-13db-4a75-8fed-1404fa55ab25\" in room \"http://localhost/rooms/2dbca2f3-7163-4526-8c63-4fe5b1acff1e\"","requestID":"e757c0c0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"e757c0c0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"b21673cf-13db-4a75-8fed-1404fa55ab25\" in room \"http://localhost/rooms/2dbca2f3-7163-4526-8c63-4fe5b1acff1e\"","requestID":"e757c0c0-8ba4-11ef-a042-213954f0282b"} 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/f18fe6bb-f931-49a0-9c85-2f75c4de8c12"},{"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/49c3f979-5e51-49af-9371-f6f96e9a1d0a"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/667d0583-3e96-4ffa-9afa-58d1efdd7ca9"}}},"level":"info","message":"received a callback","requestID":"bc93719300747ca8eb38bd2bc492ef83"} device-1 | {"data":{"peerconnection":"667d0583-3e96-4ffa-9afa-58d1efdd7ca9","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 10ms","method":"POST","requestID":"bc93719300747ca8eb38bd2bc492ef83","responseTime":10,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56:24 +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":"bc93719300747ca8eb38bd2bc492ef83"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"27dc512ecf28172f3c42c26f85d0e841"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e75a7fe0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1019,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff18fe6bb-f931-49a0-9c85-2f75c4de8c12","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8fc83554-382f-4ab1-b263-b79e7c43cfa7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.420116} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1019,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.804019,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e75a7fe0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12","object_type":"device","rebac_allow":false,"scope_allow":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":"e75a7fe0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"data":{"peerconnection":"667d0583-3e96-4ffa-9afa-58d1efdd7ca9","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e75a7fe0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12/signaling 200 13ms","method":"POST","requestID":"e75a7fe0-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e75cc9d0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1020,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49c3f979-5e51-49af-9371-f6f96e9a1d0a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5ff8e4ce-ea0f-49c5-a310-fbfe6862fc79","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.4334033} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1020,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.347384,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e75cc9d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a","object_type":"device","rebac_allow":false,"scope_allow":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":"e75cc9d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/667d0583-3e96-4ffa-9afa-58d1efdd7ca9' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"667d0583-3e96-4ffa-9afa-58d1efdd7ca9","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e75cc9d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a/signaling 200 12ms","method":"POST","requestID":"e75cc9d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a/signaling"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"8215c974d1bbaedecb80b2c27bcc22da","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"8215c974d1bbaedecb80b2c27bcc22da","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":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12"},{"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/49c3f979-5e51-49af-9371-f6f96e9a1d0a"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/667d0583-3e96-4ffa-9afa-58d1efdd7ca9"}}},"level":"info","message":"received a callback","requestID":"8215c974d1bbaedecb80b2c27bcc22da"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"e75fd710-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1021,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F667d0583-3e96-4ffa-9afa-58d1efdd7ca9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3c68dc96-287b-4125-8c99-bc2dc9bf67a0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.4547856} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1021,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.2593,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/667d0583-3e96-4ffa-9afa-58d1efdd7ca9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e75fd710-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/667d0583-3e96-4ffa-9afa-58d1efdd7ca9","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":"e75fd710-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"e75fd710-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/667d0583-3e96-4ffa-9afa-58d1efdd7ca9 200 9ms","method":"GET","requestID":"e75fd710-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/peerconnections/667d0583-3e96-4ffa-9afa-58d1efdd7ca9"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 30ms","method":"POST","requestID":"8215c974d1bbaedecb80b2c27bcc22da","responseTime":30,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56:24 +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":"8215c974d1bbaedecb80b2c27bcc22da"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e763a7a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1022,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff18fe6bb-f931-49a0-9c85-2f75c4de8c12","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e647826b-3590-424d-bfe8-bef64c7c209b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.4793577} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1022,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.572757,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e763a7a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12","object_type":"device","rebac_allow":false,"scope_allow":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":"e763a7a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e763a7a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12/signaling 200 9ms","method":"POST","requestID":"e763a7a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e7655550-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1023,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49c3f979-5e51-49af-9371-f6f96e9a1d0a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1aa26445-763f-4e09-bed4-156727318b55","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.488882} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1023,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":1.985831,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e7655550-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a","object_type":"device","rebac_allow":false,"scope_allow":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":"e7655550-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e7655550-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a/signaling 200 8ms","method":"POST","requestID":"e7655550-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo","level":"info","message":"auth send jwt","requestID":"a8dc0af533a32907e5c1ca2b5a5fb5fc"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"a8dc0af533a32907e5c1ca2b5a5fb5fc","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9","requestID":"a8dc0af533a32907e5c1ca2b5a5fb5fc"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1024,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1024,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.92106,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a8dc0af533a32907e5c1ca2b5a5fb5fc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072584,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a8dc0af533a32907e5c1ca2b5a5fb5fc","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9","requestID":"a8dc0af533a32907e5c1ca2b5a5fb5fc"} gateway-1 | {"time_local":"16/Oct/2024:09:56:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9 HTTP/1.1","status": "200","body_bytes_sent":"1365","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a8dc0af533a32907e5c1ca2b5a5fb5fc"} experiment-1 | {"level":"info","message":"GET /experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9 200 11ms","method":"GET","requestID":"a8dc0af533a32907e5c1ca2b5a5fb5fc","responseTime":11,"status":200,"url":"/experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo","level":"info","message":"auth send jwt","requestID":"42bb0df5eaae38429cfc6ad4254bc242"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"42bb0df5eaae38429cfc6ad4254bc242","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9","requestID":"42bb0df5eaae38429cfc6ad4254bc242"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1025,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1025,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.879015,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"42bb0df5eaae38429cfc6ad4254bc242","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072584,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"42bb0df5eaae38429cfc6ad4254bc242","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9"},"level":"info","message":"Attempting to finish experiment","requestID":"42bb0df5eaae38429cfc6ad4254bc242"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"e76c8140-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1026,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1026,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.667627,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/667d0583-3e96-4ffa-9afa-58d1efdd7ca9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e76c8140-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/667d0583-3e96-4ffa-9afa-58d1efdd7ca9","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072584,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e76c8140-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:56:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/2dbca2f3-7163-4526-8c63-4fe5b1acff1e?id=feaa96a2-2d30-4c04-993a-28ef692124ef HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.155","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"974a8f361b42df02656607e48dddd02f"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"feaa96a2-2d30-4c04-993a-28ef692124ef\" in room \"http://localhost/rooms/2dbca2f3-7163-4526-8c63-4fe5b1acff1e\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"feaa96a2-2d30-4c04-993a-28ef692124ef\" from room \"http://localhost/rooms/2dbca2f3-7163-4526-8c63-4fe5b1acff1e\", code: 1006, reason: "} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/667d0583-3e96-4ffa-9afa-58d1efdd7ca9","device":"49c3f979-5e51-49af-9371-f6f96e9a1d0a","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/667d0583-3e96-4ffa-9afa-58d1efdd7ca9' to 'http://localhost/callbacks/experiment'"} gateway-1 | {"time_local":"16/Oct/2024:09:56:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/2dbca2f3-7163-4526-8c63-4fe5b1acff1e?id=b21673cf-13db-4a75-8fed-1404fa55ab25 HTTP/1.1","status": "101","body_bytes_sent":"460","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":"07f212f3beb18e780e42e3b874280c28"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/667d0583-3e96-4ffa-9afa-58d1efdd7ca9' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"667d0583-3e96-4ffa-9afa-58d1efdd7ca9","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"b21673cf-13db-4a75-8fed-1404fa55ab25\" in room \"http://localhost/rooms/2dbca2f3-7163-4526-8c63-4fe5b1acff1e\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"b21673cf-13db-4a75-8fed-1404fa55ab25\" from room \"http://localhost/rooms/2dbca2f3-7163-4526-8c63-4fe5b1acff1e\", code: 1005, reason: "} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b8fa6a6ed7b039e951a5fa5467cb3186","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"b8fa6a6ed7b039e951a5fa5467cb3186","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F667d0583-3e96-4ffa-9afa-58d1efdd7ca9': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F667d0583-3e96-4ffa-9afa-58d1efdd7ca9","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"4641617a-6eb8-4227-833f-0e18e1959428","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.5524707} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ce885d35f271a46203b69fb90ab92bc5","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/f18fe6bb-f931-49a0-9c85-2f75c4de8c12"},{"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/49c3f979-5e51-49af-9371-f6f96e9a1d0a"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/667d0583-3e96-4ffa-9afa-58d1efdd7ca9"}}},"level":"info","message":"received a callback","requestID":"b8fa6a6ed7b039e951a5fa5467cb3186"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ce885d35f271a46203b69fb90ab92bc5","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a4631b75-f594-42ba-829e-807204cdbd24","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.553239} 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/f18fe6bb-f931-49a0-9c85-2f75c4de8c12"},{"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/49c3f979-5e51-49af-9371-f6f96e9a1d0a"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/667d0583-3e96-4ffa-9afa-58d1efdd7ca9"}}},"level":"info","message":"received a callback","requestID":"ce885d35f271a46203b69fb90ab92bc5"} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"e76c8140-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"667d0583-3e96-4ffa-9afa-58d1efdd7ca9","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"e76c8140-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/667d0583-3e96-4ffa-9afa-58d1efdd7ca9 204 41ms","method":"DELETE","requestID":"e76c8140-8ba4-11ef-a62f-5f7f958aa687","responseTime":41,"status":204,"url":"/peerconnections/667d0583-3e96-4ffa-9afa-58d1efdd7ca9"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9"},"level":"info","message":"Successfully finished experiment","requestID":"42bb0df5eaae38429cfc6ad4254bc242"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e775a900-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1027,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff18fe6bb-f931-49a0-9c85-2f75c4de8c12","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"85a9f941-11c0-41e1-abcb-42e2acf777bd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.598044} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1027,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.205295,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e775a900-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12","object_type":"device","rebac_allow":false,"scope_allow":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":"e775a900-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e775a900-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12/signaling 200 12ms","method":"POST","requestID":"e775a900-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/f18fe6bb-f931-49a0-9c85-2f75c4de8c12/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F0c150294-06a4-4fe2-9e50-b7fb9221cbc9': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F0c150294-06a4-4fe2-9e50-b7fb9221cbc9","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"3cb81baf-ffa3-414c-80d6-b12c563028db","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.6056948} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5a37ef3d-53b3-411a-ac6c-080cdb218b9f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.605793} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e777cbe0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"42bb0df5eaae38429cfc6ad4254bc242","responseTime":17,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1028,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49c3f979-5e51-49af-9371-f6f96e9a1d0a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"19efddd6-9050-4b33-b26d-94965d32e23f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.6118953} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1028,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.324718,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e777cbe0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a","object_type":"device","rebac_allow":false,"scope_allow":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":"e777cbe0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e777cbe0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a/signaling 200 10ms","method":"POST","requestID":"e777cbe0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/49c3f979-5e51-49af-9371-f6f96e9a1d0a/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9","requestID":"42bb0df5eaae38429cfc6ad4254bc242"} gateway-1 | {"time_local":"16/Oct/2024:09:56:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9 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":"42bb0df5eaae38429cfc6ad4254bc242"} experiment-1 | {"level":"info","message":"DELETE /experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9 204 155ms","method":"DELETE","requestID":"42bb0df5eaae38429cfc6ad4254bc242","responseTime":155,"status":204,"url":"/experiments/0c150294-06a4-4fe2-9e50-b7fb9221cbc9"} gateway-1 | {"time_local":"16/Oct/2024:09:56:24 +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.194","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"e7a562c2f5b140ac894a491fb0c782ff"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 126ms","method":"POST","requestID":"b8fa6a6ed7b039e951a5fa5467cb3186","responseTime":126,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56:24 +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":"b8fa6a6ed7b039e951a5fa5467cb3186"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 125ms","method":"POST","requestID":"ce885d35f271a46203b69fb90ab92bc5","responseTime":125,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56:24 +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":"ce885d35f271a46203b69fb90ab92bc5"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo","level":"info","message":"auth send jwt","requestID":"269469ec4e103fee31e9342215cfbdbd"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"269469ec4e103fee31e9342215cfbdbd","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"269469ec4e103fee31e9342215cfbdbd"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1029,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} gateway-1 | {"time_local":"16/Oct/2024:09:56:24 +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.687","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"805821addc650ab196496fb7a5c8e2cb"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1029,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.468807,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"269469ec4e103fee31e9342215cfbdbd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072584,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"269469ec4e103fee31e9342215cfbdbd","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/f18fe6bb-f931-49a0-9c85-2f75c4de8c12' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89f88f07-ea1d-487c-9cba-9ea1ea286430","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"a6951fd1-1e05-4d3f-bd70-c7b6e6bd8a14","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.702868} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"269469ec4e103fee31e9342215cfbdbd","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/49c3f979-5e51-49af-9371-f6f96e9a1d0a' 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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a6305dd9-931a-443d-82d1-b73dd151da09","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.7082148} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"269469ec4e103fee31e9342215cfbdbd","responseTime":9,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89f88f07-ea1d-487c-9cba-9ea1ea286430","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"9e232540-b75d-40a6-a86d-63952fc38018","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.715719} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d1b26280-0d0a-4ed9-bbbf-e227bf2bf551","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.7159865} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"269469ec4e103fee31e9342215cfbdbd","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89f88f07-ea1d-487c-9cba-9ea1ea286430","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89f88f07-ea1d-487c-9cba-9ea1ea286430","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:24.715669336Z"}]},"request_id":"bea03753-5f7d-4f12-9503-1b5f9d54dd58","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.7199497} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"269469ec4e103fee31e9342215cfbdbd","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"269469ec4e103fee31e9342215cfbdbd"} gateway-1 | {"time_local":"16/Oct/2024:09:56:24 +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":"269469ec4e103fee31e9342215cfbdbd"} device-1 | {"level":"info","message":"POST /devices? 201 40ms","method":"POST","requestID":"269469ec4e103fee31e9342215cfbdbd","responseTime":40,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo","level":"info","message":"auth send jwt","requestID":"ef9b374d7f0bc87444575ed9dff6a42a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ef9b374d7f0bc87444575ed9dff6a42a","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"ef9b374d7f0bc87444575ed9dff6a42a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1030,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1030,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.87612,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:24Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ef9b374d7f0bc87444575ed9dff6a42a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072584,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NH0.-cOxn3uVls5qRFGX9CPbyZKbWRfwlLf5cKmVjzs9dUo"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ef9b374d7f0bc87444575ed9dff6a42a","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F09a101a7-c37d-4cba-beec-bd7c76bf38a6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"f9efca8e-b201-4482-9915-0dc47be32ee5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.7489436} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"ef9b374d7f0bc87444575ed9dff6a42a","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7f6a744c-c4ed-4bbb-962e-b7eb974717cf","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.7541165} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"ef9b374d7f0bc87444575ed9dff6a42a","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F09a101a7-c37d-4cba-beec-bd7c76bf38a6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"90b69196-1806-403a-9653-004cc99cb5c8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.764205} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a220d0af-3a4c-45d8-bade-befb8c64e98f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.7643301} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"ef9b374d7f0bc87444575ed9dff6a42a","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F09a101a7-c37d-4cba-beec-bd7c76bf38a6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F09a101a7-c37d-4cba-beec-bd7c76bf38a6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:24.764160438Z"}]},"request_id":"ffc3c8ab-1326-43f2-99fc-61510839565f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072584.7685814} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ef9b374d7f0bc87444575ed9dff6a42a","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"ef9b374d7f0bc87444575ed9dff6a42a"} gateway-1 | {"time_local":"16/Oct/2024:09:56:24 +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":"ef9b374d7f0bc87444575ed9dff6a42a"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"ef9b374d7f0bc87444575ed9dff6a42a","responseTime":43,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NX0.ZRpcDIPzTm6ZqwaGJyp6I-4S2rlKeFtVxP978is53TA","level":"info","message":"auth send jwt","requestID":"9a7a64e9e749785e83edc4efdfc9dd57"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"9a7a64e9e749785e83edc4efdfc9dd57","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"9a7a64e9e749785e83edc4efdfc9dd57"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1031,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:25Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1031,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.890793,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:25Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"9a7a64e9e749785e83edc4efdfc9dd57","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072585,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NX0.ZRpcDIPzTm6ZqwaGJyp6I-4S2rlKeFtVxP978is53TA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9a7a64e9e749785e83edc4efdfc9dd57","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89f88f07-ea1d-487c-9cba-9ea1ea286430","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89f88f07-ea1d-487c-9cba-9ea1ea286430","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:24.715669336Z"}]},"request_id":"d43b3308-2181-42e2-a7c2-cd970f3470d9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072585.261137} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9a7a64e9e749785e83edc4efdfc9dd57","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f3b20473-9974-4a95-ac85-62ac5c2391ea","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072585.2666051} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"9a7a64e9e749785e83edc4efdfc9dd57","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89f88f07-ea1d-487c-9cba-9ea1ea286430","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89f88f07-ea1d-487c-9cba-9ea1ea286430","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:24.715669336Z"}]},"request_id":"a39d9cc0-f5b1-4201-8693-193bc2847c65","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072585.2794657} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"9a7a64e9e749785e83edc4efdfc9dd57","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"9a7a64e9e749785e83edc4efdfc9dd57"} device-1 | {"level":"info","message":"PATCH /devices/89f88f07-ea1d-487c-9cba-9ea1ea286430 200 34ms","method":"PATCH","requestID":"9a7a64e9e749785e83edc4efdfc9dd57","responseTime":34,"status":200,"url":"/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430"} gateway-1 | {"time_local":"16/Oct/2024:09:56:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/89f88f07-ea1d-487c-9cba-9ea1ea286430 HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.039","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"9a7a64e9e749785e83edc4efdfc9dd57"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NX0.ZRpcDIPzTm6ZqwaGJyp6I-4S2rlKeFtVxP978is53TA","level":"info","message":"auth send jwt","requestID":"8453641e1f7d0d933e39db3a15a762dc"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"8453641e1f7d0d933e39db3a15a762dc","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"8453641e1f7d0d933e39db3a15a762dc"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1032,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:25Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1032,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.291037,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:25Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"8453641e1f7d0d933e39db3a15a762dc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072585,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4NX0.ZRpcDIPzTm6ZqwaGJyp6I-4S2rlKeFtVxP978is53TA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8453641e1f7d0d933e39db3a15a762dc","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"8453641e1f7d0d933e39db3a15a762dc"} device-1 | {"level":"info","message":"POST /devices/89f88f07-ea1d-487c-9cba-9ea1ea286430/websocket 200 20ms","method":"POST","requestID":"8453641e1f7d0d933e39db3a15a762dc","responseTime":20,"status":200,"url":"/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:56:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/89f88f07-ea1d-487c-9cba-9ea1ea286430/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.10","requestID":"8453641e1f7d0d933e39db3a15a762dc"} device-1 | {"level":"info","message":"device 'http://localhost/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2911efdf253462bc23e27602a33891fd","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"2911efdf253462bc23e27602a33891fd","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6/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":"2911efdf253462bc23e27602a33891fd"} device-1 | {"level":"info","message":"OPTIONS /devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6/websocket 200 1ms","method":"OPTIONS","requestID":"2911efdf253462bc23e27602a33891fd","responseTime":1,"status":200,"url":"/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4Nn0.4ZIEmn1BUEUYPe59yM1PSdSjQB4tp65qMfrWicIIDuU","level":"info","message":"auth send jwt","requestID":"21076c3b19e40507fedc0afc430c3872"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"21076c3b19e40507fedc0afc430c3872","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"21076c3b19e40507fedc0afc430c3872"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1033,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:26Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1033,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.289563,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:26Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"21076c3b19e40507fedc0afc430c3872","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072586,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4Nn0.4ZIEmn1BUEUYPe59yM1PSdSjQB4tp65qMfrWicIIDuU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"21076c3b19e40507fedc0afc430c3872","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"21076c3b19e40507fedc0afc430c3872"} device-1 | {"level":"info","message":"POST /devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6/websocket 200 20ms","method":"POST","requestID":"21076c3b19e40507fedc0afc430c3872","responseTime":20,"status":200,"url":"/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:56:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6/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":"21076c3b19e40507fedc0afc430c3872"} device-1 | {"level":"info","message":"device 'http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"5128bf900704f3384dbaaded4975508d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"5128bf900704f3384dbaaded4975508d","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6? 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":"5128bf900704f3384dbaaded4975508d"} device-1 | {"level":"info","message":"OPTIONS /devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6? 200 1ms","method":"OPTIONS","requestID":"5128bf900704f3384dbaaded4975508d","responseTime":1,"status":200,"url":"/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4Nn0.4ZIEmn1BUEUYPe59yM1PSdSjQB4tp65qMfrWicIIDuU","level":"info","message":"auth send jwt","requestID":"3ae95a5137c8ed719e51e11ae70aad4b"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"3ae95a5137c8ed719e51e11ae70aad4b","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"3ae95a5137c8ed719e51e11ae70aad4b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1034,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:26Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1034,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.217415,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:26Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3ae95a5137c8ed719e51e11ae70aad4b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072586,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4Nn0.4ZIEmn1BUEUYPe59yM1PSdSjQB4tp65qMfrWicIIDuU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3ae95a5137c8ed719e51e11ae70aad4b","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F09a101a7-c37d-4cba-beec-bd7c76bf38a6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F09a101a7-c37d-4cba-beec-bd7c76bf38a6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:24.764160438Z"}]},"request_id":"fe1489b9-1c06-4ffe-aace-267030cff40c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072586.8745975} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"3ae95a5137c8ed719e51e11ae70aad4b","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"80e46441-04b4-4ed2-8a6a-1c8235793c2f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072586.8815143} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"3ae95a5137c8ed719e51e11ae70aad4b","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F09a101a7-c37d-4cba-beec-bd7c76bf38a6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F09a101a7-c37d-4cba-beec-bd7c76bf38a6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:24.764160438Z"}]},"request_id":"57a9cbc5-124f-4ff0-9c5b-36163927d499","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072586.8927932} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"3ae95a5137c8ed719e51e11ae70aad4b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"3ae95a5137c8ed719e51e11ae70aad4b"} gateway-1 | {"time_local":"16/Oct/2024:09:56:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6? 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":"3ae95a5137c8ed719e51e11ae70aad4b"} device-1 | {"level":"info","message":"PATCH /devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6? 200 35ms","method":"PATCH","requestID":"3ae95a5137c8ed719e51e11ae70aad4b","responseTime":35,"status":200,"url":"/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4Nn0.4ZIEmn1BUEUYPe59yM1PSdSjQB4tp65qMfrWicIIDuU","level":"info","message":"auth send jwt","requestID":"a8cefddee3db557960790a208ca6b3c7"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a8cefddee3db557960790a208ca6b3c7","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a8cefddee3db557960790a208ca6b3c7"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1035,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:26Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1035,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.186482,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:26Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a8cefddee3db557960790a208ca6b3c7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072586,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4Nn0.4ZIEmn1BUEUYPe59yM1PSdSjQB4tp65qMfrWicIIDuU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a8cefddee3db557960790a208ca6b3c7","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89f88f07-ea1d-487c-9cba-9ea1ea286430","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89f88f07-ea1d-487c-9cba-9ea1ea286430","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:24.715669336Z"}]},"request_id":"a5802427-2a7f-43a8-afe5-6dbacfc245e7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072586.9213347} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"a8cefddee3db557960790a208ca6b3c7","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a8cefddee3db557960790a208ca6b3c7"} device-1 | {"level":"info","message":"GET /devices/89f88f07-ea1d-487c-9cba-9ea1ea286430? 200 16ms","method":"GET","requestID":"a8cefddee3db557960790a208ca6b3c7","responseTime":16,"status":200,"url":"/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/89f88f07-ea1d-487c-9cba-9ea1ea286430? 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":"a8cefddee3db557960790a208ca6b3c7"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4Nn0.4ZIEmn1BUEUYPe59yM1PSdSjQB4tp65qMfrWicIIDuU","level":"info","message":"auth send jwt","requestID":"9e83c72e2bae85dde09f583808be10d6"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9e83c72e2bae85dde09f583808be10d6","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9e83c72e2bae85dde09f583808be10d6"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1036,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:26Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1036,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.902096,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:26Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"9e83c72e2bae85dde09f583808be10d6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072586,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4Nn0.4ZIEmn1BUEUYPe59yM1PSdSjQB4tp65qMfrWicIIDuU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9e83c72e2bae85dde09f583808be10d6","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F09a101a7-c37d-4cba-beec-bd7c76bf38a6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F09a101a7-c37d-4cba-beec-bd7c76bf38a6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:24.764160438Z"}]},"request_id":"20e39a27-5f08-483c-8e90-9ff548234ccb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072586.9442577} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9e83c72e2bae85dde09f583808be10d6","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9e83c72e2bae85dde09f583808be10d6"} gateway-1 | {"time_local":"16/Oct/2024:09:56:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6? 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":"9e83c72e2bae85dde09f583808be10d6"} device-1 | {"level":"info","message":"GET /devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6? 200 16ms","method":"GET","requestID":"9e83c72e2bae85dde09f583808be10d6","responseTime":16,"status":200,"url":"/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4Nn0.4ZIEmn1BUEUYPe59yM1PSdSjQB4tp65qMfrWicIIDuU","level":"info","message":"auth send jwt","requestID":"c182f7a94eb4773b5da95db26c1a5100"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c182f7a94eb4773b5da95db26c1a5100","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"c182f7a94eb4773b5da95db26c1a5100"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1037,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:26Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1037,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.296895,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:26Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c182f7a94eb4773b5da95db26c1a5100","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072586,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4Nn0.4ZIEmn1BUEUYPe59yM1PSdSjQB4tp65qMfrWicIIDuU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"c182f7a94eb4773b5da95db26c1a5100","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5"},"level":"info","message":"Attempting to run experiment","requestID":"c182f7a94eb4773b5da95db26c1a5100"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5"},"level":"info","message":"Attempting to book experiment","requestID":"c182f7a94eb4773b5da95db26c1a5100"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5"},"level":"info","message":"Successfully booked experiment","requestID":"c182f7a94eb4773b5da95db26c1a5100"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e8e628f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e8e67710-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1038,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1038,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.958549,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e8e628f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072586,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4Nn0.4ZIEmn1BUEUYPe59yM1PSdSjQB4tp65qMfrWicIIDuU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e8e628f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1039,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1039,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.238714,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e8e67710-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072586,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4Nn0.4ZIEmn1BUEUYPe59yM1PSdSjQB4tp65qMfrWicIIDuU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e8e67710-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89f88f07-ea1d-487c-9cba-9ea1ea286430","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89f88f07-ea1d-487c-9cba-9ea1ea286430","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:24.715669336Z"}]},"request_id":"ed9b5cc9-1f03-4a42-9d6e-893c2313018e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.01741} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e8e628f0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F09a101a7-c37d-4cba-beec-bd7c76bf38a6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F09a101a7-c37d-4cba-beec-bd7c76bf38a6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:24.764160438Z"}]},"request_id":"2d71dae1-405d-418f-826b-8b1663b99106","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.018592} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e8e67710-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e8e628f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/89f88f07-ea1d-487c-9cba-9ea1ea286430? 200 18ms","method":"GET","requestID":"e8e628f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e8e67710-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6? 200 18ms","method":"GET","requestID":"e8e67710-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5"},"level":"info","message":"Setting up experiment","requestID":"c182f7a94eb4773b5da95db26c1a5100"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"c182f7a94eb4773b5da95db26c1a5100"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5"},"level":"info","message":"Successfully locked booking for experiment","requestID":"c182f7a94eb4773b5da95db26c1a5100"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"c182f7a94eb4773b5da95db26c1a5100"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"c182f7a94eb4773b5da95db26c1a5100"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5"},"level":"info","message":"Attempting to update booking for experiment","requestID":"c182f7a94eb4773b5da95db26c1a5100"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5"},"level":"info","message":"Successfully updated booking for experiment","requestID":"c182f7a94eb4773b5da95db26c1a5100"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5"},"level":"info","message":"Successfully set up experiment","requestID":"c182f7a94eb4773b5da95db26c1a5100"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e8f06220-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e8f0b040-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1040,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:27Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e8f12570-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1040,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.438318,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1041,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:27Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5"},"level":"info","message":"Successfully running experiment","requestID":"c182f7a94eb4773b5da95db26c1a5100"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e8f06220-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072586,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4Nn0.4ZIEmn1BUEUYPe59yM1PSdSjQB4tp65qMfrWicIIDuU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e8f06220-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1041,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.216245,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e8f0b040-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072586,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4Nn0.4ZIEmn1BUEUYPe59yM1PSdSjQB4tp65qMfrWicIIDuU"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"e8f0b040-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1042,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1042,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.4321,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89f88f07-ea1d-487c-9cba-9ea1ea286430","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b1e6c046-5c3e-465b-9564-44a3ff75d531","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.087487} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89f88f07-ea1d-487c-9cba-9ea1ea286430","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89f88f07-ea1d-487c-9cba-9ea1ea286430","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:24.715669336Z"}]},"request_id":"1b7f3280-060f-464f-9113-2a260f057b34","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.0895147} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e8f12570-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430","object_type":"device","rebac_allow":false,"scope_allow":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":"e8f12570-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F09a101a7-c37d-4cba-beec-bd7c76bf38a6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F09a101a7-c37d-4cba-beec-bd7c76bf38a6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:24.764160438Z"}]},"request_id":"f54498bf-ded7-4add-8553-5b44d80f42b6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.0913386} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"e8f06220-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"e8f0b040-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e8f06220-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/89f88f07-ea1d-487c-9cba-9ea1ea286430? 200 25ms","method":"GET","requestID":"e8f06220-8ba4-11ef-a62f-5f7f958aa687","responseTime":25,"status":200,"url":"/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e8f12570-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/89f88f07-ea1d-487c-9cba-9ea1ea286430/signaling 200 21ms","method":"POST","requestID":"e8f12570-8ba4-11ef-a62f-5f7f958aa687","responseTime":21,"status":200,"url":"/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e8f0b040-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6? 200 26ms","method":"GET","requestID":"e8f0b040-8ba4-11ef-a62f-5f7f958aa687","responseTime":26,"status":200,"url":"/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e8f4cef0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e8f54420-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc4bac125-4a0b-476a-84de-e39372dfc7c5#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc4bac125-4a0b-476a-84de-e39372dfc7c5","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"fbb7914b-d162-42ed-81c6-cabb7821c6ac","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.1072435} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b80105cd-cb81-472b-ad0c-be6fa70fdc1b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.107975} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1043,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F09a101a7-c37d-4cba-beec-bd7c76bf38a6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a22fc91e-bb37-449e-ad72-0f331fcdd146","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.1118348} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1043,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.635628,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1044,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"level":"info","message":"POST /relations/update 200 27ms","method":"POST","requestID":"c182f7a94eb4773b5da95db26c1a5100","responseTime":27,"status":200,"url":"/relations/update"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e8f4cef0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6","object_type":"device","rebac_allow":false,"scope_allow":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":"e8f4cef0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89f88f07-ea1d-487c-9cba-9ea1ea286430","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bd5cbe60-1878-4323-954c-0efaec71fed3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.1143663} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1044,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.73552,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e8f54420-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430","object_type":"device","rebac_allow":false,"scope_allow":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":"e8f54420-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e8f4cef0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6/signaling 200 16ms","method":"POST","requestID":"e8f4cef0-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e8f54420-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/89f88f07-ea1d-487c-9cba-9ea1ea286430/signaling 200 15ms","method":"POST","requestID":"e8f54420-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430/signaling"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"c182f7a94eb4773b5da95db26c1a5100"} gateway-1 | {"time_local":"16/Oct/2024:09:56:27 +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":"c182f7a94eb4773b5da95db26c1a5100"} experiment-1 | {"level":"info","message":"POST /experiments? 201 167ms","method":"POST","requestID":"c182f7a94eb4773b5da95db26c1a5100","responseTime":167,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e8f87870-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4N30.RK_QphhZ2ZzrEKfrdk0Zj6V7b-yn0pZ1nhuDYchig8U","level":"info","message":"auth send jwt","requestID":"6fb9365d126a7648f7352c1d801258c9"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"6fb9365d126a7648f7352c1d801258c9","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6fb9365d126a7648f7352c1d801258c9"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1045,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F09a101a7-c37d-4cba-beec-bd7c76bf38a6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"01b21ef4-b4a5-47a4-b628-0d3279ab1342","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.1332035} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1045,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.396805,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1046,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e8f87870-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6","object_type":"device","rebac_allow":false,"scope_allow":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":"e8f87870-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1046,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.916329,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"6fb9365d126a7648f7352c1d801258c9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072587,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4N30.RK_QphhZ2ZzrEKfrdk0Zj6V7b-yn0pZ1nhuDYchig8U"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6fb9365d126a7648f7352c1d801258c9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e8f87870-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6/signaling 200 14ms","method":"POST","requestID":"e8f87870-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6/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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89f88f07-ea1d-487c-9cba-9ea1ea286430","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89f88f07-ea1d-487c-9cba-9ea1ea286430","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:24.715669336Z"}]},"request_id":"cfc80c58-a834-4565-a1a8-c3eba87297a2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.1413882} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"c182f7a94eb4773b5da95db26c1a5100"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6fb9365d126a7648f7352c1d801258c9","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e8fb1080-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e8fb3790-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1047,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1047,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.03436,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1048,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:27Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6fb9365d126a7648f7352c1d801258c9"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e8fb1080-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072586,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4Nn0.4ZIEmn1BUEUYPe59yM1PSdSjQB4tp65qMfrWicIIDuU"} gateway-1 | {"time_local":"16/Oct/2024:09:56:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/89f88f07-ea1d-487c-9cba-9ea1ea286430? 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":"6fb9365d126a7648f7352c1d801258c9"} device-1 | {"level":"info","message":"GET /devices/89f88f07-ea1d-487c-9cba-9ea1ea286430? 200 20ms","method":"GET","requestID":"6fb9365d126a7648f7352c1d801258c9","responseTime":20,"status":200,"url":"/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430?"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e8fb1080-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1048,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.961461,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e8fb3790-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072586,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4Nn0.4ZIEmn1BUEUYPe59yM1PSdSjQB4tp65qMfrWicIIDuU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e8fb3790-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4N30.RK_QphhZ2ZzrEKfrdk0Zj6V7b-yn0pZ1nhuDYchig8U","level":"info","message":"auth send jwt","requestID":"51c56ed96765d56ce0069f32fa6ffce5"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89f88f07-ea1d-487c-9cba-9ea1ea286430","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89f88f07-ea1d-487c-9cba-9ea1ea286430","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:24.715669336Z"}]},"request_id":"194acd06-28a7-4de5-96da-0510dc5f334e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.1536725} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"51c56ed96765d56ce0069f32fa6ffce5","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e8fb1080-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F09a101a7-c37d-4cba-beec-bd7c76bf38a6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F09a101a7-c37d-4cba-beec-bd7c76bf38a6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:24.764160438Z"}]},"request_id":"b583bb32-eb08-4e31-80f5-7049d575e164","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.155258} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"51c56ed96765d56ce0069f32fa6ffce5"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e8fb3790-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1049,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1049,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.807241,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"51c56ed96765d56ce0069f32fa6ffce5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072587,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4N30.RK_QphhZ2ZzrEKfrdk0Zj6V7b-yn0pZ1nhuDYchig8U"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"51c56ed96765d56ce0069f32fa6ffce5","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e8fb1080-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/89f88f07-ea1d-487c-9cba-9ea1ea286430? 200 18ms","method":"GET","requestID":"e8fb1080-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e8fb3790-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6? 200 18ms","method":"GET","requestID":"e8fb3790-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F09a101a7-c37d-4cba-beec-bd7c76bf38a6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F09a101a7-c37d-4cba-beec-bd7c76bf38a6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:24.764160438Z"}]},"request_id":"e92a3434-d50e-4e6f-91b1-6b072e625cfa","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.1636364} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5"},"level":"info","message":"Building connection plan","requestID":"c182f7a94eb4773b5da95db26c1a5100"} 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":"c571a7fe-c484-4ba8-977b-6e06f8dbd7fa"},{"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":"a513ad74-b99c-4557-996c-3f7d27ad9ade"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"dfaf2a0f-966f-439f-acf9-93e8501c26fd"}]},"level":"info","message":"Built pairwise service configurations","requestID":"c182f7a94eb4773b5da95db26c1a5100"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"51c56ed96765d56ce0069f32fa6ffce5","responseTime":3,"status":200,"url":"/relations/query"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"e8fe44d0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"e8fe44d0-8ba4-11ef-a042-213954f0282b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"51c56ed96765d56ce0069f32fa6ffce5"} gateway-1 | {"time_local":"16/Oct/2024:09:56:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6? 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":"51c56ed96765d56ce0069f32fa6ffce5"} device-1 | {"level":"info","message":"GET /devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6? 200 11ms","method":"GET","requestID":"51c56ed96765d56ce0069f32fa6ffce5","responseTime":11,"status":200,"url":"/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6?"} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"e8fe44d0-8ba4-11ef-a042-213954f0282b","responseTime":1,"status":201,"url":"/rooms"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/667347e0-c108-4bf5-8aeb-c72ac65b7328?id=9d8e3707-243f-4422-b3de-b63c566cd972","ws://localhost/rooms/667347e0-c108-4bf5-8aeb-c72ac65b7328?id=0ad3fd0c-e3ab-4aa8-b62f-8a2e68e93eaf"]},"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/09a101a7-c37d-4cba-beec-bd7c76bf38a6"},{"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/89f88f07-ea1d-487c-9cba-9ea1ea286430"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"c182f7a94eb4773b5da95db26c1a5100"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"e8fee110-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1050,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1050,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.726446,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e8fee110-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072586,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4Nn0.4ZIEmn1BUEUYPe59yM1PSdSjQB4tp65qMfrWicIIDuU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e8fee110-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"30a498bf-1e36-4ce6-b2e4-1b3b4dfafab5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.183557} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d7e591f7-c0e6-4e14-b36c-2c0e75f018ab","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.1837037} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"e8fee110-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"e8fee110-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"e8fee110-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/068b2ebf-a71f-4e79-97ca-1e53a7dce2fd'","requestID":"e8fee110-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/068b2ebf-a71f-4e79-97ca-1e53a7dce2fd'","requestID":"e8fee110-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"e8fee110-8ba4-11ef-a62f-5f7f958aa687"} 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":"e8fee110-8ba4-11ef-a62f-5f7f958aa687","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":"e8fee110-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/068b2ebf-a71f-4e79-97ca-1e53a7dce2fd' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"068b2ebf-a71f-4e79-97ca-1e53a7dce2fd","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"e904d480-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"0ad3fd0c-e3ab-4aa8-b62f-8a2e68e93eaf\" in room \"http://localhost/rooms/667347e0-c108-4bf5-8aeb-c72ac65b7328\"","requestID":"e904d480-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"e904d480-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6e0334fea51a6dd25d12ac6e8290c71e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"6e0334fea51a6dd25d12ac6e8290c71e","responseTime":1,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"e90549b0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9d8e3707-243f-4422-b3de-b63c566cd972\" in room \"http://localhost/rooms/667347e0-c108-4bf5-8aeb-c72ac65b7328\"","requestID":"e90549b0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"e90549b0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9d8e3707-243f-4422-b3de-b63c566cd972\" in room \"http://localhost/rooms/667347e0-c108-4bf5-8aeb-c72ac65b7328\"","requestID":"e90549b0-8ba4-11ef-a042-213954f0282b"} 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/09a101a7-c37d-4cba-beec-bd7c76bf38a6"},{"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/89f88f07-ea1d-487c-9cba-9ea1ea286430"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/068b2ebf-a71f-4e79-97ca-1e53a7dce2fd"}}},"level":"info","message":"received a callback","requestID":"6e0334fea51a6dd25d12ac6e8290c71e"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9d8e3707-243f-4422-b3de-b63c566cd972\" in room \"http://localhost/rooms/667347e0-c108-4bf5-8aeb-c72ac65b7328\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9d8e3707-243f-4422-b3de-b63c566cd972\" in room \"http://localhost/rooms/667347e0-c108-4bf5-8aeb-c72ac65b7328\""} device-1 | {"data":{"peerconnection":"068b2ebf-a71f-4e79-97ca-1e53a7dce2fd","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 11ms","method":"POST","requestID":"6e0334fea51a6dd25d12ac6e8290c71e","responseTime":11,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.014","http_referrer":"","http_user_agent":"node-fetch","requestID":"6e0334fea51a6dd25d12ac6e8290c71e"} device-1 | {"data":{"peerconnection":"068b2ebf-a71f-4e79-97ca-1e53a7dce2fd","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"c182f7a94eb4773b5da95db26c1a5100"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e9098f70-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1051,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89f88f07-ea1d-487c-9cba-9ea1ea286430","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bce2acb9-00b7-45df-8a9d-71e0c8a0f44d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.2436688} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1051,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.462304,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e9098f70-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430","object_type":"device","rebac_allow":false,"scope_allow":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":"e9098f70-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/068b2ebf-a71f-4e79-97ca-1e53a7dce2fd' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"068b2ebf-a71f-4e79-97ca-1e53a7dce2fd","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2fde7232e3345b083dfb58778f4004c8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"2fde7232e3345b083dfb58778f4004c8","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/09a101a7-c37d-4cba-beec-bd7c76bf38a6"},{"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/89f88f07-ea1d-487c-9cba-9ea1ea286430"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/068b2ebf-a71f-4e79-97ca-1e53a7dce2fd"}}},"level":"info","message":"received a callback","requestID":"2fde7232e3345b083dfb58778f4004c8"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e9098f70-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/89f88f07-ea1d-487c-9cba-9ea1ea286430/signaling 200 11ms","method":"POST","requestID":"e9098f70-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e90bd960-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1052,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F09a101a7-c37d-4cba-beec-bd7c76bf38a6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e0b1143a-416e-42b8-b7b3-007cfcc056ad","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.2585683} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1052,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.710498,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:27Z"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"e90c9cb0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e90bd960-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6","object_type":"device","rebac_allow":false,"scope_allow":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":"e90bd960-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1053,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F068b2ebf-a71f-4e79-97ca-1e53a7dce2fd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"83f47698-7bc3-432c-8c39-1a8440d2b568","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.2646942} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1053,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.015827,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/068b2ebf-a71f-4e79-97ca-1e53a7dce2fd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e90c9cb0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/068b2ebf-a71f-4e79-97ca-1e53a7dce2fd","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":"e90c9cb0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"e90c9cb0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/068b2ebf-a71f-4e79-97ca-1e53a7dce2fd 200 10ms","method":"GET","requestID":"e90c9cb0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/peerconnections/068b2ebf-a71f-4e79-97ca-1e53a7dce2fd"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e90bd960-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6/signaling 200 16ms","method":"POST","requestID":"e90bd960-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6/signaling"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 42ms","method":"POST","requestID":"2fde7232e3345b083dfb58778f4004c8","responseTime":42,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.044","http_referrer":"","http_user_agent":"node-fetch","requestID":"2fde7232e3345b083dfb58778f4004c8"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e9117eb0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1054,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F09a101a7-c37d-4cba-beec-bd7c76bf38a6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2868cedd-0449-46b6-80a1-0995d9b7dc5f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.2956488} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1054,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.393592,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e9117eb0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6","object_type":"device","rebac_allow":false,"scope_allow":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":"e9117eb0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e9117eb0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6/signaling 200 8ms","method":"POST","requestID":"e9117eb0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e9130550-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1055,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89f88f07-ea1d-487c-9cba-9ea1ea286430","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f8472497-e41a-40b3-ab28-954f5ebc30e4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.3062825} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1055,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.808875,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e9130550-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430","object_type":"device","rebac_allow":false,"scope_allow":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":"e9130550-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e9130550-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/89f88f07-ea1d-487c-9cba-9ea1ea286430/signaling 200 10ms","method":"POST","requestID":"e9130550-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4N30.RK_QphhZ2ZzrEKfrdk0Zj6V7b-yn0pZ1nhuDYchig8U","level":"info","message":"auth send jwt","requestID":"fd2dffc707d7f9a213332fdac9dbd59e"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"fd2dffc707d7f9a213332fdac9dbd59e","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5","requestID":"fd2dffc707d7f9a213332fdac9dbd59e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1056,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1056,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.961042,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fd2dffc707d7f9a213332fdac9dbd59e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072587,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4N30.RK_QphhZ2ZzrEKfrdk0Zj6V7b-yn0pZ1nhuDYchig8U"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"fd2dffc707d7f9a213332fdac9dbd59e","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5","requestID":"fd2dffc707d7f9a213332fdac9dbd59e"} gateway-1 | {"time_local":"16/Oct/2024:09:56:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5 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":"fd2dffc707d7f9a213332fdac9dbd59e"} experiment-1 | {"level":"info","message":"GET /experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5 200 11ms","method":"GET","requestID":"fd2dffc707d7f9a213332fdac9dbd59e","responseTime":11,"status":200,"url":"/experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4N30.RK_QphhZ2ZzrEKfrdk0Zj6V7b-yn0pZ1nhuDYchig8U","level":"info","message":"auth send jwt","requestID":"fb67a907a4e90be492b00433b6f02230"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"fb67a907a4e90be492b00433b6f02230","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5","requestID":"fb67a907a4e90be492b00433b6f02230"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1057,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1057,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.628646,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fb67a907a4e90be492b00433b6f02230","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072587,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4N30.RK_QphhZ2ZzrEKfrdk0Zj6V7b-yn0pZ1nhuDYchig8U"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"fb67a907a4e90be492b00433b6f02230","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5"},"level":"info","message":"Attempting to finish experiment","requestID":"fb67a907a4e90be492b00433b6f02230"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"e91a3140-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1058,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1058,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.790773,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/068b2ebf-a71f-4e79-97ca-1e53a7dce2fd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e91a3140-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/068b2ebf-a71f-4e79-97ca-1e53a7dce2fd","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072587,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4N30.RK_QphhZ2ZzrEKfrdk0Zj6V7b-yn0pZ1nhuDYchig8U"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e91a3140-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:56:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/667347e0-c108-4bf5-8aeb-c72ac65b7328?id=0ad3fd0c-e3ab-4aa8-b62f-8a2e68e93eaf HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.150","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"f5d56d62c7f31f9e73d6739451cd9b94"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"0ad3fd0c-e3ab-4aa8-b62f-8a2e68e93eaf\" in room \"http://localhost/rooms/667347e0-c108-4bf5-8aeb-c72ac65b7328\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"0ad3fd0c-e3ab-4aa8-b62f-8a2e68e93eaf\" from room \"http://localhost/rooms/667347e0-c108-4bf5-8aeb-c72ac65b7328\", code: 1006, reason: "} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/068b2ebf-a71f-4e79-97ca-1e53a7dce2fd","device":"09a101a7-c37d-4cba-beec-bd7c76bf38a6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} gateway-1 | {"time_local":"16/Oct/2024:09:56:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/667347e0-c108-4bf5-8aeb-c72ac65b7328?id=9d8e3707-243f-4422-b3de-b63c566cd972 HTTP/1.1","status": "101","body_bytes_sent":"918","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":"2aeaad1e567a0e1df8e73c45828f8d37"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"9d8e3707-243f-4422-b3de-b63c566cd972\" in room \"http://localhost/rooms/667347e0-c108-4bf5-8aeb-c72ac65b7328\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"9d8e3707-243f-4422-b3de-b63c566cd972\" from room \"http://localhost/rooms/667347e0-c108-4bf5-8aeb-c72ac65b7328\", code: 1005, reason: "} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/068b2ebf-a71f-4e79-97ca-1e53a7dce2fd' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/068b2ebf-a71f-4e79-97ca-1e53a7dce2fd' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"068b2ebf-a71f-4e79-97ca-1e53a7dce2fd","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F068b2ebf-a71f-4e79-97ca-1e53a7dce2fd': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F068b2ebf-a71f-4e79-97ca-1e53a7dce2fd","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"f4233de8-25a6-49f4-b680-9487922e3cf7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.362482} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"50d5e194-01e2-42c4-b48c-b155f9617221","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.3626413} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b541dd188d2f2bd4c25b501efdcf08ea","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"b541dd188d2f2bd4c25b501efdcf08ea","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"e91a3140-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4350081d36481bbb0ad36c79cefaf029","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"4350081d36481bbb0ad36c79cefaf029","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":"connected","url":"http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6"},{"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/89f88f07-ea1d-487c-9cba-9ea1ea286430"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/068b2ebf-a71f-4e79-97ca-1e53a7dce2fd"}}},"level":"info","message":"received a callback","requestID":"b541dd188d2f2bd4c25b501efdcf08ea"} 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/09a101a7-c37d-4cba-beec-bd7c76bf38a6"},{"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/89f88f07-ea1d-487c-9cba-9ea1ea286430"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/068b2ebf-a71f-4e79-97ca-1e53a7dce2fd"}}},"level":"info","message":"received a callback","requestID":"4350081d36481bbb0ad36c79cefaf029"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"e91a3140-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/068b2ebf-a71f-4e79-97ca-1e53a7dce2fd 204 30ms","method":"DELETE","requestID":"e91a3140-8ba4-11ef-a62f-5f7f958aa687","responseTime":30,"status":204,"url":"/peerconnections/068b2ebf-a71f-4e79-97ca-1e53a7dce2fd"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6'"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5"},"level":"info","message":"Successfully finished experiment","requestID":"fb67a907a4e90be492b00433b6f02230"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e9213620-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1059,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F09a101a7-c37d-4cba-beec-bd7c76bf38a6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9b28ab07-3484-43ae-a202-89c0e721dc81","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.3989437} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1059,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.653095,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e9213620-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6","object_type":"device","rebac_allow":false,"scope_allow":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":"e9213620-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e9213620-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6/signaling 200 8ms","method":"POST","requestID":"e9213620-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/09a101a7-c37d-4cba-beec-bd7c76bf38a6/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e922e3d0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc4bac125-4a0b-476a-84de-e39372dfc7c5': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc4bac125-4a0b-476a-84de-e39372dfc7c5","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"81989b80-487e-4908-855f-d5ab0435faff","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.4052985} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d53d43e2-d66d-4e87-b647-10a000da9ae2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.4056451} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"fb67a907a4e90be492b00433b6f02230","responseTime":15,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1060,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89f88f07-ea1d-487c-9cba-9ea1ea286430","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"345d53fe-8c86-4cfa-99de-15e80a9b0f76","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.4092953} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1060,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.277112,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e922e3d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430","object_type":"device","rebac_allow":false,"scope_allow":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":"e922e3d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e922e3d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/89f88f07-ea1d-487c-9cba-9ea1ea286430/signaling 200 8ms","method":"POST","requestID":"e922e3d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5","requestID":"fb67a907a4e90be492b00433b6f02230"} gateway-1 | {"time_local":"16/Oct/2024:09:56:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.125","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"fb67a907a4e90be492b00433b6f02230"} experiment-1 | {"level":"info","message":"DELETE /experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5 204 123ms","method":"DELETE","requestID":"fb67a907a4e90be492b00433b6f02230","responseTime":123,"status":204,"url":"/experiments/c4bac125-4a0b-476a-84de-e39372dfc7c5"} gateway-1 | {"time_local":"16/Oct/2024:09:56:27 +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.150","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"2f6db2f2b67dc35c7bfcbf01553f9f84"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 100ms","method":"POST","requestID":"b541dd188d2f2bd4c25b501efdcf08ea","responseTime":100,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.103","http_referrer":"","http_user_agent":"node-fetch","requestID":"b541dd188d2f2bd4c25b501efdcf08ea"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 100ms","method":"POST","requestID":"4350081d36481bbb0ad36c79cefaf029","responseTime":100,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.104","http_referrer":"","http_user_agent":"node-fetch","requestID":"4350081d36481bbb0ad36c79cefaf029"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4N30.RK_QphhZ2ZzrEKfrdk0Zj6V7b-yn0pZ1nhuDYchig8U","level":"info","message":"auth send jwt","requestID":"81ae9f06d702d32a2cc5d0449223391b"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"81ae9f06d702d32a2cc5d0449223391b","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"81ae9f06d702d32a2cc5d0449223391b"} gateway-1 | {"time_local":"16/Oct/2024:09:56:27 +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.653","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"b22e6e88afd0be07a6c3e890c93961a0"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1061,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1061,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":2.693279,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"81ae9f06d702d32a2cc5d0449223391b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072587,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4N30.RK_QphhZ2ZzrEKfrdk0Zj6V7b-yn0pZ1nhuDYchig8U"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"81ae9f06d702d32a2cc5d0449223391b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/89f88f07-ea1d-487c-9cba-9ea1ea286430' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5fcb020-af20-474a-bdd5-2160f8e2de21","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"c4ede508-4d39-4766-ae27-a972745a7f6a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.489217} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"81ae9f06d702d32a2cc5d0449223391b","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/09a101a7-c37d-4cba-beec-bd7c76bf38a6' 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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ee5cdcf9-f9cc-4a4c-8d48-06fe63feb358","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.493749} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"81ae9f06d702d32a2cc5d0449223391b","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5fcb020-af20-474a-bdd5-2160f8e2de21","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"5b7cd3af-b2ab-48bd-b086-03878687cbad","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.502872} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3dd3888d-45ec-4825-8a21-006796e5c5d6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.5030782} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"81ae9f06d702d32a2cc5d0449223391b","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5fcb020-af20-474a-bdd5-2160f8e2de21","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5fcb020-af20-474a-bdd5-2160f8e2de21","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:27.502841923Z"}]},"request_id":"61710b1b-c647-49ef-984c-ca877d77242e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.5082538} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"81ae9f06d702d32a2cc5d0449223391b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"81ae9f06d702d32a2cc5d0449223391b"} device-1 | {"level":"info","message":"POST /devices? 201 41ms","method":"POST","requestID":"81ae9f06d702d32a2cc5d0449223391b","responseTime":41,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:27 +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":"81ae9f06d702d32a2cc5d0449223391b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4N30.RK_QphhZ2ZzrEKfrdk0Zj6V7b-yn0pZ1nhuDYchig8U","level":"info","message":"auth send jwt","requestID":"d6a7feb0571338cdb088e244534d060a"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"d6a7feb0571338cdb088e244534d060a","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"d6a7feb0571338cdb088e244534d060a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1062,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1062,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.704468,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:27Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d6a7feb0571338cdb088e244534d060a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072587,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4N30.RK_QphhZ2ZzrEKfrdk0Zj6V7b-yn0pZ1nhuDYchig8U"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d6a7feb0571338cdb088e244534d060a","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd449cd2b-146f-46b3-9745-bef1f87fe1ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"e650025d-fa6b-4f10-9408-f75f9ea90ee7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.5357466} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"d6a7feb0571338cdb088e244534d060a","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a39a544a-3218-4ca7-983b-a9ef66c7c7e4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.5404494} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"d6a7feb0571338cdb088e244534d060a","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd449cd2b-146f-46b3-9745-bef1f87fe1ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"afff54c7-3953-4305-a867-fe9934167955","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.5507624} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b9d1adff-06e0-4f37-b8a3-dbd3414fe06c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.5508127} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"d6a7feb0571338cdb088e244534d060a","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd449cd2b-146f-46b3-9745-bef1f87fe1ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd449cd2b-146f-46b3-9745-bef1f87fe1ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:27.550716206Z"}]},"request_id":"13dc4837-a489-4ea7-9985-09597915672d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072587.5556552} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"d6a7feb0571338cdb088e244534d060a","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"d6a7feb0571338cdb088e244534d060a"} gateway-1 | {"time_local":"16/Oct/2024:09:56:27 +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":"d6a7feb0571338cdb088e244534d060a"} device-1 | {"level":"info","message":"POST /devices? 201 42ms","method":"POST","requestID":"d6a7feb0571338cdb088e244534d060a","responseTime":42,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0","level":"info","message":"auth send jwt","requestID":"805a0702f97a9dadff7e1de9e5493549"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"805a0702f97a9dadff7e1de9e5493549","responseTime":7,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0","level":"info","message":"auth send jwt","requestID":"2fe54a58c5758b85397d9c1fa4fa331d"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"2fe54a58c5758b85397d9c1fa4fa331d","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"805a0702f97a9dadff7e1de9e5493549"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"2fe54a58c5758b85397d9c1fa4fa331d"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1063,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1063,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.688431,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"805a0702f97a9dadff7e1de9e5493549","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072588,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"805a0702f97a9dadff7e1de9e5493549","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1064,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1064,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.898696,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"2fe54a58c5758b85397d9c1fa4fa331d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072588,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2fe54a58c5758b85397d9c1fa4fa331d","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd449cd2b-146f-46b3-9745-bef1f87fe1ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd449cd2b-146f-46b3-9745-bef1f87fe1ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:27.550716206Z"}]},"request_id":"aec59cff-227e-4f35-b3a1-bbea205c3031","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.0427809} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"805a0702f97a9dadff7e1de9e5493549","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5fcb020-af20-474a-bdd5-2160f8e2de21","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5fcb020-af20-474a-bdd5-2160f8e2de21","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:27.502841923Z"}]},"request_id":"38739824-3560-4be2-9782-4623abb34ce8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.043343} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"2fe54a58c5758b85397d9c1fa4fa331d","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"bbf7f4be-433a-4b09-b945-1dde1d178f23","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.0474362} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"805a0702f97a9dadff7e1de9e5493549","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f9dca9b8-f113-43b1-8990-3b0efd38f998","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.0489783} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"2fe54a58c5758b85397d9c1fa4fa331d","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5fcb020-af20-474a-bdd5-2160f8e2de21","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5fcb020-af20-474a-bdd5-2160f8e2de21","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:27.502841923Z"}]},"request_id":"07fd49ad-db8e-4b32-a665-6a51d8c5359d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.056579} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"2fe54a58c5758b85397d9c1fa4fa331d","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"2fe54a58c5758b85397d9c1fa4fa331d"} gateway-1 | {"time_local":"16/Oct/2024:09:56:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/b5fcb020-af20-474a-bdd5-2160f8e2de21 HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.038","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"2fe54a58c5758b85397d9c1fa4fa331d"} device-1 | {"level":"info","message":"PATCH /devices/b5fcb020-af20-474a-bdd5-2160f8e2de21 200 27ms","method":"PATCH","requestID":"2fe54a58c5758b85397d9c1fa4fa331d","responseTime":27,"status":200,"url":"/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd449cd2b-146f-46b3-9745-bef1f87fe1ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd449cd2b-146f-46b3-9745-bef1f87fe1ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:27.550716206Z"}]},"request_id":"9bc2fc29-6ae1-4508-9c89-82c1bc2b733f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.0626943} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"805a0702f97a9dadff7e1de9e5493549","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"805a0702f97a9dadff7e1de9e5493549"} gateway-1 | {"time_local":"16/Oct/2024:09:56:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.044","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"805a0702f97a9dadff7e1de9e5493549"} device-1 | {"level":"info","message":"PATCH /devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab 200 35ms","method":"PATCH","requestID":"805a0702f97a9dadff7e1de9e5493549","responseTime":35,"status":200,"url":"/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0","level":"info","message":"auth send jwt","requestID":"f6debe9e64bf85ed3db083b99e16e8f6"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"f6debe9e64bf85ed3db083b99e16e8f6"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"f6debe9e64bf85ed3db083b99e16e8f6","responseTime":3,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0","level":"info","message":"auth send jwt","requestID":"57da8118755216304658988f85b760c9"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"57da8118755216304658988f85b760c9","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"57da8118755216304658988f85b760c9"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1065,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1065,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.962824,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f6debe9e64bf85ed3db083b99e16e8f6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072588,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"f6debe9e64bf85ed3db083b99e16e8f6","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1066,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1066,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.65032,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"57da8118755216304658988f85b760c9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072588,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"57da8118755216304658988f85b760c9","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"f6debe9e64bf85ed3db083b99e16e8f6"} gateway-1 | {"time_local":"16/Oct/2024:09:56:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/b5fcb020-af20-474a-bdd5-2160f8e2de21/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.10","requestID":"f6debe9e64bf85ed3db083b99e16e8f6"} device-1 | {"level":"info","message":"POST /devices/b5fcb020-af20-474a-bdd5-2160f8e2de21/websocket 200 19ms","method":"POST","requestID":"f6debe9e64bf85ed3db083b99e16e8f6","responseTime":19,"status":200,"url":"/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"57da8118755216304658988f85b760c9"} device-1 | {"level":"info","message":"POST /devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab/websocket 200 22ms","method":"POST","requestID":"57da8118755216304658988f85b760c9","responseTime":22,"status":200,"url":"/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:56:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab/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.10","requestID":"57da8118755216304658988f85b760c9"} device-1 | {"level":"info","message":"device 'http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0","level":"info","message":"auth send jwt","requestID":"9727823a8a71e72ac6977758a46d8058"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"9727823a8a71e72ac6977758a46d8058","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9727823a8a71e72ac6977758a46d8058"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1067,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1067,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.020997,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"9727823a8a71e72ac6977758a46d8058","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072588,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"9727823a8a71e72ac6977758a46d8058","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5fcb020-af20-474a-bdd5-2160f8e2de21","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5fcb020-af20-474a-bdd5-2160f8e2de21","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:27.502841923Z"}]},"request_id":"fce1a039-9cb3-4c81-8a9c-36899b52f477","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.12076} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"9727823a8a71e72ac6977758a46d8058","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9727823a8a71e72ac6977758a46d8058"} gateway-1 | {"time_local":"16/Oct/2024:09:56:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b5fcb020-af20-474a-bdd5-2160f8e2de21? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9727823a8a71e72ac6977758a46d8058"} device-1 | {"level":"info","message":"GET /devices/b5fcb020-af20-474a-bdd5-2160f8e2de21? 200 11ms","method":"GET","requestID":"9727823a8a71e72ac6977758a46d8058","responseTime":11,"status":200,"url":"/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0","level":"info","message":"auth send jwt","requestID":"f91548a5fa7d320e16413732df852da5"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"f91548a5fa7d320e16413732df852da5","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f91548a5fa7d320e16413732df852da5"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1068,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1068,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.651375,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f91548a5fa7d320e16413732df852da5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072588,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f91548a5fa7d320e16413732df852da5","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd449cd2b-146f-46b3-9745-bef1f87fe1ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd449cd2b-146f-46b3-9745-bef1f87fe1ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:27.550716206Z"}]},"request_id":"dba4802a-424e-4153-a186-df45277f7e5f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.135259} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f91548a5fa7d320e16413732df852da5","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f91548a5fa7d320e16413732df852da5"} gateway-1 | {"time_local":"16/Oct/2024:09:56:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f91548a5fa7d320e16413732df852da5"} device-1 | {"level":"info","message":"GET /devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab? 200 10ms","method":"GET","requestID":"f91548a5fa7d320e16413732df852da5","responseTime":10,"status":200,"url":"/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0","level":"info","message":"auth send jwt","requestID":"7e731649fff2b917a3469a781e78b8b0"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"7e731649fff2b917a3469a781e78b8b0","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"7e731649fff2b917a3469a781e78b8b0"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1069,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1069,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.153025,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"7e731649fff2b917a3469a781e78b8b0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072588,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7e731649fff2b917a3469a781e78b8b0","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7"},"level":"info","message":"Attempting to run experiment","requestID":"7e731649fff2b917a3469a781e78b8b0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7"},"level":"info","message":"Attempting to book experiment","requestID":"7e731649fff2b917a3469a781e78b8b0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7"},"level":"info","message":"Successfully booked experiment","requestID":"7e731649fff2b917a3469a781e78b8b0"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e998fe30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e9992540-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1070,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1070,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.125086,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1071,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e998fe30-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072588,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e998fe30-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1071,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.129192,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e9992540-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072588,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e9992540-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5fcb020-af20-474a-bdd5-2160f8e2de21","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5fcb020-af20-474a-bdd5-2160f8e2de21","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:27.502841923Z"}]},"request_id":"906c0a40-e958-45c3-bbab-116bd4391852","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.187664} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e998fe30-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd449cd2b-146f-46b3-9745-bef1f87fe1ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd449cd2b-146f-46b3-9745-bef1f87fe1ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:27.550716206Z"}]},"request_id":"48bcc57e-5182-4287-b035-f710748fe8c3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.1887023} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"e9992540-8ba4-11ef-a62f-5f7f958aa687","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e998fe30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/b5fcb020-af20-474a-bdd5-2160f8e2de21? 200 14ms","method":"GET","requestID":"e998fe30-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e9992540-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab? 200 14ms","method":"GET","requestID":"e9992540-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7"},"level":"info","message":"Setting up experiment","requestID":"7e731649fff2b917a3469a781e78b8b0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"7e731649fff2b917a3469a781e78b8b0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7"},"level":"info","message":"Successfully locked booking for experiment","requestID":"7e731649fff2b917a3469a781e78b8b0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"7e731649fff2b917a3469a781e78b8b0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"7e731649fff2b917a3469a781e78b8b0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7"},"level":"info","message":"Attempting to update booking for experiment","requestID":"7e731649fff2b917a3469a781e78b8b0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7"},"level":"info","message":"Successfully updated booking for experiment","requestID":"7e731649fff2b917a3469a781e78b8b0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7"},"level":"info","message":"Successfully set up experiment","requestID":"7e731649fff2b917a3469a781e78b8b0"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e9a29b20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e9a2e940-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e9a31050-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7"},"level":"info","message":"Successfully running experiment","requestID":"7e731649fff2b917a3469a781e78b8b0"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1072,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1072,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.685813,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1073,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e9a29b20-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072588,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e9a29b20-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1073,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.188755,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"client_addr":"127.0.0.1:57716","level":"info","msg":"Received request.","req_id":1074,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e9a2e940-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072588,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"e9a2e940-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57716","level":"info","msg":"Sent response.","req_id":1074,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.019056,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5fcb020-af20-474a-bdd5-2160f8e2de21","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fdb204d1-02d3-40ec-b77b-01a38149c07e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.252538} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e9a31050-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21","object_type":"device","rebac_allow":false,"scope_allow":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":"e9a31050-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5fcb020-af20-474a-bdd5-2160f8e2de21","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5fcb020-af20-474a-bdd5-2160f8e2de21","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:27.502841923Z"}]},"request_id":"cf319afc-c311-4ef9-a887-8274cfff34e7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.2557478} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"e9a29b20-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd449cd2b-146f-46b3-9745-bef1f87fe1ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd449cd2b-146f-46b3-9745-bef1f87fe1ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:27.550716206Z"}]},"request_id":"8e2e0599-5e6a-4f06-951c-b44f980fa4ca","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.258781} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e9a31050-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b5fcb020-af20-474a-bdd5-2160f8e2de21/signaling 200 14ms","method":"POST","requestID":"e9a31050-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"e9a2e940-8ba4-11ef-a62f-5f7f958aa687","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e9a58150-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e9a29b20-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fdf7c62f1-13db-44fe-b454-2e3e58a2fad7#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fdf7c62f1-13db-44fe-b454-2e3e58a2fad7","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"653cf0cc-4680-40dd-83c6-7f523c46c344","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.263675} device-1 | {"level":"info","message":"GET /devices/b5fcb020-af20-474a-bdd5-2160f8e2de21? 200 21ms","method":"GET","requestID":"e9a29b20-8ba4-11ef-a62f-5f7f958aa687","responseTime":21,"status":200,"url":"/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"272f99a4-dd48-4c50-a11a-9814bcbe708b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.2639625} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e9a2e940-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab? 200 21ms","method":"GET","requestID":"e9a2e940-8ba4-11ef-a62f-5f7f958aa687","responseTime":21,"status":200,"url":"/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1075,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"7e731649fff2b917a3469a781e78b8b0","responseTime":18,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd449cd2b-146f-46b3-9745-bef1f87fe1ab","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"16365ed4-4b37-456c-8b1f-78a108f7855f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.2680256} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e9a692c0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1075,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.243455,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e9a58150-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab","object_type":"device","rebac_allow":false,"scope_allow":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":"e9a58150-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1076,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e9a58150-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab/signaling 200 12ms","method":"POST","requestID":"e9a58150-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5fcb020-af20-474a-bdd5-2160f8e2de21","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5b245551-f887-42a1-86e9-381acd0c2c9a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.2742884} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1076,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.148049,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"7e731649fff2b917a3469a781e78b8b0"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e9a692c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21","object_type":"device","rebac_allow":false,"scope_allow":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":"e9a692c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"POST /experiments? 201 132ms","method":"POST","requestID":"7e731649fff2b917a3469a781e78b8b0","responseTime":132,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1296","request_time":"0.137","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7e731649fff2b917a3469a781e78b8b0"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e9a692c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b5fcb020-af20-474a-bdd5-2160f8e2de21/signaling 200 11ms","method":"POST","requestID":"e9a692c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0","level":"info","message":"auth send jwt","requestID":"90230c3288588d73adbf3e4494e7fa8d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e9a88e90-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"90230c3288588d73adbf3e4494e7fa8d","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"90230c3288588d73adbf3e4494e7fa8d"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1077,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1078,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd449cd2b-146f-46b3-9745-bef1f87fe1ab","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2b28783f-0083-40c0-977b-7f6d519aa965","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.2852182} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1078,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.756203,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"90230c3288588d73adbf3e4494e7fa8d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072588,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"90230c3288588d73adbf3e4494e7fa8d","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1077,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.171008,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e9a88e90-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab","object_type":"device","rebac_allow":false,"scope_allow":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":"e9a88e90-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5fcb020-af20-474a-bdd5-2160f8e2de21","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5fcb020-af20-474a-bdd5-2160f8e2de21","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:27.502841923Z"}]},"request_id":"05cd62f9-2c3d-4b6f-bbd0-813254a19162","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.2889264} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e9a88e90-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"90230c3288588d73adbf3e4494e7fa8d","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"POST /devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab/signaling 200 9ms","method":"POST","requestID":"e9a88e90-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"7e731649fff2b917a3469a781e78b8b0"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e9aa3c40-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e9aa6350-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"90230c3288588d73adbf3e4494e7fa8d"} gateway-1 | {"time_local":"16/Oct/2024:09:56:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b5fcb020-af20-474a-bdd5-2160f8e2de21? 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":"90230c3288588d73adbf3e4494e7fa8d"} device-1 | {"level":"info","message":"GET /devices/b5fcb020-af20-474a-bdd5-2160f8e2de21? 200 13ms","method":"GET","requestID":"90230c3288588d73adbf3e4494e7fa8d","responseTime":13,"status":200,"url":"/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1079,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1079,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.712318,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1080,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e9aa3c40-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072588,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e9aa3c40-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1080,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.586192,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e9aa6350-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072588,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e9aa6350-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0","level":"info","message":"auth send jwt","requestID":"a92406bfee44ae7b6e56c46b4c96889f"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"a92406bfee44ae7b6e56c46b4c96889f","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a92406bfee44ae7b6e56c46b4c96889f"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5fcb020-af20-474a-bdd5-2160f8e2de21","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5fcb020-af20-474a-bdd5-2160f8e2de21","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:27.502841923Z"}]},"request_id":"3739e045-1675-48c7-a940-d1da6888ab76","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.3013713} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e9aa3c40-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd449cd2b-146f-46b3-9745-bef1f87fe1ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd449cd2b-146f-46b3-9745-bef1f87fe1ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:27.550716206Z"}]},"request_id":"e3d888c9-741e-4b21-925c-9a97b5d9d38f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.3027432} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e9aa6350-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e9aa3c40-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1081,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1081,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.808255,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} device-1 | {"level":"info","message":"GET /devices/b5fcb020-af20-474a-bdd5-2160f8e2de21? 200 14ms","method":"GET","requestID":"e9aa3c40-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a92406bfee44ae7b6e56c46b4c96889f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072588,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"a92406bfee44ae7b6e56c46b4c96889f","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e9aa6350-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab? 200 17ms","method":"GET","requestID":"e9aa6350-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd449cd2b-146f-46b3-9745-bef1f87fe1ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd449cd2b-146f-46b3-9745-bef1f87fe1ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:27.550716206Z"}]},"request_id":"88ff66af-2213-4a58-a244-21526aca4732","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.3106568} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7"},"level":"info","message":"Building connection plan","requestID":"7e731649fff2b917a3469a781e78b8b0"} 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":"2b7b49df-ba9e-4af1-98f7-5bb0b4339615"},{"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":"0c05600a-1cb1-4908-b5c5-007a62ad8d91"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"cd8eb38e-e412-4c8b-b809-8ce8e561c256"}]},"level":"info","message":"Built pairwise service configurations","requestID":"7e731649fff2b917a3469a781e78b8b0"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a92406bfee44ae7b6e56c46b4c96889f","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a92406bfee44ae7b6e56c46b4c96889f"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"e9ad7090-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"e9ad7090-8ba4-11ef-a042-213954f0282b"} gateway-1 | {"time_local":"16/Oct/2024:09:56:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab? 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":"a92406bfee44ae7b6e56c46b4c96889f"} device-1 | {"level":"info","message":"GET /devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab? 200 12ms","method":"GET","requestID":"a92406bfee44ae7b6e56c46b4c96889f","responseTime":12,"status":200,"url":"/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab?"} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"e9ad7090-8ba4-11ef-a042-213954f0282b","responseTime":1,"status":201,"url":"/rooms"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/b17f2d4e-473f-44c8-a462-c576d5a7e07e?id=d7331036-405e-42d8-b0ae-b2e129bb29c5","ws://localhost/rooms/b17f2d4e-473f-44c8-a462-c576d5a7e07e?id=974dd4d0-53ae-4927-98fd-5cdb0bed76b3"]},"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/b5fcb020-af20-474a-bdd5-2160f8e2de21"},{"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/d449cd2b-146f-46b3-9745-bef1f87fe1ab"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"7e731649fff2b917a3469a781e78b8b0"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"e9ae0cd0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1082,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1082,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.232054,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e9ae0cd0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072588,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e9ae0cd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"b43c30f7-c8d5-46c4-8aae-54aae85ab02c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.3276186} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7e17da1a-ac13-4843-996f-7b202a5a3d13","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.327964} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"e9ae0cd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"e9ae0cd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"e9ae0cd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/68be608b-aa2b-4521-88fa-f12869f88270'","requestID":"e9ae0cd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/68be608b-aa2b-4521-88fa-f12869f88270'","requestID":"e9ae0cd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"e9ae0cd0-8ba4-11ef-a62f-5f7f958aa687"} 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":"e9ae0cd0-8ba4-11ef-a62f-5f7f958aa687","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":"e9ae0cd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/68be608b-aa2b-4521-88fa-f12869f88270' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"68be608b-aa2b-4521-88fa-f12869f88270","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"e9b2c7c0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"d7331036-405e-42d8-b0ae-b2e129bb29c5\" in room \"http://localhost/rooms/b17f2d4e-473f-44c8-a462-c576d5a7e07e\"","requestID":"e9b2c7c0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"e9b2c7c0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"e9b2eed0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"974dd4d0-53ae-4927-98fd-5cdb0bed76b3\" in room \"http://localhost/rooms/b17f2d4e-473f-44c8-a462-c576d5a7e07e\"","requestID":"e9b2eed0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"e9b2eed0-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b0a8346291bcabacfdb3cdadfab34b87","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"Starting forwarding-queue for participant \"974dd4d0-53ae-4927-98fd-5cdb0bed76b3\" in room \"http://localhost/rooms/b17f2d4e-473f-44c8-a462-c576d5a7e07e\""} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"b0a8346291bcabacfdb3cdadfab34b87","responseTime":1,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"974dd4d0-53ae-4927-98fd-5cdb0bed76b3\" in room \"http://localhost/rooms/b17f2d4e-473f-44c8-a462-c576d5a7e07e\""} 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":"connecting","url":"http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21"},{"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/d449cd2b-146f-46b3-9745-bef1f87fe1ab"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/68be608b-aa2b-4521-88fa-f12869f88270"}}},"level":"info","message":"received a callback","requestID":"b0a8346291bcabacfdb3cdadfab34b87"} device-1 | {"data":{"peerconnection":"68be608b-aa2b-4521-88fa-f12869f88270","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 11ms","method":"POST","requestID":"b0a8346291bcabacfdb3cdadfab34b87","responseTime":11,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.014","http_referrer":"","http_user_agent":"node-fetch","requestID":"b0a8346291bcabacfdb3cdadfab34b87"} device-1 | {"data":{"peerconnection":"68be608b-aa2b-4521-88fa-f12869f88270","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"7e731649fff2b917a3469a781e78b8b0"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e9b782b0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1083,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5fcb020-af20-474a-bdd5-2160f8e2de21","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5e4ddf5c-f171-4e5e-b3bd-ab326965e46f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.3833303} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1083,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.233714,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e9b782b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21","object_type":"device","rebac_allow":false,"scope_allow":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":"e9b782b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/68be608b-aa2b-4521-88fa-f12869f88270' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"68be608b-aa2b-4521-88fa-f12869f88270","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e9b782b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b5fcb020-af20-474a-bdd5-2160f8e2de21/signaling 200 10ms","method":"POST","requestID":"e9b782b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21/signaling"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"3a9dcaddad240107f35c8a109d556e71","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"3a9dcaddad240107f35c8a109d556e71","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":["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/b5fcb020-af20-474a-bdd5-2160f8e2de21"},{"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/d449cd2b-146f-46b3-9745-bef1f87fe1ab"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/68be608b-aa2b-4521-88fa-f12869f88270"}}},"level":"info","message":"received a callback","requestID":"3a9dcaddad240107f35c8a109d556e71"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e9b97e80-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1084,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd449cd2b-146f-46b3-9745-bef1f87fe1ab","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4b9d3460-611b-464c-9696-c41604d1e199","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.3963144} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1084,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.400337,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"e9ba41d0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e9b97e80-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab","object_type":"device","rebac_allow":false,"scope_allow":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":"e9b97e80-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1085,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F68be608b-aa2b-4521-88fa-f12869f88270","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8e7367e5-f249-49f2-bfa3-a06756cba5a3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.4009292} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1085,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.277979,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e9b97e80-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab/signaling 200 9ms","method":"POST","requestID":"e9b97e80-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab/signaling"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/68be608b-aa2b-4521-88fa-f12869f88270","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e9ba41d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/68be608b-aa2b-4521-88fa-f12869f88270","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":"e9ba41d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"e9ba41d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/68be608b-aa2b-4521-88fa-f12869f88270 200 7ms","method":"GET","requestID":"e9ba41d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/peerconnections/68be608b-aa2b-4521-88fa-f12869f88270"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 25ms","method":"POST","requestID":"3a9dcaddad240107f35c8a109d556e71","responseTime":25,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.029","http_referrer":"","http_user_agent":"node-fetch","requestID":"3a9dcaddad240107f35c8a109d556e71"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e9bd7620-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1086,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5fcb020-af20-474a-bdd5-2160f8e2de21","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"165f01b6-c75b-431a-a359-9c32a7f60838","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.4220076} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1086,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.136303,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e9bd7620-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21","object_type":"device","rebac_allow":false,"scope_allow":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":"e9bd7620-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e9bd7620-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b5fcb020-af20-474a-bdd5-2160f8e2de21/signaling 200 9ms","method":"POST","requestID":"e9bd7620-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e9bf23d0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1087,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd449cd2b-146f-46b3-9745-bef1f87fe1ab","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1ef13908-cb5f-4f65-af88-bc099af7ca5f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.4343367} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1087,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.230952,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e9bf23d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab","object_type":"device","rebac_allow":false,"scope_allow":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":"e9bf23d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e9bf23d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab/signaling 200 9ms","method":"POST","requestID":"e9bf23d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0","level":"info","message":"auth send jwt","requestID":"f298abe857b9f0b84d8ae84f162eb3df"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"f298abe857b9f0b84d8ae84f162eb3df","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7","requestID":"f298abe857b9f0b84d8ae84f162eb3df"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1088,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1088,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.715781,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f298abe857b9f0b84d8ae84f162eb3df","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072588,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f298abe857b9f0b84d8ae84f162eb3df","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7","requestID":"f298abe857b9f0b84d8ae84f162eb3df"} gateway-1 | {"time_local":"16/Oct/2024:09:56:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7 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":"f298abe857b9f0b84d8ae84f162eb3df"} experiment-1 | {"level":"info","message":"GET /experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7 200 9ms","method":"GET","requestID":"f298abe857b9f0b84d8ae84f162eb3df","responseTime":9,"status":200,"url":"/experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0","level":"info","message":"auth send jwt","requestID":"91015c85e449063886da5e97f8de629a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"91015c85e449063886da5e97f8de629a","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7","requestID":"91015c85e449063886da5e97f8de629a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1089,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1089,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.688015,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"91015c85e449063886da5e97f8de629a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072588,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"91015c85e449063886da5e97f8de629a","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7"},"level":"info","message":"Attempting to finish experiment","requestID":"91015c85e449063886da5e97f8de629a"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"e9c6c4f0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1090,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1090,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.688754,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/68be608b-aa2b-4521-88fa-f12869f88270","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e9c6c4f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/68be608b-aa2b-4521-88fa-f12869f88270","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072588,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e9c6c4f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:56:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/b17f2d4e-473f-44c8-a462-c576d5a7e07e?id=d7331036-405e-42d8-b0ae-b2e129bb29c5 HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.142","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"24b6cee587268221f260cfb22896d09c"} gateway-1 | {"time_local":"16/Oct/2024:09:56:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/b17f2d4e-473f-44c8-a462-c576d5a7e07e?id=974dd4d0-53ae-4927-98fd-5cdb0bed76b3 HTTP/1.1","status": "101","body_bytes_sent":"458","request_time":"0.142","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"5170c4ff144ea8541be690a94e1c04c8"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"d7331036-405e-42d8-b0ae-b2e129bb29c5\" in room \"http://localhost/rooms/b17f2d4e-473f-44c8-a462-c576d5a7e07e\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"d7331036-405e-42d8-b0ae-b2e129bb29c5\" from room \"http://localhost/rooms/b17f2d4e-473f-44c8-a462-c576d5a7e07e\", code: 1006, reason: "} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"974dd4d0-53ae-4927-98fd-5cdb0bed76b3\" in room \"http://localhost/rooms/b17f2d4e-473f-44c8-a462-c576d5a7e07e\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"974dd4d0-53ae-4927-98fd-5cdb0bed76b3\" from room \"http://localhost/rooms/b17f2d4e-473f-44c8-a462-c576d5a7e07e\", code: 1006, reason: "} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/68be608b-aa2b-4521-88fa-f12869f88270' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/68be608b-aa2b-4521-88fa-f12869f88270' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"68be608b-aa2b-4521-88fa-f12869f88270","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e19bf3aa01bb6f640db44bebdba4eb86","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"e19bf3aa01bb6f640db44bebdba4eb86","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7f10f0391f6b1841805bea47307fd541","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"closed","url":"http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21"},{"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/d449cd2b-146f-46b3-9745-bef1f87fe1ab"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/68be608b-aa2b-4521-88fa-f12869f88270"}}},"level":"info","message":"received a callback","requestID":"e19bf3aa01bb6f640db44bebdba4eb86"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"7f10f0391f6b1841805bea47307fd541","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F68be608b-aa2b-4521-88fa-f12869f88270': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F68be608b-aa2b-4521-88fa-f12869f88270","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"4f47312e-6677-465c-92af-788f99b7da8b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.494167} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4d4dd057-59d0-48bb-9d44-98d1573340ab","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.4945292} 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":"closed","url":"http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21"},{"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/d449cd2b-146f-46b3-9745-bef1f87fe1ab"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/68be608b-aa2b-4521-88fa-f12869f88270"}}},"level":"info","message":"received a callback","requestID":"7f10f0391f6b1841805bea47307fd541"} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"e9c6c4f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"68be608b-aa2b-4521-88fa-f12869f88270","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"e9c6c4f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/68be608b-aa2b-4521-88fa-f12869f88270 204 30ms","method":"DELETE","requestID":"e9c6c4f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":30,"status":204,"url":"/peerconnections/68be608b-aa2b-4521-88fa-f12869f88270"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7"},"level":"info","message":"Successfully finished experiment","requestID":"91015c85e449063886da5e97f8de629a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e9cdf0e0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1091,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5fcb020-af20-474a-bdd5-2160f8e2de21","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"953366f8-659d-41f6-b090-6e31fe4e7a9b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.5297658} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1091,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.121376,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e9cdf0e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21","object_type":"device","rebac_allow":false,"scope_allow":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":"e9cdf0e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e9cdf0e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b5fcb020-af20-474a-bdd5-2160f8e2de21/signaling 200 8ms","method":"POST","requestID":"e9cdf0e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e9cf7780-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fdf7c62f1-13db-44fe-b454-2e3e58a2fad7': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fdf7c62f1-13db-44fe-b454-2e3e58a2fad7","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"f1d8c976-cf1a-4563-b5df-ead090030a63","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.5389092} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1fd2d31e-7c7e-4b19-80ab-954192ce535c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.5392666} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"91015c85e449063886da5e97f8de629a","responseTime":17,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1092,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd449cd2b-146f-46b3-9745-bef1f87fe1ab","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"17c65ad9-11bc-427e-9188-9c9c9aabf975","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.5415263} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1092,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.385998,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e9cf7780-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab","object_type":"device","rebac_allow":false,"scope_allow":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":"e9cf7780-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e9cf7780-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab/signaling 200 10ms","method":"POST","requestID":"e9cf7780-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/d449cd2b-146f-46b3-9745-bef1f87fe1ab/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7","requestID":"91015c85e449063886da5e97f8de629a"} gateway-1 | {"time_local":"16/Oct/2024:09:56:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.131","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"91015c85e449063886da5e97f8de629a"} experiment-1 | {"level":"info","message":"DELETE /experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7 204 128ms","method":"DELETE","requestID":"91015c85e449063886da5e97f8de629a","responseTime":128,"status":204,"url":"/experiments/df7c62f1-13db-44fe-b454-2e3e58a2fad7"} gateway-1 | {"time_local":"16/Oct/2024:09:56:28 +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.503","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"39e902fb26ceb197ad8e9b352c841678"} gateway-1 | {"time_local":"16/Oct/2024:09:56:28 +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.511","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"237a4909cd0d388ba6bbc7bc50324ac9"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 107ms","method":"POST","requestID":"e19bf3aa01bb6f640db44bebdba4eb86","responseTime":107,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.110","http_referrer":"","http_user_agent":"node-fetch","requestID":"e19bf3aa01bb6f640db44bebdba4eb86"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 106ms","method":"POST","requestID":"7f10f0391f6b1841805bea47307fd541","responseTime":106,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.111","http_referrer":"","http_user_agent":"node-fetch","requestID":"7f10f0391f6b1841805bea47307fd541"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0","level":"info","message":"auth send jwt","requestID":"66c5310f05415596b07cf2d89aae540a"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"66c5310f05415596b07cf2d89aae540a","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"66c5310f05415596b07cf2d89aae540a"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/b5fcb020-af20-474a-bdd5-2160f8e2de21' closed"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1093,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1093,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.807496,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"66c5310f05415596b07cf2d89aae540a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072588,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"66c5310f05415596b07cf2d89aae540a","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/d449cd2b-146f-46b3-9745-bef1f87fe1ab' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e9fa916-7805-4874-b9de-beda1a68912a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"dd6627cb-498e-4eec-96e8-bceb25ebc6e7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.6258197} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"66c5310f05415596b07cf2d89aae540a","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0ba46960-a6f9-42d8-8a6a-99ff0c76c134","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.6309624} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"66c5310f05415596b07cf2d89aae540a","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e9fa916-7805-4874-b9de-beda1a68912a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"2ccc26ac-463e-4753-bd26-ee4b2aca453b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.641286} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4a2d85f8-e748-40eb-bfef-dcc5c29526b4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.6414964} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"66c5310f05415596b07cf2d89aae540a","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e9fa916-7805-4874-b9de-beda1a68912a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e9fa916-7805-4874-b9de-beda1a68912a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:28.641251072Z"}]},"request_id":"77260eef-645b-473c-92c6-a4c020be3cc6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.6469123} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"66c5310f05415596b07cf2d89aae540a","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"66c5310f05415596b07cf2d89aae540a"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.050","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"66c5310f05415596b07cf2d89aae540a"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"66c5310f05415596b07cf2d89aae540a","responseTime":44,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0","level":"info","message":"auth send jwt","requestID":"d30339bfb1a68f55f4c9a33a63eb6bf5"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d30339bfb1a68f55f4c9a33a63eb6bf5","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"d30339bfb1a68f55f4c9a33a63eb6bf5"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1094,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1094,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.736267,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:28Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d30339bfb1a68f55f4c9a33a63eb6bf5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072588,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OH0.i_lHVE6TlMrjQIqvle9M77-k3jMa5rR1DwUjFhsc6g0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d30339bfb1a68f55f4c9a33a63eb6bf5","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3c88d22-c021-4e69-bf1b-dd9e8c42f104","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"a9bd63cf-afbd-4dab-9314-d9c66cc0323a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.6728468} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d30339bfb1a68f55f4c9a33a63eb6bf5","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9ab96239-ad97-403d-b9f2-23ed1768e68c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.6777632} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"d30339bfb1a68f55f4c9a33a63eb6bf5","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3c88d22-c021-4e69-bf1b-dd9e8c42f104","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"4cf4110d-9ace-4185-9aeb-9baee12c81e8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.694616} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"56c30474-c2c4-4cc7-af15-5bdb127e142e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.694903} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"d30339bfb1a68f55f4c9a33a63eb6bf5","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3c88d22-c021-4e69-bf1b-dd9e8c42f104","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3c88d22-c021-4e69-bf1b-dd9e8c42f104","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:28.694586453Z"}]},"request_id":"c73c506c-2496-4458-8b0e-646a08e77d69","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072588.6994998} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d30339bfb1a68f55f4c9a33a63eb6bf5","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"d30339bfb1a68f55f4c9a33a63eb6bf5"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"d30339bfb1a68f55f4c9a33a63eb6bf5","responseTime":47,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.051","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d30339bfb1a68f55f4c9a33a63eb6bf5"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM","level":"info","message":"auth send jwt","requestID":"9b438e1c36085bc9e8d30941b470705a"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"9b438e1c36085bc9e8d30941b470705a","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"9b438e1c36085bc9e8d30941b470705a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1095,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM","level":"info","message":"auth send jwt","requestID":"6feb828dc9932209bf7042b84cc57adc"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1095,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.014502,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"6feb828dc9932209bf7042b84cc57adc","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/0e9fa916-7805-4874-b9de-beda1a68912a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"9b438e1c36085bc9e8d30941b470705a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/0e9fa916-7805-4874-b9de-beda1a68912a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072589,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9b438e1c36085bc9e8d30941b470705a","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"6feb828dc9932209bf7042b84cc57adc"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1096,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1096,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.725127,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"6feb828dc9932209bf7042b84cc57adc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072589,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6feb828dc9932209bf7042b84cc57adc","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e9fa916-7805-4874-b9de-beda1a68912a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e9fa916-7805-4874-b9de-beda1a68912a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:28.641251072Z"}]},"request_id":"392c68c6-f1e2-46ad-bbe8-2def2edbe96a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.1779304} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9b438e1c36085bc9e8d30941b470705a","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3c88d22-c021-4e69-bf1b-dd9e8c42f104","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3c88d22-c021-4e69-bf1b-dd9e8c42f104","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:28.694586453Z"}]},"request_id":"bc42271d-1307-4435-82e3-66cb63b4c017","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.180653} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6feb828dc9932209bf7042b84cc57adc","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4f90a800-5968-412a-9904-ce1b04f2578b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.1824229} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"9b438e1c36085bc9e8d30941b470705a","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b0b8310a-d00a-43fc-bbc8-713c63d0e41b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.1862595} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"6feb828dc9932209bf7042b84cc57adc","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e9fa916-7805-4874-b9de-beda1a68912a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e9fa916-7805-4874-b9de-beda1a68912a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:28.641251072Z"}]},"request_id":"488c1d5d-690b-401a-bf0a-bac28a166c30","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.1942983} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9b438e1c36085bc9e8d30941b470705a","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"9b438e1c36085bc9e8d30941b470705a"} device-1 | {"level":"info","message":"PATCH /devices/0e9fa916-7805-4874-b9de-beda1a68912a 200 31ms","method":"PATCH","requestID":"9b438e1c36085bc9e8d30941b470705a","responseTime":32,"status":200,"url":"/devices/0e9fa916-7805-4874-b9de-beda1a68912a"} gateway-1 | {"time_local":"16/Oct/2024:09:56:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/0e9fa916-7805-4874-b9de-beda1a68912a HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.035","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"9b438e1c36085bc9e8d30941b470705a"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM","level":"info","message":"auth send jwt","requestID":"3d10a51cc1af85b70c33ca0a9e4ef4de"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3d10a51cc1af85b70c33ca0a9e4ef4de","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"3d10a51cc1af85b70c33ca0a9e4ef4de"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1097,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1097,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.62103,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/0e9fa916-7805-4874-b9de-beda1a68912a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3d10a51cc1af85b70c33ca0a9e4ef4de","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/0e9fa916-7805-4874-b9de-beda1a68912a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072589,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3d10a51cc1af85b70c33ca0a9e4ef4de","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3c88d22-c021-4e69-bf1b-dd9e8c42f104","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3c88d22-c021-4e69-bf1b-dd9e8c42f104","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:28.694586453Z"}]},"request_id":"412395f3-2623-46d3-b3a0-68ae3589d0d5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.2055144} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"6feb828dc9932209bf7042b84cc57adc","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"6feb828dc9932209bf7042b84cc57adc"} gateway-1 | {"time_local":"16/Oct/2024:09:56:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104 HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.043","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"6feb828dc9932209bf7042b84cc57adc"} device-1 | {"level":"info","message":"PATCH /devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104 200 38ms","method":"PATCH","requestID":"6feb828dc9932209bf7042b84cc57adc","responseTime":38,"status":200,"url":"/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM","level":"info","message":"auth send jwt","requestID":"7f6f07b16a3b4faaa6f2f653af180daf"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"7f6f07b16a3b4faaa6f2f653af180daf","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"7f6f07b16a3b4faaa6f2f653af180daf"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1098,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"3d10a51cc1af85b70c33ca0a9e4ef4de"} gateway-1 | {"time_local":"16/Oct/2024:09:56:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/0e9fa916-7805-4874-b9de-beda1a68912a/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.10","requestID":"3d10a51cc1af85b70c33ca0a9e4ef4de"} device-1 | {"level":"info","message":"POST /devices/0e9fa916-7805-4874-b9de-beda1a68912a/websocket 200 17ms","method":"POST","requestID":"3d10a51cc1af85b70c33ca0a9e4ef4de","responseTime":17,"status":200,"url":"/devices/0e9fa916-7805-4874-b9de-beda1a68912a/websocket"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1098,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.92928,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"7f6f07b16a3b4faaa6f2f653af180daf","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072589,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7f6f07b16a3b4faaa6f2f653af180daf","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"device 'http://localhost/devices/0e9fa916-7805-4874-b9de-beda1a68912a' connected"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"7f6f07b16a3b4faaa6f2f653af180daf"} gateway-1 | {"time_local":"16/Oct/2024:09:56:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104/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.10","requestID":"7f6f07b16a3b4faaa6f2f653af180daf"} device-1 | {"level":"info","message":"POST /devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104/websocket 200 19ms","method":"POST","requestID":"7f6f07b16a3b4faaa6f2f653af180daf","responseTime":19,"status":200,"url":"/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM","level":"info","message":"auth send jwt","requestID":"2fd1c3ee8a4971e3dfa07f52daaa2b80"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"2fd1c3ee8a4971e3dfa07f52daaa2b80","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2fd1c3ee8a4971e3dfa07f52daaa2b80"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1099,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1099,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.681792,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0e9fa916-7805-4874-b9de-beda1a68912a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"2fd1c3ee8a4971e3dfa07f52daaa2b80","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/0e9fa916-7805-4874-b9de-beda1a68912a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072589,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2fd1c3ee8a4971e3dfa07f52daaa2b80","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e9fa916-7805-4874-b9de-beda1a68912a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e9fa916-7805-4874-b9de-beda1a68912a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:28.641251072Z"}]},"request_id":"0b3ebc44-900a-47a4-b350-31a2c8db63ea","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.2666333} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"2fd1c3ee8a4971e3dfa07f52daaa2b80","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2fd1c3ee8a4971e3dfa07f52daaa2b80"} gateway-1 | {"time_local":"16/Oct/2024:09:56:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/0e9fa916-7805-4874-b9de-beda1a68912a? 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":"2fd1c3ee8a4971e3dfa07f52daaa2b80"} device-1 | {"level":"info","message":"GET /devices/0e9fa916-7805-4874-b9de-beda1a68912a? 200 14ms","method":"GET","requestID":"2fd1c3ee8a4971e3dfa07f52daaa2b80","responseTime":14,"status":200,"url":"/devices/0e9fa916-7805-4874-b9de-beda1a68912a?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM","level":"info","message":"auth send jwt","requestID":"4aa48e1ca18be51b87545e89200852b6"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"4aa48e1ca18be51b87545e89200852b6","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4aa48e1ca18be51b87545e89200852b6"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1100,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1100,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.6518,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"4aa48e1ca18be51b87545e89200852b6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072589,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4aa48e1ca18be51b87545e89200852b6","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3c88d22-c021-4e69-bf1b-dd9e8c42f104","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3c88d22-c021-4e69-bf1b-dd9e8c42f104","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:28.694586453Z"}]},"request_id":"ca5d574c-3dda-4b89-8741-01ce4f7291c1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.2868905} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"4aa48e1ca18be51b87545e89200852b6","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4aa48e1ca18be51b87545e89200852b6"} gateway-1 | {"time_local":"16/Oct/2024:09:56:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104? 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":"4aa48e1ca18be51b87545e89200852b6"} device-1 | {"level":"info","message":"GET /devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104? 200 15ms","method":"GET","requestID":"4aa48e1ca18be51b87545e89200852b6","responseTime":15,"status":200,"url":"/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM","level":"info","message":"auth send jwt","requestID":"c2048bb43be4ae1b27d7d0358804f3d6"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c2048bb43be4ae1b27d7d0358804f3d6","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"c2048bb43be4ae1b27d7d0358804f3d6"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1101,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1101,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.296944,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c2048bb43be4ae1b27d7d0358804f3d6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072589,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"c2048bb43be4ae1b27d7d0358804f3d6","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e0499885-073e-49a1-afa2-888b92923909"},"level":"info","message":"Attempting to run experiment","requestID":"c2048bb43be4ae1b27d7d0358804f3d6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e0499885-073e-49a1-afa2-888b92923909"},"level":"info","message":"Attempting to book experiment","requestID":"c2048bb43be4ae1b27d7d0358804f3d6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e0499885-073e-49a1-afa2-888b92923909"},"level":"info","message":"Successfully booked experiment","requestID":"c2048bb43be4ae1b27d7d0358804f3d6"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ea4a73e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ea4ac200-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1102,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1102,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.182336,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1103,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0e9fa916-7805-4874-b9de-beda1a68912a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ea4a73e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/0e9fa916-7805-4874-b9de-beda1a68912a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072589,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ea4a73e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1103,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.10486,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ea4ac200-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072589,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ea4ac200-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e9fa916-7805-4874-b9de-beda1a68912a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e9fa916-7805-4874-b9de-beda1a68912a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:28.641251072Z"}]},"request_id":"9d4e6ec0-ff3e-4234-b3f4-5bff969f916a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.356658} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"ea4a73e0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3c88d22-c021-4e69-bf1b-dd9e8c42f104","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3c88d22-c021-4e69-bf1b-dd9e8c42f104","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:28.694586453Z"}]},"request_id":"a0c2a8fb-1b25-4b6f-860d-f737fcbf2f91","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.3580108} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ea4ac200-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ea4a73e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/0e9fa916-7805-4874-b9de-beda1a68912a? 200 23ms","method":"GET","requestID":"ea4a73e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/0e9fa916-7805-4874-b9de-beda1a68912a?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ea4ac200-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104? 200 22ms","method":"GET","requestID":"ea4ac200-8ba4-11ef-a62f-5f7f958aa687","responseTime":22,"status":200,"url":"/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e0499885-073e-49a1-afa2-888b92923909"},"level":"info","message":"Setting up experiment","requestID":"c2048bb43be4ae1b27d7d0358804f3d6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e0499885-073e-49a1-afa2-888b92923909"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"c2048bb43be4ae1b27d7d0358804f3d6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e0499885-073e-49a1-afa2-888b92923909"},"level":"info","message":"Successfully locked booking for experiment","requestID":"c2048bb43be4ae1b27d7d0358804f3d6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e0499885-073e-49a1-afa2-888b92923909"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"c2048bb43be4ae1b27d7d0358804f3d6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e0499885-073e-49a1-afa2-888b92923909"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"c2048bb43be4ae1b27d7d0358804f3d6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e0499885-073e-49a1-afa2-888b92923909"},"level":"info","message":"Attempting to update booking for experiment","requestID":"c2048bb43be4ae1b27d7d0358804f3d6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e0499885-073e-49a1-afa2-888b92923909"},"level":"info","message":"Successfully updated booking for experiment","requestID":"c2048bb43be4ae1b27d7d0358804f3d6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e0499885-073e-49a1-afa2-888b92923909"},"level":"info","message":"Successfully set up experiment","requestID":"c2048bb43be4ae1b27d7d0358804f3d6"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ea55e590-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ea5633b0-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e0499885-073e-49a1-afa2-888b92923909"},"level":"info","message":"Successfully running experiment","requestID":"c2048bb43be4ae1b27d7d0358804f3d6"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ea56a8e0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1104,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1104,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.376847,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0e9fa916-7805-4874-b9de-beda1a68912a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ea55e590-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/0e9fa916-7805-4874-b9de-beda1a68912a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072589,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ea55e590-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1105,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1105,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.657471,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ea5633b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072589,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"ea5633b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1106,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e9fa916-7805-4874-b9de-beda1a68912a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ab435ff3-3302-46cb-ad60-38847c0b3101","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.4335098} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1106,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.804749,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e9fa916-7805-4874-b9de-beda1a68912a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e9fa916-7805-4874-b9de-beda1a68912a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:28.641251072Z"}]},"request_id":"95cd4826-5fca-46cb-8cc8-50a3b4a0e042","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.4349394} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0e9fa916-7805-4874-b9de-beda1a68912a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ea56a8e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0e9fa916-7805-4874-b9de-beda1a68912a","object_type":"device","rebac_allow":false,"scope_allow":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":"ea56a8e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"ea55e590-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3c88d22-c021-4e69-bf1b-dd9e8c42f104","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3c88d22-c021-4e69-bf1b-dd9e8c42f104","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:28.694586453Z"}]},"request_id":"d2f349f2-2811-4d85-9b87-4f0a8c8cbb92","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.436655} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ea5633b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ea56a8e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/0e9fa916-7805-4874-b9de-beda1a68912a/signaling 200 24ms","method":"POST","requestID":"ea56a8e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":24,"status":200,"url":"/devices/0e9fa916-7805-4874-b9de-beda1a68912a/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe0499885-073e-49a1-afa2-888b92923909#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe0499885-073e-49a1-afa2-888b92923909","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"75f55d5e-2a3f-4c31-83a0-391940f6475b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.445779} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ea55e590-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/0e9fa916-7805-4874-b9de-beda1a68912a? 200 30ms","method":"GET","requestID":"ea55e590-8ba4-11ef-a62f-5f7f958aa687","responseTime":30,"status":200,"url":"/devices/0e9fa916-7805-4874-b9de-beda1a68912a?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cd6c90a2-7a93-4529-92b7-0370c4390ca7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.4462264} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ea5633b0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"c2048bb43be4ae1b27d7d0358804f3d6","responseTime":22,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"GET /devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104? 200 29ms","method":"GET","requestID":"ea5633b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":29,"status":200,"url":"/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ea5ac790-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1107,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3c88d22-c021-4e69-bf1b-dd9e8c42f104","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8d41f525-fd16-46cd-9f2c-3f3831ea0f1c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.4534483} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1107,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.016095,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ea5b8ae0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ea5ac790-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104","object_type":"device","rebac_allow":false,"scope_allow":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":"ea5ac790-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/e0499885-073e-49a1-afa2-888b92923909","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"c2048bb43be4ae1b27d7d0358804f3d6"} gateway-1 | {"time_local":"16/Oct/2024:09:56:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1296","request_time":"0.164","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c2048bb43be4ae1b27d7d0358804f3d6"} experiment-1 | {"level":"info","message":"POST /experiments? 201 158ms","method":"POST","requestID":"c2048bb43be4ae1b27d7d0358804f3d6","responseTime":158,"status":201,"url":"/experiments?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1108,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ea5ac790-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104/signaling 200 10ms","method":"POST","requestID":"ea5ac790-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e9fa916-7805-4874-b9de-beda1a68912a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8323c8f6-0f00-4e56-91eb-45048df1bb96","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.4598062} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1108,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.581527,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0e9fa916-7805-4874-b9de-beda1a68912a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ea5b8ae0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0e9fa916-7805-4874-b9de-beda1a68912a","object_type":"device","rebac_allow":false,"scope_allow":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":"ea5b8ae0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM","level":"info","message":"auth send jwt","requestID":"39a142519525736f46eab8aa7bf5df3c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"39a142519525736f46eab8aa7bf5df3c","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"39a142519525736f46eab8aa7bf5df3c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ea5b8ae0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/0e9fa916-7805-4874-b9de-beda1a68912a/signaling 200 11ms","method":"POST","requestID":"ea5b8ae0-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/0e9fa916-7805-4874-b9de-beda1a68912a/signaling"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1109,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1109,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.708502,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0e9fa916-7805-4874-b9de-beda1a68912a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"39a142519525736f46eab8aa7bf5df3c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/0e9fa916-7805-4874-b9de-beda1a68912a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072589,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"39a142519525736f46eab8aa7bf5df3c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ea5dadc0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1110,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e9fa916-7805-4874-b9de-beda1a68912a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e9fa916-7805-4874-b9de-beda1a68912a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:28.641251072Z"}]},"request_id":"54446c84-bec4-4c19-b33d-fc101f1f2733","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.4713342} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3c88d22-c021-4e69-bf1b-dd9e8c42f104","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"195c2199-c1f7-4697-9964-400fa1db764d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.4714491} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"39a142519525736f46eab8aa7bf5df3c","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1110,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.171056,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ea5dadc0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104","object_type":"device","rebac_allow":false,"scope_allow":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":"ea5dadc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"39a142519525736f46eab8aa7bf5df3c"} gateway-1 | {"time_local":"16/Oct/2024:09:56:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/0e9fa916-7805-4874-b9de-beda1a68912a? 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":"39a142519525736f46eab8aa7bf5df3c"} device-1 | {"level":"info","message":"GET /devices/0e9fa916-7805-4874-b9de-beda1a68912a? 200 14ms","method":"GET","requestID":"39a142519525736f46eab8aa7bf5df3c","responseTime":14,"status":200,"url":"/devices/0e9fa916-7805-4874-b9de-beda1a68912a?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ea5dadc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104/signaling 200 9ms","method":"POST","requestID":"ea5dadc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e0499885-073e-49a1-afa2-888b92923909"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"c2048bb43be4ae1b27d7d0358804f3d6"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ea5f8280-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM","level":"info","message":"auth send jwt","requestID":"d4dc3adcac0ccac78a5c315008c38f36"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ea5fa990-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"d4dc3adcac0ccac78a5c315008c38f36","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d4dc3adcac0ccac78a5c315008c38f36"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1111,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1112,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1111,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.764995,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1112,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.995941,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"client_addr":"127.0.0.1:57716","level":"info","msg":"Received request.","req_id":1113,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0e9fa916-7805-4874-b9de-beda1a68912a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ea5f8280-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/0e9fa916-7805-4874-b9de-beda1a68912a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072589,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ea5f8280-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ea5fa990-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072589,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ea5fa990-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57716","level":"info","msg":"Sent response.","req_id":1113,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.84972,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d4dc3adcac0ccac78a5c315008c38f36","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072589,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d4dc3adcac0ccac78a5c315008c38f36","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e9fa916-7805-4874-b9de-beda1a68912a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e9fa916-7805-4874-b9de-beda1a68912a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:28.641251072Z"}]},"request_id":"11e11a86-21f4-4981-8df0-550028ee47e0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.4900467} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ea5f8280-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3c88d22-c021-4e69-bf1b-dd9e8c42f104","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3c88d22-c021-4e69-bf1b-dd9e8c42f104","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:28.694586453Z"}]},"request_id":"32a3bbce-c52d-4e1c-a80e-f82ee5911022","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.490982} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ea5fa990-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3c88d22-c021-4e69-bf1b-dd9e8c42f104","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3c88d22-c021-4e69-bf1b-dd9e8c42f104","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:28.694586453Z"}]},"request_id":"983390da-2811-4cc3-8949-95ea94e38cc9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.4931874} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d4dc3adcac0ccac78a5c315008c38f36","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ea5f8280-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/0e9fa916-7805-4874-b9de-beda1a68912a? 200 15ms","method":"GET","requestID":"ea5f8280-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/0e9fa916-7805-4874-b9de-beda1a68912a?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ea5fa990-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104? 200 16ms","method":"GET","requestID":"ea5fa990-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d4dc3adcac0ccac78a5c315008c38f36"} device-1 | {"level":"info","message":"GET /devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104? 200 16ms","method":"GET","requestID":"d4dc3adcac0ccac78a5c315008c38f36","responseTime":16,"status":200,"url":"/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e0499885-073e-49a1-afa2-888b92923909"},"level":"info","message":"Building connection plan","requestID":"c2048bb43be4ae1b27d7d0358804f3d6"} gateway-1 | {"time_local":"16/Oct/2024:09:56:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104? 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":"d4dc3adcac0ccac78a5c315008c38f36"} 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":"7a151efc-97ce-4d03-b5fa-b053866d6119"},{"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":"c93efe82-afad-4763-abbb-dc328d8a2788"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"95fa480f-9fd0-47e4-8b78-1c47f982bb81"}]},"level":"info","message":"Built pairwise service configurations","requestID":"c2048bb43be4ae1b27d7d0358804f3d6"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"ea628fc0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"ea628fc0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"ea628fc0-8ba4-11ef-a042-213954f0282b","responseTime":1,"status":201,"url":"/rooms"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/8ce38637-ed01-4d3c-9424-ff19059173a9?id=f43315a7-7671-4ebd-9a40-f8400d508672","ws://localhost/rooms/8ce38637-ed01-4d3c-9424-ff19059173a9?id=c1736887-4a84-45a9-9437-4272970a6ad3"]},"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/c3c88d22-c021-4e69-bf1b-dd9e8c42f104"},{"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/0e9fa916-7805-4874-b9de-beda1a68912a"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"c2048bb43be4ae1b27d7d0358804f3d6"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"ea632c00-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1114,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1114,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.947043,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ea632c00-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072589,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ea632c00-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"6fdd2c4e-c669-4684-94df-1f39c35a927d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.5174816} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7464d777-8d2e-4c9c-b98d-e8cf41f7221a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.517622} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"ea632c00-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"ea632c00-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"ea632c00-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/bc069f2a-69b0-40f6-aefd-a4f493b11948'","requestID":"ea632c00-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/bc069f2a-69b0-40f6-aefd-a4f493b11948'","requestID":"ea632c00-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"ea632c00-8ba4-11ef-a62f-5f7f958aa687"} 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":"ea632c00-8ba4-11ef-a62f-5f7f958aa687","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":"ea632c00-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/bc069f2a-69b0-40f6-aefd-a4f493b11948' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"bc069f2a-69b0-40f6-aefd-a4f493b11948","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"ea68aa40-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"f43315a7-7671-4ebd-9a40-f8400d508672\" in room \"http://localhost/rooms/8ce38637-ed01-4d3c-9424-ff19059173a9\"","requestID":"ea68aa40-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"ea68aa40-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"ea68d150-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"c1736887-4a84-45a9-9437-4272970a6ad3\" in room \"http://localhost/rooms/8ce38637-ed01-4d3c-9424-ff19059173a9\"","requestID":"ea68d150-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"ea68d150-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"f43315a7-7671-4ebd-9a40-f8400d508672\" in room \"http://localhost/rooms/8ce38637-ed01-4d3c-9424-ff19059173a9\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"f43315a7-7671-4ebd-9a40-f8400d508672\" in room \"http://localhost/rooms/8ce38637-ed01-4d3c-9424-ff19059173a9\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"f43315a7-7671-4ebd-9a40-f8400d508672\" in room \"http://localhost/rooms/8ce38637-ed01-4d3c-9424-ff19059173a9\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"f43315a7-7671-4ebd-9a40-f8400d508672\" in room \"http://localhost/rooms/8ce38637-ed01-4d3c-9424-ff19059173a9\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"f43315a7-7671-4ebd-9a40-f8400d508672\" in room \"http://localhost/rooms/8ce38637-ed01-4d3c-9424-ff19059173a9\""} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c2bcb776c7aa21cb42c63eb95758987e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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 \"f43315a7-7671-4ebd-9a40-f8400d508672\" in room \"http://localhost/rooms/8ce38637-ed01-4d3c-9424-ff19059173a9\""} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c2bcb776c7aa21cb42c63eb95758987e","responseTime":3,"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":"connecting","url":"http://localhost/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104"},{"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/0e9fa916-7805-4874-b9de-beda1a68912a"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/bc069f2a-69b0-40f6-aefd-a4f493b11948"}}},"level":"info","message":"received a callback","requestID":"c2bcb776c7aa21cb42c63eb95758987e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 8ms","method":"POST","requestID":"c2bcb776c7aa21cb42c63eb95758987e","responseTime":8,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56:29 +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":"c2bcb776c7aa21cb42c63eb95758987e"} device-1 | {"data":{"peerconnection":"bc069f2a-69b0-40f6-aefd-a4f493b11948","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e0499885-073e-49a1-afa2-888b92923909"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"c2048bb43be4ae1b27d7d0358804f3d6"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ea6d3e20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"data":{"peerconnection":"bc069f2a-69b0-40f6-aefd-a4f493b11948","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1115,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e9fa916-7805-4874-b9de-beda1a68912a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3d8ff98d-9055-444c-be2f-1e2a25f76839","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.5750244} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1115,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.610703,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0e9fa916-7805-4874-b9de-beda1a68912a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ea6d3e20-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0e9fa916-7805-4874-b9de-beda1a68912a","object_type":"device","rebac_allow":false,"scope_allow":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":"ea6d3e20-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/bc069f2a-69b0-40f6-aefd-a4f493b11948' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"bc069f2a-69b0-40f6-aefd-a4f493b11948","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ea6d3e20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/0e9fa916-7805-4874-b9de-beda1a68912a/signaling 200 15ms","method":"POST","requestID":"ea6d3e20-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/0e9fa916-7805-4874-b9de-beda1a68912a/signaling"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ac57bf894e196ede0f915d83e9b8abe5","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"ac57bf894e196ede0f915d83e9b8abe5","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ea6fd630-8ba4-11ef-a62f-5f7f958aa687"} 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/c3c88d22-c021-4e69-bf1b-dd9e8c42f104"},{"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/0e9fa916-7805-4874-b9de-beda1a68912a"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/bc069f2a-69b0-40f6-aefd-a4f493b11948"}}},"level":"info","message":"received a callback","requestID":"ac57bf894e196ede0f915d83e9b8abe5"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1116,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3c88d22-c021-4e69-bf1b-dd9e8c42f104","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"08828374-64e6-496c-83e1-1960a28666a6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.5914977} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1116,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.414736,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ea6fd630-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104","object_type":"device","rebac_allow":false,"scope_allow":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":"ea6fd630-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"ea70c090-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1117,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ea6fd630-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fbc069f2a-69b0-40f6-aefd-a4f493b11948","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"45a560c5-7910-433c-92f3-54efe1c6540b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.596977} device-1 | {"level":"info","message":"POST /devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104/signaling 200 10ms","method":"POST","requestID":"ea6fd630-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104/signaling"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1117,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.734652,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/bc069f2a-69b0-40f6-aefd-a4f493b11948","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ea70c090-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/bc069f2a-69b0-40f6-aefd-a4f493b11948","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":"ea70c090-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"ea70c090-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/bc069f2a-69b0-40f6-aefd-a4f493b11948 200 8ms","method":"GET","requestID":"ea70c090-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/peerconnections/bc069f2a-69b0-40f6-aefd-a4f493b11948"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 26ms","method":"POST","requestID":"ac57bf894e196ede0f915d83e9b8abe5","responseTime":26,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56:29 +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":"ac57bf894e196ede0f915d83e9b8abe5"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ea741bf0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1118,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3c88d22-c021-4e69-bf1b-dd9e8c42f104","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"82a579bd-0fcb-4dd1-a3df-e732f7286f11","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.620342} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1118,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.583291,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ea741bf0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104","object_type":"device","rebac_allow":false,"scope_allow":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":"ea741bf0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ea741bf0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104/signaling 200 9ms","method":"POST","requestID":"ea741bf0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ea75c9a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1119,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e9fa916-7805-4874-b9de-beda1a68912a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c796674a-5908-481c-9934-553e87a018b2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.6320937} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1119,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.655065,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0e9fa916-7805-4874-b9de-beda1a68912a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ea75c9a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0e9fa916-7805-4874-b9de-beda1a68912a","object_type":"device","rebac_allow":false,"scope_allow":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":"ea75c9a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ea75c9a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/0e9fa916-7805-4874-b9de-beda1a68912a/signaling 200 10ms","method":"POST","requestID":"ea75c9a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/0e9fa916-7805-4874-b9de-beda1a68912a/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM","level":"info","message":"auth send jwt","requestID":"0317869645c2ff67a7d661f9b3ffeb5f"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"0317869645c2ff67a7d661f9b3ffeb5f","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/e0499885-073e-49a1-afa2-888b92923909","requestID":"0317869645c2ff67a7d661f9b3ffeb5f"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1120,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1120,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.021008,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/e0499885-073e-49a1-afa2-888b92923909","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0317869645c2ff67a7d661f9b3ffeb5f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/e0499885-073e-49a1-afa2-888b92923909","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072589,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0317869645c2ff67a7d661f9b3ffeb5f","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/e0499885-073e-49a1-afa2-888b92923909","requestID":"0317869645c2ff67a7d661f9b3ffeb5f"} experiment-1 | {"level":"info","message":"GET /experiments/e0499885-073e-49a1-afa2-888b92923909 200 12ms","method":"GET","requestID":"0317869645c2ff67a7d661f9b3ffeb5f","responseTime":12,"status":200,"url":"/experiments/e0499885-073e-49a1-afa2-888b92923909"} gateway-1 | {"time_local":"16/Oct/2024:09:56:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/e0499885-073e-49a1-afa2-888b92923909 HTTP/1.1","status": "200","body_bytes_sent":"1369","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0317869645c2ff67a7d661f9b3ffeb5f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM","level":"info","message":"auth send jwt","requestID":"d231a96edb9f64e37e90d400804fd24a"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"d231a96edb9f64e37e90d400804fd24a","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/e0499885-073e-49a1-afa2-888b92923909","requestID":"d231a96edb9f64e37e90d400804fd24a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1121,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1121,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.990198,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/e0499885-073e-49a1-afa2-888b92923909","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d231a96edb9f64e37e90d400804fd24a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/e0499885-073e-49a1-afa2-888b92923909","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072589,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d231a96edb9f64e37e90d400804fd24a","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e0499885-073e-49a1-afa2-888b92923909"},"level":"info","message":"Attempting to finish experiment","requestID":"d231a96edb9f64e37e90d400804fd24a"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"ea7d91d0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1122,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1122,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.519256,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/bc069f2a-69b0-40f6-aefd-a4f493b11948","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ea7d91d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/bc069f2a-69b0-40f6-aefd-a4f493b11948","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072589,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ea7d91d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:56:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/8ce38637-ed01-4d3c-9424-ff19059173a9?id=f43315a7-7671-4ebd-9a40-f8400d508672 HTTP/1.1","status": "101","body_bytes_sent":"916","request_time":"0.149","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"8b699a0b1e217b1786bfd5a3b701d1a8"} gateway-1 | {"time_local":"16/Oct/2024:09:56:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/8ce38637-ed01-4d3c-9424-ff19059173a9?id=c1736887-4a84-45a9-9437-4272970a6ad3 HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.149","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"1f611785ca9c9bdc3aea33319ac414b6"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"f43315a7-7671-4ebd-9a40-f8400d508672\" in room \"http://localhost/rooms/8ce38637-ed01-4d3c-9424-ff19059173a9\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"f43315a7-7671-4ebd-9a40-f8400d508672\" from room \"http://localhost/rooms/8ce38637-ed01-4d3c-9424-ff19059173a9\", code: 1006, reason: "} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"c1736887-4a84-45a9-9437-4272970a6ad3\" in room \"http://localhost/rooms/8ce38637-ed01-4d3c-9424-ff19059173a9\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"c1736887-4a84-45a9-9437-4272970a6ad3\" from room \"http://localhost/rooms/8ce38637-ed01-4d3c-9424-ff19059173a9\", code: 1006, reason: "} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/bc069f2a-69b0-40f6-aefd-a4f493b11948' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/bc069f2a-69b0-40f6-aefd-a4f493b11948' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"bc069f2a-69b0-40f6-aefd-a4f493b11948","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fbc069f2a-69b0-40f6-aefd-a4f493b11948': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fbc069f2a-69b0-40f6-aefd-a4f493b11948","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"3ece26b5-a421-4f9a-9f01-39f41f27029a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.6921084} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e1308c13f6f8acdc59f5aa3f5b176831","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7d882eb2-531e-4c4e-8cf1-f491b4e55bc3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.6922925} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"e1308c13f6f8acdc59f5aa3f5b176831","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"fdbd3d1012d616f6cec5fd3b89943e45","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"fdbd3d1012d616f6cec5fd3b89943e45","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"ea7d91d0-8ba4-11ef-a62f-5f7f958aa687","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":"connected","url":"http://localhost/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104"},{"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/0e9fa916-7805-4874-b9de-beda1a68912a"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/bc069f2a-69b0-40f6-aefd-a4f493b11948"}}},"level":"info","message":"received a callback","requestID":"e1308c13f6f8acdc59f5aa3f5b176831"} 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/c3c88d22-c021-4e69-bf1b-dd9e8c42f104"},{"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/0e9fa916-7805-4874-b9de-beda1a68912a"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/bc069f2a-69b0-40f6-aefd-a4f493b11948"}}},"level":"info","message":"received a callback","requestID":"fdbd3d1012d616f6cec5fd3b89943e45"} device-1 | {"data":{"peerconnection":"bc069f2a-69b0-40f6-aefd-a4f493b11948","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"ea7d91d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/bc069f2a-69b0-40f6-aefd-a4f493b11948 204 32ms","method":"DELETE","requestID":"ea7d91d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":32,"status":204,"url":"/peerconnections/bc069f2a-69b0-40f6-aefd-a4f493b11948"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e0499885-073e-49a1-afa2-888b92923909"},"level":"info","message":"Successfully finished experiment","requestID":"d231a96edb9f64e37e90d400804fd24a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ea8532f0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1123,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3c88d22-c021-4e69-bf1b-dd9e8c42f104","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"18e5e4c1-8bbd-44e6-835e-6c66ae51c97f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.7323418} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1123,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.303175,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ea8532f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104","object_type":"device","rebac_allow":false,"scope_allow":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":"ea8532f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ea8532f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104/signaling 200 9ms","method":"POST","requestID":"ea8532f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/c3c88d22-c021-4e69-bf1b-dd9e8c42f104/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ea86e0a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe0499885-073e-49a1-afa2-888b92923909': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe0499885-073e-49a1-afa2-888b92923909","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"df0d850e-a683-43ca-96f0-6c7755fa1c7f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.7398863} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"09e51db4-104b-42f5-bd9c-930b21927e92","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.7402787} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"d231a96edb9f64e37e90d400804fd24a","responseTime":17,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0e9fa916-7805-4874-b9de-beda1a68912a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e7295f6a-dbd5-484f-ba0a-8bcc1a10518c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.7436862} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1124,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1124,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.950668,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0e9fa916-7805-4874-b9de-beda1a68912a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ea86e0a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0e9fa916-7805-4874-b9de-beda1a68912a","object_type":"device","rebac_allow":false,"scope_allow":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":"ea86e0a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ea86e0a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/0e9fa916-7805-4874-b9de-beda1a68912a/signaling 200 10ms","method":"POST","requestID":"ea86e0a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/0e9fa916-7805-4874-b9de-beda1a68912a/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/e0499885-073e-49a1-afa2-888b92923909","requestID":"d231a96edb9f64e37e90d400804fd24a"} gateway-1 | {"time_local":"16/Oct/2024:09:56:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/e0499885-073e-49a1-afa2-888b92923909 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.142","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d231a96edb9f64e37e90d400804fd24a"} experiment-1 | {"level":"info","message":"DELETE /experiments/e0499885-073e-49a1-afa2-888b92923909 204 139ms","method":"DELETE","requestID":"d231a96edb9f64e37e90d400804fd24a","responseTime":139,"status":204,"url":"/experiments/e0499885-073e-49a1-afa2-888b92923909"} gateway-1 | {"time_local":"16/Oct/2024:09:56:29 +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.586","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"ef6fe1ca2036695c26cce75d2516ba80"} gateway-1 | {"time_local":"16/Oct/2024:09:56:29 +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.570","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"af76e14f661547bfcb773bd32a4e333e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 114ms","method":"POST","requestID":"e1308c13f6f8acdc59f5aa3f5b176831","responseTime":114,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56:29 +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":"e1308c13f6f8acdc59f5aa3f5b176831"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 113ms","method":"POST","requestID":"fdbd3d1012d616f6cec5fd3b89943e45","responseTime":113,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56:29 +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":"fdbd3d1012d616f6cec5fd3b89943e45"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM","level":"info","message":"auth send jwt","requestID":"5fe7dcf2d6d9286d0e6b3483959fdd53"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"5fe7dcf2d6d9286d0e6b3483959fdd53","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/c3c88d22-c021-4e69-bf1b-dd9e8c42f104' closed"} device-1 | {"level":"info","message":"postDevices called","requestID":"5fe7dcf2d6d9286d0e6b3483959fdd53"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1125,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1125,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.781132,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"5fe7dcf2d6d9286d0e6b3483959fdd53","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072589,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5fe7dcf2d6d9286d0e6b3483959fdd53","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/0e9fa916-7805-4874-b9de-beda1a68912a' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd01bba5f-ee09-40e4-94d9-95a5d39087ed","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"626373dd-20b6-43b8-ba26-649d3dd772ba","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.8337166} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5fe7dcf2d6d9286d0e6b3483959fdd53","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"00229881-0b70-45a3-b8f4-e4b503fa40d7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.8389058} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"5fe7dcf2d6d9286d0e6b3483959fdd53","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd01bba5f-ee09-40e4-94d9-95a5d39087ed","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"de87d924-1ce0-4215-8b75-329131c3a77e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.8496904} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ac7a2978-9ad4-4747-af51-aab298ffb2fa","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.8498006} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"5fe7dcf2d6d9286d0e6b3483959fdd53","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd01bba5f-ee09-40e4-94d9-95a5d39087ed","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd01bba5f-ee09-40e4-94d9-95a5d39087ed","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:29.849660137Z"}]},"request_id":"8c770680-84a9-4776-8ed4-52020727e184","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.8547435} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"5fe7dcf2d6d9286d0e6b3483959fdd53","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"5fe7dcf2d6d9286d0e6b3483959fdd53"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"5fe7dcf2d6d9286d0e6b3483959fdd53","responseTime":44,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:29 +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":"5fe7dcf2d6d9286d0e6b3483959fdd53"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM","level":"info","message":"auth send jwt","requestID":"a96b9ad7fa9a764252910b2d4e52d582"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"a96b9ad7fa9a764252910b2d4e52d582","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"a96b9ad7fa9a764252910b2d4e52d582"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1126,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1126,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.828803,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:29Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a96b9ad7fa9a764252910b2d4e52d582","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072589,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU4OX0.z8rjFLxXcnbV0v3EA3ygfxZDc2d2h7gXMr54_ojjxxM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"a96b9ad7fa9a764252910b2d4e52d582","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6eb87021-a407-420e-bdb8-2025610b4a40","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"183e9957-918c-49d6-a65c-ea14a97d59b3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.8781493} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"a96b9ad7fa9a764252910b2d4e52d582","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d0ced59c-2037-4295-a29e-05687569899d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.8840244} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"a96b9ad7fa9a764252910b2d4e52d582","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6eb87021-a407-420e-bdb8-2025610b4a40","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"275c69c4-7d1d-40aa-875b-9a75bb980d30","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.8987625} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d32fa5f9-4fb6-4117-a122-82220992c254","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.899059} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"a96b9ad7fa9a764252910b2d4e52d582","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6eb87021-a407-420e-bdb8-2025610b4a40","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6eb87021-a407-420e-bdb8-2025610b4a40","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:29.898727991Z"}]},"request_id":"00d0a463-e644-4d95-ba3f-e02330bb017a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072589.903059} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a96b9ad7fa9a764252910b2d4e52d582","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"a96b9ad7fa9a764252910b2d4e52d582"} gateway-1 | {"time_local":"16/Oct/2024:09:56:29 +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":"a96b9ad7fa9a764252910b2d4e52d582"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"a96b9ad7fa9a764252910b2d4e52d582","responseTime":43,"status":201,"url":"/devices?"} forwarding-1 | {"level":"info","message":"Participant \"4972e5bf-6410-4384-9e5f-f11ee19eaf8e\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\" did not answer hearbeat check, closing connection","requestID":"c723bc00-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Participant \"40b9e796-efb2-4dd9-bdd7-2ebd93567fe7\" in room \"http://localhost/rooms/8f086300-9b48-40af-9769-2e08c6b688de\" did not answer hearbeat check, closing connection","requestID":"c723e310-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1a44cf75865b7868ca5b8e0a4ffe960d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"1a44cf75865b7868ca5b8e0a4ffe960d","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed/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":"1a44cf75865b7868ca5b8e0a4ffe960d"} device-1 | {"level":"info","message":"OPTIONS /devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed/websocket 200 1ms","method":"OPTIONS","requestID":"1a44cf75865b7868ca5b8e0a4ffe960d","responseTime":1,"status":200,"url":"/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed/websocket"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"bd8ce7a5a438dd5097f2f2a7243f5c56","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"bd8ce7a5a438dd5097f2f2a7243f5c56","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/6eb87021-a407-420e-bdb8-2025610b4a40/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":"bd8ce7a5a438dd5097f2f2a7243f5c56"} device-1 | {"level":"info","message":"OPTIONS /devices/6eb87021-a407-420e-bdb8-2025610b4a40/websocket 200 1ms","method":"OPTIONS","requestID":"bd8ce7a5a438dd5097f2f2a7243f5c56","responseTime":1,"status":200,"url":"/devices/6eb87021-a407-420e-bdb8-2025610b4a40/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5MX0.t_ExccEoFBvT0nU0KMc1Qoyoh8COO-zGB1vNJyuvMs0","level":"info","message":"auth send jwt","requestID":"82584a62b977b055cb3e7cba0dedab17"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"82584a62b977b055cb3e7cba0dedab17","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"82584a62b977b055cb3e7cba0dedab17"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5MX0.t_ExccEoFBvT0nU0KMc1Qoyoh8COO-zGB1vNJyuvMs0","level":"info","message":"auth send jwt","requestID":"f154fce63813ce30a07773562390c423"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1127,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:31Z"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"f154fce63813ce30a07773562390c423","responseTime":5,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1127,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.066743,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:31Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"f154fce63813ce30a07773562390c423"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"82584a62b977b055cb3e7cba0dedab17","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072591,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5MX0.t_ExccEoFBvT0nU0KMc1Qoyoh8COO-zGB1vNJyuvMs0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"82584a62b977b055cb3e7cba0dedab17","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1128,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:31Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1128,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.741444,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:31Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6eb87021-a407-420e-bdb8-2025610b4a40","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f154fce63813ce30a07773562390c423","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6eb87021-a407-420e-bdb8-2025610b4a40","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072591,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5MX0.t_ExccEoFBvT0nU0KMc1Qoyoh8COO-zGB1vNJyuvMs0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f154fce63813ce30a07773562390c423","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"82584a62b977b055cb3e7cba0dedab17"} device-1 | {"level":"info","message":"POST /devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed/websocket 200 20ms","method":"POST","requestID":"82584a62b977b055cb3e7cba0dedab17","responseTime":20,"status":200,"url":"/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:56:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed/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":"82584a62b977b055cb3e7cba0dedab17"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"f154fce63813ce30a07773562390c423"} gateway-1 | {"time_local":"16/Oct/2024:09:56:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/6eb87021-a407-420e-bdb8-2025610b4a40/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":"f154fce63813ce30a07773562390c423"} device-1 | {"level":"info","message":"POST /devices/6eb87021-a407-420e-bdb8-2025610b4a40/websocket 200 25ms","method":"POST","requestID":"f154fce63813ce30a07773562390c423","responseTime":25,"status":200,"url":"/devices/6eb87021-a407-420e-bdb8-2025610b4a40/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/6eb87021-a407-420e-bdb8-2025610b4a40' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d2216e72bb5f0747760c12b733e7f2d6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"d2216e72bb5f0747760c12b733e7f2d6","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed? 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":"d2216e72bb5f0747760c12b733e7f2d6"} device-1 | {"level":"info","message":"OPTIONS /devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed? 200 0ms","method":"OPTIONS","requestID":"d2216e72bb5f0747760c12b733e7f2d6","responseTime":0,"status":200,"url":"/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0a6911755a2824e03aa67f4100f70364","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"0a6911755a2824e03aa67f4100f70364","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/6eb87021-a407-420e-bdb8-2025610b4a40? 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":"0a6911755a2824e03aa67f4100f70364"} device-1 | {"level":"info","message":"OPTIONS /devices/6eb87021-a407-420e-bdb8-2025610b4a40? 200 1ms","method":"OPTIONS","requestID":"0a6911755a2824e03aa67f4100f70364","responseTime":1,"status":200,"url":"/devices/6eb87021-a407-420e-bdb8-2025610b4a40?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5MX0.t_ExccEoFBvT0nU0KMc1Qoyoh8COO-zGB1vNJyuvMs0","level":"info","message":"auth send jwt","requestID":"b097ccbc5ce669b3e653ebdab50b6348"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"b097ccbc5ce669b3e653ebdab50b6348","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"b097ccbc5ce669b3e653ebdab50b6348"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1129,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M","level":"info","message":"auth send jwt","requestID":"e170ae819ad591b5b94271b0fe2a2460"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e170ae819ad591b5b94271b0fe2a2460","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1129,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.588823,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b097ccbc5ce669b3e653ebdab50b6348","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072591,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5MX0.t_ExccEoFBvT0nU0KMc1Qoyoh8COO-zGB1vNJyuvMs0"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"e170ae819ad591b5b94271b0fe2a2460"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b097ccbc5ce669b3e653ebdab50b6348","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1130,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1130,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.120221,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6eb87021-a407-420e-bdb8-2025610b4a40","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e170ae819ad591b5b94271b0fe2a2460","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6eb87021-a407-420e-bdb8-2025610b4a40","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072592,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e170ae819ad591b5b94271b0fe2a2460","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd01bba5f-ee09-40e4-94d9-95a5d39087ed","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd01bba5f-ee09-40e4-94d9-95a5d39087ed","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:29.849660137Z"}]},"request_id":"436e756a-9cda-4efb-a889-11c32a72c75e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.0140865} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b097ccbc5ce669b3e653ebdab50b6348","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6eb87021-a407-420e-bdb8-2025610b4a40","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6eb87021-a407-420e-bdb8-2025610b4a40","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:29.898727991Z"}]},"request_id":"235bdf6c-bd99-4fe1-bedf-2bd235339eff","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.017108} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e170ae819ad591b5b94271b0fe2a2460","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"eccbe141-27b5-40a6-8a08-a5ae9374a380","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.0186763} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"b097ccbc5ce669b3e653ebdab50b6348","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"80c92c41-6a2d-4bed-a277-7debab838492","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.023596} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"e170ae819ad591b5b94271b0fe2a2460","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd01bba5f-ee09-40e4-94d9-95a5d39087ed","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd01bba5f-ee09-40e4-94d9-95a5d39087ed","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:29.849660137Z"}]},"request_id":"8134f8f7-52a6-48af-8015-f2f00ee1ca4f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.0332866} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b097ccbc5ce669b3e653ebdab50b6348","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"b097ccbc5ce669b3e653ebdab50b6348"} gateway-1 | {"time_local":"16/Oct/2024:09:56:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed? 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":"b097ccbc5ce669b3e653ebdab50b6348"} device-1 | {"level":"info","message":"PATCH /devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed? 200 35ms","method":"PATCH","requestID":"b097ccbc5ce669b3e653ebdab50b6348","responseTime":35,"status":200,"url":"/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6eb87021-a407-420e-bdb8-2025610b4a40","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6eb87021-a407-420e-bdb8-2025610b4a40","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:29.898727991Z"}]},"request_id":"c2ae3286-2669-475f-8ad1-d34270a1900a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.0447009} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e170ae819ad591b5b94271b0fe2a2460","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"e170ae819ad591b5b94271b0fe2a2460"} device-1 | {"level":"info","message":"PATCH /devices/6eb87021-a407-420e-bdb8-2025610b4a40? 200 41ms","method":"PATCH","requestID":"e170ae819ad591b5b94271b0fe2a2460","responseTime":41,"status":200,"url":"/devices/6eb87021-a407-420e-bdb8-2025610b4a40?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/6eb87021-a407-420e-bdb8-2025610b4a40? 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":"e170ae819ad591b5b94271b0fe2a2460"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M","level":"info","message":"auth send jwt","requestID":"6149e18571325a2c77e2fa368339d110"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"6149e18571325a2c77e2fa368339d110","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6149e18571325a2c77e2fa368339d110"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1131,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1131,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.301171,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"6149e18571325a2c77e2fa368339d110","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072592,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6149e18571325a2c77e2fa368339d110","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd01bba5f-ee09-40e4-94d9-95a5d39087ed","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd01bba5f-ee09-40e4-94d9-95a5d39087ed","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:29.849660137Z"}]},"request_id":"f63ab49e-4b09-4171-b716-518b1e315edc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.0710685} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"6149e18571325a2c77e2fa368339d110","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6149e18571325a2c77e2fa368339d110"} gateway-1 | {"time_local":"16/Oct/2024:09:56:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed? 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":"6149e18571325a2c77e2fa368339d110"} device-1 | {"level":"info","message":"GET /devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed? 200 14ms","method":"GET","requestID":"6149e18571325a2c77e2fa368339d110","responseTime":14,"status":200,"url":"/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M","level":"info","message":"auth send jwt","requestID":"6514e76d5345d0d05d04c9d56dc440c2"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"6514e76d5345d0d05d04c9d56dc440c2","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6514e76d5345d0d05d04c9d56dc440c2"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1132,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1132,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.17899,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6eb87021-a407-420e-bdb8-2025610b4a40","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"6514e76d5345d0d05d04c9d56dc440c2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6eb87021-a407-420e-bdb8-2025610b4a40","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072592,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6514e76d5345d0d05d04c9d56dc440c2","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6eb87021-a407-420e-bdb8-2025610b4a40","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6eb87021-a407-420e-bdb8-2025610b4a40","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:29.898727991Z"}]},"request_id":"bfc023dc-f6c3-48f0-b748-eb44f418bed6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.092044} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"6514e76d5345d0d05d04c9d56dc440c2","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6514e76d5345d0d05d04c9d56dc440c2"} gateway-1 | {"time_local":"16/Oct/2024:09:56:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6eb87021-a407-420e-bdb8-2025610b4a40? 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":"6514e76d5345d0d05d04c9d56dc440c2"} device-1 | {"level":"info","message":"GET /devices/6eb87021-a407-420e-bdb8-2025610b4a40? 200 14ms","method":"GET","requestID":"6514e76d5345d0d05d04c9d56dc440c2","responseTime":14,"status":200,"url":"/devices/6eb87021-a407-420e-bdb8-2025610b4a40?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M","level":"info","message":"auth send jwt","requestID":"4632388fe47ba3a1002149c937fc81bb"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"4632388fe47ba3a1002149c937fc81bb","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"4632388fe47ba3a1002149c937fc81bb"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1133,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1133,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.826717,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"4632388fe47ba3a1002149c937fc81bb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072592,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4632388fe47ba3a1002149c937fc81bb","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b"},"level":"info","message":"Attempting to run experiment","requestID":"4632388fe47ba3a1002149c937fc81bb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b"},"level":"info","message":"Attempting to book experiment","requestID":"4632388fe47ba3a1002149c937fc81bb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b"},"level":"info","message":"Successfully booked experiment","requestID":"4632388fe47ba3a1002149c937fc81bb"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ebf58bd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ebf5b2e0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1134,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1134,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.077562,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ebf58bd0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072592,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ebf58bd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1135,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1135,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.833359,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6eb87021-a407-420e-bdb8-2025610b4a40","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ebf5b2e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6eb87021-a407-420e-bdb8-2025610b4a40","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072592,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ebf5b2e0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd01bba5f-ee09-40e4-94d9-95a5d39087ed","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd01bba5f-ee09-40e4-94d9-95a5d39087ed","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:29.849660137Z"}]},"request_id":"58beaea1-fded-4756-9c4f-095067b9dd69","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.151625} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"ebf58bd0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6eb87021-a407-420e-bdb8-2025610b4a40","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6eb87021-a407-420e-bdb8-2025610b4a40","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:29.898727991Z"}]},"request_id":"2f2e7e74-f984-4615-a668-86d14754b35e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.1542168} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ebf5b2e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ebf58bd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed? 200 17ms","method":"GET","requestID":"ebf58bd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ebf5b2e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/6eb87021-a407-420e-bdb8-2025610b4a40? 200 17ms","method":"GET","requestID":"ebf5b2e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/6eb87021-a407-420e-bdb8-2025610b4a40?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b"},"level":"info","message":"Setting up experiment","requestID":"4632388fe47ba3a1002149c937fc81bb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"4632388fe47ba3a1002149c937fc81bb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b"},"level":"info","message":"Successfully locked booking for experiment","requestID":"4632388fe47ba3a1002149c937fc81bb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"4632388fe47ba3a1002149c937fc81bb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"4632388fe47ba3a1002149c937fc81bb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b"},"level":"info","message":"Attempting to update booking for experiment","requestID":"4632388fe47ba3a1002149c937fc81bb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b"},"level":"info","message":"Successfully updated booking for experiment","requestID":"4632388fe47ba3a1002149c937fc81bb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b"},"level":"info","message":"Successfully set up experiment","requestID":"4632388fe47ba3a1002149c937fc81bb"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ebff4fd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ebff76e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ebffc500-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b"},"level":"info","message":"Successfully running experiment","requestID":"4632388fe47ba3a1002149c937fc81bb"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1136,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1136,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.817423,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ebff4fd0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072592,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ebff4fd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1137,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1137,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.187149,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6eb87021-a407-420e-bdb8-2025610b4a40","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ebff76e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6eb87021-a407-420e-bdb8-2025610b4a40","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072592,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ebff76e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1138,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd01bba5f-ee09-40e4-94d9-95a5d39087ed","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cfdeb36a-b13d-4520-b464-72cc680b200e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.214447} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1138,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.046475,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ebffc500-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed","object_type":"device","rebac_allow":false,"scope_allow":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":"ebffc500-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd01bba5f-ee09-40e4-94d9-95a5d39087ed","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd01bba5f-ee09-40e4-94d9-95a5d39087ed","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:29.849660137Z"}]},"request_id":"9cbe96e2-3b8d-49ea-8c26-9819de2e367a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.2175539} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"ebff4fd0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6eb87021-a407-420e-bdb8-2025610b4a40","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6eb87021-a407-420e-bdb8-2025610b4a40","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:29.898727991Z"}]},"request_id":"b7dfe43c-65cf-4c46-8654-3af3ca168192","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.2212667} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"ebff76e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ebffc500-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed/signaling 200 16ms","method":"POST","requestID":"ebffc500-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ec02d240-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ebff4fd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed? 200 27ms","method":"GET","requestID":"ebff4fd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":27,"status":200,"url":"/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ebff76e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/6eb87021-a407-420e-bdb8-2025610b4a40? 200 27ms","method":"GET","requestID":"ebff76e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":27,"status":200,"url":"/devices/6eb87021-a407-420e-bdb8-2025610b4a40?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbb68b4b1-289b-44c5-b693-ad0b2f8fbe1b#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbb68b4b1-289b-44c5-b693-ad0b2f8fbe1b","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"bb3edbfa-8205-4370-8236-162f92832888","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.2327955} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6b29c930-0a51-488a-a46d-c7ec69af160e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.2329936} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ec040ac0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 24ms","method":"POST","requestID":"4632388fe47ba3a1002149c937fc81bb","responseTime":24,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6eb87021-a407-420e-bdb8-2025610b4a40","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"63d1b1bd-b284-4907-9376-ff86a5ff765b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.235827} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1139,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1139,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.632397,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6eb87021-a407-420e-bdb8-2025610b4a40","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ec02d240-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6eb87021-a407-420e-bdb8-2025610b4a40","object_type":"device","rebac_allow":false,"scope_allow":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":"ec02d240-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1140,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ec02d240-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/6eb87021-a407-420e-bdb8-2025610b4a40/signaling 200 13ms","method":"POST","requestID":"ec02d240-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/6eb87021-a407-420e-bdb8-2025610b4a40/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd01bba5f-ee09-40e4-94d9-95a5d39087ed","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f45de0b5-f26b-488c-951d-92efff7664e6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.241971} experiment-1 | {"data":{"experiment":"http://localhost/experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"4632388fe47ba3a1002149c937fc81bb"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1140,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.234263,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} gateway-1 | {"time_local":"16/Oct/2024:09:56:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1212","request_time":"0.147","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4632388fe47ba3a1002149c937fc81bb"} experiment-1 | {"level":"info","message":"POST /experiments? 201 140ms","method":"POST","requestID":"4632388fe47ba3a1002149c937fc81bb","responseTime":140,"status":201,"url":"/experiments?"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ec040ac0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed","object_type":"device","rebac_allow":false,"scope_allow":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":"ec040ac0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ec040ac0-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M","level":"info","message":"auth send jwt","requestID":"db5189b7986f405cad2fd92edec1a8f4"} device-1 | {"level":"info","message":"POST /devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed/signaling 200 12ms","method":"POST","requestID":"ec040ac0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed/signaling"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"db5189b7986f405cad2fd92edec1a8f4","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"db5189b7986f405cad2fd92edec1a8f4"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ec0654b0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1141,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1141,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.975904,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"db5189b7986f405cad2fd92edec1a8f4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072592,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"db5189b7986f405cad2fd92edec1a8f4","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1142,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6eb87021-a407-420e-bdb8-2025610b4a40","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2e9a769c-9423-4745-9631-66d1d3eadc94","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.2564075} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1142,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.890147,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6eb87021-a407-420e-bdb8-2025610b4a40","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ec0654b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6eb87021-a407-420e-bdb8-2025610b4a40","object_type":"device","rebac_allow":false,"scope_allow":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":"ec0654b0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd01bba5f-ee09-40e4-94d9-95a5d39087ed","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd01bba5f-ee09-40e4-94d9-95a5d39087ed","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:29.849660137Z"}]},"request_id":"a50ce177-ecaa-4a65-a5ef-6772901c5164","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.2578175} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"db5189b7986f405cad2fd92edec1a8f4","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ec0654b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/6eb87021-a407-420e-bdb8-2025610b4a40/signaling 200 11ms","method":"POST","requestID":"ec0654b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/6eb87021-a407-420e-bdb8-2025610b4a40/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"db5189b7986f405cad2fd92edec1a8f4"} gateway-1 | {"time_local":"16/Oct/2024:09:56:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed? 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":"db5189b7986f405cad2fd92edec1a8f4"} device-1 | {"level":"info","message":"GET /devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed? 200 14ms","method":"GET","requestID":"db5189b7986f405cad2fd92edec1a8f4","responseTime":14,"status":200,"url":"/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"4632388fe47ba3a1002149c937fc81bb"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ec085080-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ec089ea0-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M","level":"info","message":"auth send jwt","requestID":"1c2e0e63bebf4d4b11623d398ba55731"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"1c2e0e63bebf4d4b11623d398ba55731","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1c2e0e63bebf4d4b11623d398ba55731"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1143,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1143,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.748,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1144,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ec085080-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072592,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ec085080-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1144,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.910496,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6eb87021-a407-420e-bdb8-2025610b4a40","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ec089ea0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6eb87021-a407-420e-bdb8-2025610b4a40","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072592,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ec089ea0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1145,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1145,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.693492,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6eb87021-a407-420e-bdb8-2025610b4a40","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"1c2e0e63bebf4d4b11623d398ba55731","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6eb87021-a407-420e-bdb8-2025610b4a40","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072592,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1c2e0e63bebf4d4b11623d398ba55731","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd01bba5f-ee09-40e4-94d9-95a5d39087ed","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd01bba5f-ee09-40e4-94d9-95a5d39087ed","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:29.849660137Z"}]},"request_id":"82b035b8-5407-409a-b88f-0c9d028d7f81","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.2752542} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ec085080-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6eb87021-a407-420e-bdb8-2025610b4a40","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6eb87021-a407-420e-bdb8-2025610b4a40","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:29.898727991Z"}]},"request_id":"bfe2a14f-099c-4ebf-a4e0-2657a86c3b20","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.2774284} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ec089ea0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ec085080-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6eb87021-a407-420e-bdb8-2025610b4a40","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6eb87021-a407-420e-bdb8-2025610b4a40","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:29.898727991Z"}]},"request_id":"ee1debf7-a824-48d7-91db-4169daf95a14","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.2796128} device-1 | {"level":"info","message":"GET /devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed? 200 16ms","method":"GET","requestID":"ec085080-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed?"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"1c2e0e63bebf4d4b11623d398ba55731","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ec089ea0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/6eb87021-a407-420e-bdb8-2025610b4a40? 200 18ms","method":"GET","requestID":"ec089ea0-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/6eb87021-a407-420e-bdb8-2025610b4a40?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1c2e0e63bebf4d4b11623d398ba55731"} gateway-1 | {"time_local":"16/Oct/2024:09:56:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6eb87021-a407-420e-bdb8-2025610b4a40? 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":"1c2e0e63bebf4d4b11623d398ba55731"} device-1 | {"level":"info","message":"GET /devices/6eb87021-a407-420e-bdb8-2025610b4a40? 200 16ms","method":"GET","requestID":"1c2e0e63bebf4d4b11623d398ba55731","responseTime":16,"status":200,"url":"/devices/6eb87021-a407-420e-bdb8-2025610b4a40?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b"},"level":"info","message":"Building connection plan","requestID":"4632388fe47ba3a1002149c937fc81bb"} 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":"215dea44-d7ba-4f30-a3d5-b42e756023ef"},{"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":"5a6b8ac9-c8ad-4bea-9e3d-463ba5fc4c32"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"883684fe-da20-4ed6-8988-c6b38bbbcd34"}]},"level":"info","message":"Built pairwise service configurations","requestID":"4632388fe47ba3a1002149c937fc81bb"} 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/d01bba5f-ee09-40e4-94d9-95a5d39087ed"},{"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/6eb87021-a407-420e-bdb8-2025610b4a40"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"4632388fe47ba3a1002149c937fc81bb"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"ec0babe0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1146,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1146,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.801707,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ec0babe0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072592,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ec0babe0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"9bc2bc15-672d-4f79-82a2-1fb3b71cf564","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.297717} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"aa1c3e45-032f-4ec9-bc67-2eea378da2a3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.298076} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"ec0babe0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"ec0babe0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"ec0babe0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3'","requestID":"ec0babe0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3'","requestID":"ec0babe0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"ec0babe0-8ba4-11ef-a62f-5f7f958aa687"} 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":"ec0babe0-8ba4-11ef-a62f-5f7f958aa687","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":"ec0babe0-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"4632388fe47ba3a1002149c937fc81bb"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ec134d00-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1147,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd01bba5f-ee09-40e4-94d9-95a5d39087ed","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"477e7ff5-4b94-4e8a-8974-4cd870636073","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.3404393} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1147,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.709301,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ec134d00-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed","object_type":"device","rebac_allow":false,"scope_allow":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":"ec134d00-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ec134d00-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed/signaling 200 10ms","method":"POST","requestID":"ec134d00-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed/signaling"} device-1 | {"device":"d01bba5f-ee09-40e4-94d9-95a5d39087ed","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"d01bba5f-ee09-40e4-94d9-95a5d39087ed","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ec1521c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"device":"6eb87021-a407-420e-bdb8-2025610b4a40","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"6eb87021-a407-420e-bdb8-2025610b4a40","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1148,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6eb87021-a407-420e-bdb8-2025610b4a40","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c78b9d23-8b50-44d2-a0ab-9a8bbf12cf99","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.3530478} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1148,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.159975,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6eb87021-a407-420e-bdb8-2025610b4a40","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ec1521c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6eb87021-a407-420e-bdb8-2025610b4a40","object_type":"device","rebac_allow":false,"scope_allow":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":"ec1521c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ec1521c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/6eb87021-a407-420e-bdb8-2025610b4a40/signaling 200 9ms","method":"POST","requestID":"ec1521c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/6eb87021-a407-420e-bdb8-2025610b4a40/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 4113672640422528983 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:6Tkp\r\na=ice-pwd:j5BgJqw/CcdfPqXQAP67B1ZP\r\na=ice-options:trickle\r\na=fingerprint:sha-256 D9:00:1C:0D:D6:01:86:5D:2B:A0:DB:96:6E:67:9C:87:73:D6:07:CB:19:B2:EB:86:85:56:66:05:08:EC:25:18\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"6eb87021-a407-420e-bdb8-2025610b4a40","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 8770133966635714466 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:Ar6h\r\na=ice-pwd:82xHegfTRUc9GMXc9AlXLqpq\r\na=ice-options:trickle\r\na=fingerprint:sha-256 3F:3E:59:73:2D:D1:98:AF:F1:6D:C1:D3:81:F8:42:A5:B9:74:DB:2D:05:A7:6A:A7:0B:AE:9E:06:55:95:F4:EE\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"d01bba5f-ee09-40e4-94d9-95a5d39087ed","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:634407229 1 udp 2113937151 5b7dbe07-fe78-4bdc-a0dd-2cb8d44f276f.local 58842 typ host generation 0 ufrag Ar6h network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"d01bba5f-ee09-40e4-94d9-95a5d39087ed","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2717721410 1 udp 1677729535 141.24.211.56 58842 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag Ar6h network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"d01bba5f-ee09-40e4-94d9-95a5d39087ed","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/d01bba5f-ee09-40e4-94d9-95a5d39087ed'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed'"} device-1 | {"content":{"candidate":"candidate:531565354 1 udp 2113937151 dc29e18f-2e33-426f-be4c-6d963645c429.local 39079 typ host generation 0 ufrag 6Tkp network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"6eb87021-a407-420e-bdb8-2025610b4a40","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2357504569 1 udp 1677729535 141.24.211.56 39079 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag 6Tkp network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"6eb87021-a407-420e-bdb8-2025610b4a40","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/6eb87021-a407-420e-bdb8-2025610b4a40'"} device-1 | {"device":"6eb87021-a407-420e-bdb8-2025610b4a40","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"d01bba5f-ee09-40e4-94d9-95a5d39087ed","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/16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"d01bba5f-ee09-40e4-94d9-95a5d39087ed","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"6eb87021-a407-420e-bdb8-2025610b4a40","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2820552b548a8d34f7a9473ba497449f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"2820552b548a8d34f7a9473ba497449f","responseTime":1,"status":200,"url":"/auth"} device-1 | {"device":"6eb87021-a407-420e-bdb8-2025610b4a40","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/d01bba5f-ee09-40e4-94d9-95a5d39087ed"},{"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/6eb87021-a407-420e-bdb8-2025610b4a40"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3"}}},"level":"info","message":"received a callback","requestID":"2820552b548a8d34f7a9473ba497449f"} device-1 | {"device":"d01bba5f-ee09-40e4-94d9-95a5d39087ed","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 4ms","method":"POST","requestID":"2820552b548a8d34f7a9473ba497449f","responseTime":4,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.007","http_referrer":"","http_user_agent":"node-fetch","requestID":"2820552b548a8d34f7a9473ba497449f"} device-1 | {"device":"d01bba5f-ee09-40e4-94d9-95a5d39087ed","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3","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/16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"240d9dda3bcd7835ffe50105d771f780","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"240d9dda3bcd7835ffe50105d771f780","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/d01bba5f-ee09-40e4-94d9-95a5d39087ed"},{"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/6eb87021-a407-420e-bdb8-2025610b4a40"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3"}}},"level":"info","message":"received a callback","requestID":"240d9dda3bcd7835ffe50105d771f780"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"ec1fd020-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1149,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c7d8344b-67b7-4197-91d3-6fc4b77e3a7d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.422931} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1149,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.534323,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ec1fd020-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3","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":"ec1fd020-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"ec1fd020-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3 200 8ms","method":"GET","requestID":"ec1fd020-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/peerconnections/16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 31ms","method":"POST","requestID":"240d9dda3bcd7835ffe50105d771f780","responseTime":31,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.034","http_referrer":"","http_user_agent":"node-fetch","requestID":"240d9dda3bcd7835ffe50105d771f780"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ec2415e0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1150,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd01bba5f-ee09-40e4-94d9-95a5d39087ed","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9a3bf575-055f-415c-b56f-5cc4b83dec3c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.4510531} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1150,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.712702,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ec2415e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed","object_type":"device","rebac_allow":false,"scope_allow":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":"ec2415e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ec2415e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed/signaling 200 8ms","method":"POST","requestID":"ec2415e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ec259c80-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1151,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6eb87021-a407-420e-bdb8-2025610b4a40","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"eecd6359-cda0-4002-8f28-8233b7f21d23","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.4602764} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1151,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":1.993792,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6eb87021-a407-420e-bdb8-2025610b4a40","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ec259c80-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6eb87021-a407-420e-bdb8-2025610b4a40","object_type":"device","rebac_allow":false,"scope_allow":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":"ec259c80-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ec259c80-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/6eb87021-a407-420e-bdb8-2025610b4a40/signaling 200 7ms","method":"POST","requestID":"ec259c80-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/devices/6eb87021-a407-420e-bdb8-2025610b4a40/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M","level":"info","message":"auth send jwt","requestID":"812c1b9fa4bcedbf0a7e32b7b2c38298"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"812c1b9fa4bcedbf0a7e32b7b2c38298","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b","requestID":"812c1b9fa4bcedbf0a7e32b7b2c38298"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1152,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1152,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.221296,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"812c1b9fa4bcedbf0a7e32b7b2c38298","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072592,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"812c1b9fa4bcedbf0a7e32b7b2c38298","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b","requestID":"812c1b9fa4bcedbf0a7e32b7b2c38298"} gateway-1 | {"time_local":"16/Oct/2024:09:56:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b HTTP/1.1","status": "200","body_bytes_sent":"1285","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"812c1b9fa4bcedbf0a7e32b7b2c38298"} experiment-1 | {"level":"info","message":"GET /experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b 200 16ms","method":"GET","requestID":"812c1b9fa4bcedbf0a7e32b7b2c38298","responseTime":16,"status":200,"url":"/experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M","level":"info","message":"auth send jwt","requestID":"0654e00e94acd1da702b9ff74a2ad402"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"0654e00e94acd1da702b9ff74a2ad402","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b","requestID":"0654e00e94acd1da702b9ff74a2ad402"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1153,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1153,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.234155,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0654e00e94acd1da702b9ff74a2ad402","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072592,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0654e00e94acd1da702b9ff74a2ad402","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b"},"level":"info","message":"Attempting to finish experiment","requestID":"0654e00e94acd1da702b9ff74a2ad402"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"ec31f890-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1154,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1154,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.265572,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ec31f890-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072592,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ec31f890-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3","device":"6eb87021-a407-420e-bdb8-2025610b4a40","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3","device":"d01bba5f-ee09-40e4-94d9-95a5d39087ed","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/16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"cf953960-711e-4a3a-89c2-fc1671d76405","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.5665603} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1f3f5877-9d08-4ba3-92fa-7a0fe935783c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.5668914} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4df432ab1678bf519d2001fbb780c29c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"4df432ab1678bf519d2001fbb780c29c","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"94edf101a5c30dc88d6fb073c4b6c9e3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"ec31f890-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/relations/update"} 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/d01bba5f-ee09-40e4-94d9-95a5d39087ed"},{"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/6eb87021-a407-420e-bdb8-2025610b4a40"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3"}}},"level":"info","message":"received a callback","requestID":"4df432ab1678bf519d2001fbb780c29c"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"94edf101a5c30dc88d6fb073c4b6c9e3","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/d01bba5f-ee09-40e4-94d9-95a5d39087ed"},{"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/6eb87021-a407-420e-bdb8-2025610b4a40"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3"}}},"level":"info","message":"received a callback","requestID":"94edf101a5c30dc88d6fb073c4b6c9e3"} device-1 | {"data":{"peerconnection":"16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"ec31f890-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3 204 52ms","method":"DELETE","requestID":"ec31f890-8ba4-11ef-a62f-5f7f958aa687","responseTime":52,"status":204,"url":"/peerconnections/16ee382f-6bdd-4fa7-a94d-5be72ff4a2f3"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b"},"level":"info","message":"Successfully finished experiment","requestID":"0654e00e94acd1da702b9ff74a2ad402"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ec3ca6f0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1155,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd01bba5f-ee09-40e4-94d9-95a5d39087ed","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4c5704ca-ada0-4608-94a1-d4e090e7f199","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.614761} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1155,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.362994,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ec3ca6f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed","object_type":"device","rebac_allow":false,"scope_allow":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":"ec3ca6f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ec3ca6f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed/signaling 200 14ms","method":"POST","requestID":"ec3ca6f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbb68b4b1-289b-44c5-b693-ad0b2f8fbe1b': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbb68b4b1-289b-44c5-b693-ad0b2f8fbe1b","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"c638121f-0ee2-45fe-9c71-c9c98e6d9f36","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.6222954} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2667529a-10ad-4727-905d-a1738487d07e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.6227167} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ec3f17f0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"0654e00e94acd1da702b9ff74a2ad402","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1156,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6eb87021-a407-420e-bdb8-2025610b4a40","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c15b32ee-2eb8-4218-a887-5bd38ece1079","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.629863} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1156,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.916324,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6eb87021-a407-420e-bdb8-2025610b4a40","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ec3f17f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6eb87021-a407-420e-bdb8-2025610b4a40","object_type":"device","rebac_allow":false,"scope_allow":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":"ec3f17f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ec3f17f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/6eb87021-a407-420e-bdb8-2025610b4a40/signaling 200 12ms","method":"POST","requestID":"ec3f17f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/6eb87021-a407-420e-bdb8-2025610b4a40/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b","requestID":"0654e00e94acd1da702b9ff74a2ad402"} gateway-1 | {"time_local":"16/Oct/2024:09:56:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b 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":"0654e00e94acd1da702b9ff74a2ad402"} experiment-1 | {"level":"info","message":"DELETE /experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b 204 170ms","method":"DELETE","requestID":"0654e00e94acd1da702b9ff74a2ad402","responseTime":170,"status":204,"url":"/experiments/bb68b4b1-289b-44c5-b693-ad0b2f8fbe1b"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 125ms","method":"POST","requestID":"4df432ab1678bf519d2001fbb780c29c","responseTime":125,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.130","http_referrer":"","http_user_agent":"node-fetch","requestID":"4df432ab1678bf519d2001fbb780c29c"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 125ms","method":"POST","requestID":"94edf101a5c30dc88d6fb073c4b6c9e3","responseTime":125,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.131","http_referrer":"","http_user_agent":"node-fetch","requestID":"94edf101a5c30dc88d6fb073c4b6c9e3"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M","level":"info","message":"auth send jwt","requestID":"79253a9930faab20e3c0206a05473dc9"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"79253a9930faab20e3c0206a05473dc9","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"79253a9930faab20e3c0206a05473dc9"} gateway-1 | {"time_local":"16/Oct/2024:09:56:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3279","request_time":"0.729","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"aafdbf5aeef0eb113f12f1cc7651ed93"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1157,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1157,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.529126,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"79253a9930faab20e3c0206a05473dc9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072592,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"79253a9930faab20e3c0206a05473dc9","responseTime":5,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:56:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3285","request_time":"0.743","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"c3db870362822566c768786e7d53d16c"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/6eb87021-a407-420e-bdb8-2025610b4a40' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/d01bba5f-ee09-40e4-94d9-95a5d39087ed' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F008a713b-7665-47f8-b930-e777556412f6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"2d5a34b7-b97e-487f-bb36-c41279fbacd5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.7206068} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"79253a9930faab20e3c0206a05473dc9","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f1f8009c-1404-4394-bb9b-5ed5329bfe95","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.7243993} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"79253a9930faab20e3c0206a05473dc9","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F008a713b-7665-47f8-b930-e777556412f6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"79a043f3-9c79-459b-942e-629b9a03064b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.734751} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8f11e06f-7254-4695-bf13-fbb7851ec76e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.7349575} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"79253a9930faab20e3c0206a05473dc9","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F008a713b-7665-47f8-b930-e777556412f6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F008a713b-7665-47f8-b930-e777556412f6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:32.734708838Z"}]},"request_id":"87012ce7-9f17-468e-8fd6-ff8242bf23e9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.7383955} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"79253a9930faab20e3c0206a05473dc9","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"79253a9930faab20e3c0206a05473dc9"} gateway-1 | {"time_local":"16/Oct/2024:09:56:32 +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":"79253a9930faab20e3c0206a05473dc9"} device-1 | {"level":"info","message":"POST /devices? 201 41ms","method":"POST","requestID":"79253a9930faab20e3c0206a05473dc9","responseTime":41,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M","level":"info","message":"auth send jwt","requestID":"b88f8db2789a05e56c0800e865424418"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b88f8db2789a05e56c0800e865424418","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"b88f8db2789a05e56c0800e865424418"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1158,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1158,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.782653,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:32Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b88f8db2789a05e56c0800e865424418","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072592,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Mn0.HzYID7AVV_mijJ0R7U6OQg1PWt11eFPsE7LZWhb1f1M"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b88f8db2789a05e56c0800e865424418","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0884777-1ee7-4eee-b215-681d2c291052","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"1dfb42c8-efc4-452f-a419-212b134c0ae1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.7589176} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"b88f8db2789a05e56c0800e865424418","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"faad1d70-247a-40b8-b33f-202017a58145","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.762479} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"b88f8db2789a05e56c0800e865424418","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0884777-1ee7-4eee-b215-681d2c291052","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"b32f3bf5-8703-42d0-95a9-1c398d25fc0e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.771428} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"64b639d2-0890-44a5-9b5a-f295a0a5e102","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.7716377} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"b88f8db2789a05e56c0800e865424418","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0884777-1ee7-4eee-b215-681d2c291052","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0884777-1ee7-4eee-b215-681d2c291052","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:32.771405231Z"}]},"request_id":"fab9c43e-42b2-4c04-b205-c6c553190e2e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072592.7750878} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"b88f8db2789a05e56c0800e865424418","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"b88f8db2789a05e56c0800e865424418"} gateway-1 | {"time_local":"16/Oct/2024:09:56:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.035","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b88f8db2789a05e56c0800e865424418"} device-1 | {"level":"info","message":"POST /devices? 201 31ms","method":"POST","requestID":"b88f8db2789a05e56c0800e865424418","responseTime":31,"status":201,"url":"/devices?"} forwarding-1 | {"level":"info","message":"Participant \"6f7cb898-69a8-414a-b114-9df826fe2e2d\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\" did not answer hearbeat check, closing connection","requestID":"c90e4df0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Participant \"74e0f066-e53d-41cc-9732-4a45dd122c49\" in room \"http://localhost/rooms/8507135b-d338-4226-9684-c9b937a38216\" did not answer hearbeat check, closing connection","requestID":"c90e9c10-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0c1c45da00ab9e420141ba2382369f3a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"0c1c45da00ab9e420141ba2382369f3a","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/b0884777-1ee7-4eee-b215-681d2c291052/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":"0c1c45da00ab9e420141ba2382369f3a"} device-1 | {"level":"info","message":"OPTIONS /devices/b0884777-1ee7-4eee-b215-681d2c291052/websocket 200 1ms","method":"OPTIONS","requestID":"0c1c45da00ab9e420141ba2382369f3a","responseTime":1,"status":200,"url":"/devices/b0884777-1ee7-4eee-b215-681d2c291052/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NH0.ipD80jpcd52OFIKFO1aNajHqUhzsT86j2EynXquYGkE","level":"info","message":"auth send jwt","requestID":"c5121dd3757e146d2cc2033d07e44080"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c5121dd3757e146d2cc2033d07e44080","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"c5121dd3757e146d2cc2033d07e44080"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1159,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:34Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1159,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.194471,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:34Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/b0884777-1ee7-4eee-b215-681d2c291052","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c5121dd3757e146d2cc2033d07e44080","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b0884777-1ee7-4eee-b215-681d2c291052","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072594,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NH0.ipD80jpcd52OFIKFO1aNajHqUhzsT86j2EynXquYGkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c5121dd3757e146d2cc2033d07e44080","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7da8eae52b08a38a95a74c1a4a09ef13","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"7da8eae52b08a38a95a74c1a4a09ef13","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/008a713b-7665-47f8-b930-e777556412f6/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":"7da8eae52b08a38a95a74c1a4a09ef13"} device-1 | {"level":"info","message":"OPTIONS /devices/008a713b-7665-47f8-b930-e777556412f6/websocket 200 1ms","method":"OPTIONS","requestID":"7da8eae52b08a38a95a74c1a4a09ef13","responseTime":1,"status":200,"url":"/devices/008a713b-7665-47f8-b930-e777556412f6/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NH0.ipD80jpcd52OFIKFO1aNajHqUhzsT86j2EynXquYGkE","level":"info","message":"auth send jwt","requestID":"eee0d7b962126612be34c553382fcdad"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"eee0d7b962126612be34c553382fcdad","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"eee0d7b962126612be34c553382fcdad"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"c5121dd3757e146d2cc2033d07e44080"} device-1 | {"level":"info","message":"POST /devices/b0884777-1ee7-4eee-b215-681d2c291052/websocket 200 21ms","method":"POST","requestID":"c5121dd3757e146d2cc2033d07e44080","responseTime":21,"status":200,"url":"/devices/b0884777-1ee7-4eee-b215-681d2c291052/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:56:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/b0884777-1ee7-4eee-b215-681d2c291052/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":"c5121dd3757e146d2cc2033d07e44080"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1160,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:34Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1160,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.985377,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:34Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/008a713b-7665-47f8-b930-e777556412f6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"eee0d7b962126612be34c553382fcdad","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/008a713b-7665-47f8-b930-e777556412f6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072594,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NH0.ipD80jpcd52OFIKFO1aNajHqUhzsT86j2EynXquYGkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"eee0d7b962126612be34c553382fcdad","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"eee0d7b962126612be34c553382fcdad"} gateway-1 | {"time_local":"16/Oct/2024:09:56:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/008a713b-7665-47f8-b930-e777556412f6/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.019","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"eee0d7b962126612be34c553382fcdad"} device-1 | {"level":"info","message":"POST /devices/008a713b-7665-47f8-b930-e777556412f6/websocket 200 15ms","method":"POST","requestID":"eee0d7b962126612be34c553382fcdad","responseTime":15,"status":200,"url":"/devices/008a713b-7665-47f8-b930-e777556412f6/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/b0884777-1ee7-4eee-b215-681d2c291052' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/008a713b-7665-47f8-b930-e777556412f6' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f85c2a615c1c6e2e020427f0e7f8ffcb","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"f85c2a615c1c6e2e020427f0e7f8ffcb","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/b0884777-1ee7-4eee-b215-681d2c291052? 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":"f85c2a615c1c6e2e020427f0e7f8ffcb"} device-1 | {"level":"info","message":"OPTIONS /devices/b0884777-1ee7-4eee-b215-681d2c291052? 200 1ms","method":"OPTIONS","requestID":"f85c2a615c1c6e2e020427f0e7f8ffcb","responseTime":1,"status":200,"url":"/devices/b0884777-1ee7-4eee-b215-681d2c291052?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0e82004d8d260fcb72d173646603cb8b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"0e82004d8d260fcb72d173646603cb8b","responseTime":0,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/008a713b-7665-47f8-b930-e777556412f6? 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":"0e82004d8d260fcb72d173646603cb8b"} device-1 | {"level":"info","message":"OPTIONS /devices/008a713b-7665-47f8-b930-e777556412f6? 200 0ms","method":"OPTIONS","requestID":"0e82004d8d260fcb72d173646603cb8b","responseTime":0,"status":200,"url":"/devices/008a713b-7665-47f8-b930-e777556412f6?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NH0.ipD80jpcd52OFIKFO1aNajHqUhzsT86j2EynXquYGkE","level":"info","message":"auth send jwt","requestID":"e85b2e51ed126db783a7fbc4c0de1f3c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e85b2e51ed126db783a7fbc4c0de1f3c","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"e85b2e51ed126db783a7fbc4c0de1f3c"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1161,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:34Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1161,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.770274,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:34Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NH0.ipD80jpcd52OFIKFO1aNajHqUhzsT86j2EynXquYGkE","level":"info","message":"auth send jwt","requestID":"d51bb68eaf337329eb34d073ed03ce08"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/b0884777-1ee7-4eee-b215-681d2c291052","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e85b2e51ed126db783a7fbc4c0de1f3c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b0884777-1ee7-4eee-b215-681d2c291052","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072594,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NH0.ipD80jpcd52OFIKFO1aNajHqUhzsT86j2EynXquYGkE"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d51bb68eaf337329eb34d073ed03ce08","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e85b2e51ed126db783a7fbc4c0de1f3c","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"d51bb68eaf337329eb34d073ed03ce08"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1162,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:34Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1162,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.91775,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:34Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/008a713b-7665-47f8-b930-e777556412f6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d51bb68eaf337329eb34d073ed03ce08","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/008a713b-7665-47f8-b930-e777556412f6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072594,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NH0.ipD80jpcd52OFIKFO1aNajHqUhzsT86j2EynXquYGkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d51bb68eaf337329eb34d073ed03ce08","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0884777-1ee7-4eee-b215-681d2c291052","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0884777-1ee7-4eee-b215-681d2c291052","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:32.771405231Z"}]},"request_id":"a7951ca4-edac-43ba-bf7f-a5cc88e0aed8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072594.8401895} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e85b2e51ed126db783a7fbc4c0de1f3c","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d4e8d13f-f90d-4a5e-a103-7e0080e9f2e9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072594.844666} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"e85b2e51ed126db783a7fbc4c0de1f3c","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F008a713b-7665-47f8-b930-e777556412f6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F008a713b-7665-47f8-b930-e777556412f6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:32.734708838Z"}]},"request_id":"5ae839de-3db8-41d2-a2c2-d580e621820c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072594.8465507} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"d51bb68eaf337329eb34d073ed03ce08","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2ee54340-29e7-466b-859a-94d415f4036f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072594.8504949} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"d51bb68eaf337329eb34d073ed03ce08","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0884777-1ee7-4eee-b215-681d2c291052","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0884777-1ee7-4eee-b215-681d2c291052","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:32.771405231Z"}]},"request_id":"7171c2c3-69f4-4d13-8b3b-3ee20864995a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072594.8611152} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"e85b2e51ed126db783a7fbc4c0de1f3c","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"e85b2e51ed126db783a7fbc4c0de1f3c"} gateway-1 | {"time_local":"16/Oct/2024:09:56:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/b0884777-1ee7-4eee-b215-681d2c291052? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.038","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"e85b2e51ed126db783a7fbc4c0de1f3c"} device-1 | {"level":"info","message":"PATCH /devices/b0884777-1ee7-4eee-b215-681d2c291052? 200 33ms","method":"PATCH","requestID":"e85b2e51ed126db783a7fbc4c0de1f3c","responseTime":33,"status":200,"url":"/devices/b0884777-1ee7-4eee-b215-681d2c291052?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F008a713b-7665-47f8-b930-e777556412f6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F008a713b-7665-47f8-b930-e777556412f6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:32.734708838Z"}]},"request_id":"c4c6fc3d-5276-4f13-8511-4b0910b03736","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072594.8707774} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"d51bb68eaf337329eb34d073ed03ce08","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"d51bb68eaf337329eb34d073ed03ce08"} gateway-1 | {"time_local":"16/Oct/2024:09:56:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/008a713b-7665-47f8-b930-e777556412f6? 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":"d51bb68eaf337329eb34d073ed03ce08"} device-1 | {"level":"info","message":"PATCH /devices/008a713b-7665-47f8-b930-e777556412f6? 200 38ms","method":"PATCH","requestID":"d51bb68eaf337329eb34d073ed03ce08","responseTime":38,"status":200,"url":"/devices/008a713b-7665-47f8-b930-e777556412f6?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NH0.ipD80jpcd52OFIKFO1aNajHqUhzsT86j2EynXquYGkE","level":"info","message":"auth send jwt","requestID":"611dc5ffe77bdd536ac7c401031d4422"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"611dc5ffe77bdd536ac7c401031d4422","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"611dc5ffe77bdd536ac7c401031d4422"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1163,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:34Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1163,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.963269,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:34Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/008a713b-7665-47f8-b930-e777556412f6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"611dc5ffe77bdd536ac7c401031d4422","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/008a713b-7665-47f8-b930-e777556412f6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072594,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NH0.ipD80jpcd52OFIKFO1aNajHqUhzsT86j2EynXquYGkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"611dc5ffe77bdd536ac7c401031d4422","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F008a713b-7665-47f8-b930-e777556412f6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F008a713b-7665-47f8-b930-e777556412f6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:32.734708838Z"}]},"request_id":"7e771d90-f0f2-458f-969e-94e52a8217c8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072594.8909442} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"611dc5ffe77bdd536ac7c401031d4422","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"611dc5ffe77bdd536ac7c401031d4422"} device-1 | {"level":"info","message":"GET /devices/008a713b-7665-47f8-b930-e777556412f6? 200 12ms","method":"GET","requestID":"611dc5ffe77bdd536ac7c401031d4422","responseTime":12,"status":200,"url":"/devices/008a713b-7665-47f8-b930-e777556412f6?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/008a713b-7665-47f8-b930-e777556412f6? 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":"611dc5ffe77bdd536ac7c401031d4422"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NH0.ipD80jpcd52OFIKFO1aNajHqUhzsT86j2EynXquYGkE","level":"info","message":"auth send jwt","requestID":"26ed248e925e9ac5dab9cf618e7f1837"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"26ed248e925e9ac5dab9cf618e7f1837","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"26ed248e925e9ac5dab9cf618e7f1837"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1164,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:34Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1164,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.678577,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:34Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b0884777-1ee7-4eee-b215-681d2c291052","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"26ed248e925e9ac5dab9cf618e7f1837","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b0884777-1ee7-4eee-b215-681d2c291052","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072594,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NH0.ipD80jpcd52OFIKFO1aNajHqUhzsT86j2EynXquYGkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"26ed248e925e9ac5dab9cf618e7f1837","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0884777-1ee7-4eee-b215-681d2c291052","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0884777-1ee7-4eee-b215-681d2c291052","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:32.771405231Z"}]},"request_id":"1e96b3d0-b5c2-4d50-867c-131f75e13555","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072594.9110978} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"26ed248e925e9ac5dab9cf618e7f1837","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"26ed248e925e9ac5dab9cf618e7f1837"} gateway-1 | {"time_local":"16/Oct/2024:09:56:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b0884777-1ee7-4eee-b215-681d2c291052? 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":"26ed248e925e9ac5dab9cf618e7f1837"} device-1 | {"level":"info","message":"GET /devices/b0884777-1ee7-4eee-b215-681d2c291052? 200 15ms","method":"GET","requestID":"26ed248e925e9ac5dab9cf618e7f1837","responseTime":15,"status":200,"url":"/devices/b0884777-1ee7-4eee-b215-681d2c291052?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NH0.ipD80jpcd52OFIKFO1aNajHqUhzsT86j2EynXquYGkE","level":"info","message":"auth send jwt","requestID":"2dafbd90834b872cbc9a6d1f9a27dd99"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"2dafbd90834b872cbc9a6d1f9a27dd99","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"2dafbd90834b872cbc9a6d1f9a27dd99"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1165,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:34Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1165,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.20569,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:34Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"2dafbd90834b872cbc9a6d1f9a27dd99","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072594,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NH0.ipD80jpcd52OFIKFO1aNajHqUhzsT86j2EynXquYGkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2dafbd90834b872cbc9a6d1f9a27dd99","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d"},"level":"info","message":"Attempting to run experiment","requestID":"2dafbd90834b872cbc9a6d1f9a27dd99"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d"},"level":"info","message":"Attempting to book experiment","requestID":"2dafbd90834b872cbc9a6d1f9a27dd99"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d"},"level":"info","message":"Successfully booked experiment","requestID":"2dafbd90834b872cbc9a6d1f9a27dd99"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"eda33bd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"eda389f0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1166,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:34Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1166,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.634997,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:34Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1167,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:34Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/008a713b-7665-47f8-b930-e777556412f6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"eda33bd0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/008a713b-7665-47f8-b930-e777556412f6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072594,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NH0.ipD80jpcd52OFIKFO1aNajHqUhzsT86j2EynXquYGkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"eda33bd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1167,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.737128,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:34Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b0884777-1ee7-4eee-b215-681d2c291052","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"eda389f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b0884777-1ee7-4eee-b215-681d2c291052","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072594,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NH0.ipD80jpcd52OFIKFO1aNajHqUhzsT86j2EynXquYGkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"eda389f0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F008a713b-7665-47f8-b930-e777556412f6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F008a713b-7665-47f8-b930-e777556412f6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:32.734708838Z"}]},"request_id":"9b222d53-1f7f-4507-8cc1-1be93b78d467","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072594.9650671} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"eda33bd0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0884777-1ee7-4eee-b215-681d2c291052","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0884777-1ee7-4eee-b215-681d2c291052","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:32.771405231Z"}]},"request_id":"2984b961-19bc-43c5-895e-1fe65a4eaf22","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072594.965748} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"eda389f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"eda33bd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/008a713b-7665-47f8-b930-e777556412f6? 200 13ms","method":"GET","requestID":"eda33bd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/008a713b-7665-47f8-b930-e777556412f6?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"eda389f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/b0884777-1ee7-4eee-b215-681d2c291052? 200 12ms","method":"GET","requestID":"eda389f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/b0884777-1ee7-4eee-b215-681d2c291052?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d"},"level":"info","message":"Setting up experiment","requestID":"2dafbd90834b872cbc9a6d1f9a27dd99"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"2dafbd90834b872cbc9a6d1f9a27dd99"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d"},"level":"info","message":"Successfully locked booking for experiment","requestID":"2dafbd90834b872cbc9a6d1f9a27dd99"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"2dafbd90834b872cbc9a6d1f9a27dd99"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"2dafbd90834b872cbc9a6d1f9a27dd99"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d"},"level":"info","message":"Attempting to update booking for experiment","requestID":"2dafbd90834b872cbc9a6d1f9a27dd99"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d"},"level":"info","message":"Successfully updated booking for experiment","requestID":"2dafbd90834b872cbc9a6d1f9a27dd99"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d"},"level":"info","message":"Successfully set up experiment","requestID":"2dafbd90834b872cbc9a6d1f9a27dd99"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"edacd8c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"edad26e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"edad4df0-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d"},"level":"info","message":"Successfully running experiment","requestID":"2dafbd90834b872cbc9a6d1f9a27dd99"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1168,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1168,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.023322,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1169,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/008a713b-7665-47f8-b930-e777556412f6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"edacd8c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/008a713b-7665-47f8-b930-e777556412f6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072594,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NH0.ipD80jpcd52OFIKFO1aNajHqUhzsT86j2EynXquYGkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"edacd8c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1169,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.829938,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b0884777-1ee7-4eee-b215-681d2c291052","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"edad26e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b0884777-1ee7-4eee-b215-681d2c291052","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072594,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NH0.ipD80jpcd52OFIKFO1aNajHqUhzsT86j2EynXquYGkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"edad26e0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F008a713b-7665-47f8-b930-e777556412f6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F008a713b-7665-47f8-b930-e777556412f6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:32.734708838Z"}]},"request_id":"db840a71-2aec-4df7-a62f-a56e94c512cd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.0307114} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"edacd8c0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0884777-1ee7-4eee-b215-681d2c291052","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0884777-1ee7-4eee-b215-681d2c291052","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:32.771405231Z"}]},"request_id":"2bc7d05c-abb5-437c-b6c8-ade1dcc93e4d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.0319355} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"edad26e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:44422","level":"info","msg":"Received request.","req_id":1170,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F008a713b-7665-47f8-b930-e777556412f6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dabd5cdb-fc5d-4438-9d1b-21856af0fe69","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.0353572} authorization-1 | {"client_addr":"127.0.0.1:44422","level":"info","msg":"Sent response.","req_id":1170,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.241061,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:35Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"edacd8c0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/008a713b-7665-47f8-b930-e777556412f6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"edad4df0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/008a713b-7665-47f8-b930-e777556412f6","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/008a713b-7665-47f8-b930-e777556412f6? 200 17ms","method":"GET","requestID":"edacd8c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/008a713b-7665-47f8-b930-e777556412f6?"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"edad4df0-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"edad26e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/b0884777-1ee7-4eee-b215-681d2c291052? 200 17ms","method":"GET","requestID":"edad26e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/b0884777-1ee7-4eee-b215-681d2c291052?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"edad4df0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/008a713b-7665-47f8-b930-e777556412f6/signaling 200 18ms","method":"POST","requestID":"edad4df0-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/008a713b-7665-47f8-b930-e777556412f6/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"edb03420-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"edb05b30-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F246d8895-bb27-431f-b9b6-cf04b6d11a9d#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F246d8895-bb27-431f-b9b6-cf04b6d11a9d","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"954d55bd-b230-46f1-96af-4642007bcca8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.045252} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"84136707-326e-4cd9-bbae-3ef1463d39a8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.0456882} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F008a713b-7665-47f8-b930-e777556412f6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c172eedb-27b2-4402-ba0c-a23a056c55f4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.048552} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1171,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1172,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1171,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.073767,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"2dafbd90834b872cbc9a6d1f9a27dd99","responseTime":23,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0884777-1ee7-4eee-b215-681d2c291052","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9c43622b-90a9-4988-b51f-cd10b880a528","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.049898} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/008a713b-7665-47f8-b930-e777556412f6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"edb03420-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/008a713b-7665-47f8-b930-e777556412f6","object_type":"device","rebac_allow":false,"scope_allow":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":"edb03420-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1172,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.925822,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b0884777-1ee7-4eee-b215-681d2c291052","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"edb05b30-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b0884777-1ee7-4eee-b215-681d2c291052","object_type":"device","rebac_allow":false,"scope_allow":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":"edb05b30-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"edb03420-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/008a713b-7665-47f8-b930-e777556412f6/signaling 200 14ms","method":"POST","requestID":"edb03420-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/008a713b-7665-47f8-b930-e777556412f6/signaling"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"2dafbd90834b872cbc9a6d1f9a27dd99"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"edb05b30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b0884777-1ee7-4eee-b215-681d2c291052/signaling 200 14ms","method":"POST","requestID":"edb05b30-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/b0884777-1ee7-4eee-b215-681d2c291052/signaling"} gateway-1 | {"time_local":"16/Oct/2024:09:56:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1212","request_time":"0.141","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2dafbd90834b872cbc9a6d1f9a27dd99"} experiment-1 | {"level":"info","message":"POST /experiments? 201 137ms","method":"POST","requestID":"2dafbd90834b872cbc9a6d1f9a27dd99","responseTime":137,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"edb2f340-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NX0._NwEbR7j-qdIYrsggun8r70e9R1XEMi2m9CEyzHWz6w","level":"info","message":"auth send jwt","requestID":"d7531a867cbda0171eb7dcb11cadd1da"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d7531a867cbda0171eb7dcb11cadd1da","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1173,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:35Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d7531a867cbda0171eb7dcb11cadd1da"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0884777-1ee7-4eee-b215-681d2c291052","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a2dbde66-b356-4ea5-9877-b901f8cc53cc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.0647388} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1174,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1173,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.454873,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b0884777-1ee7-4eee-b215-681d2c291052","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"edb2f340-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b0884777-1ee7-4eee-b215-681d2c291052","object_type":"device","rebac_allow":false,"scope_allow":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":"edb2f340-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1174,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.688489,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/008a713b-7665-47f8-b930-e777556412f6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d7531a867cbda0171eb7dcb11cadd1da","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/008a713b-7665-47f8-b930-e777556412f6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072595,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NX0._NwEbR7j-qdIYrsggun8r70e9R1XEMi2m9CEyzHWz6w"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d7531a867cbda0171eb7dcb11cadd1da","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"edb2f340-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b0884777-1ee7-4eee-b215-681d2c291052/signaling 200 10ms","method":"POST","requestID":"edb2f340-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/b0884777-1ee7-4eee-b215-681d2c291052/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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F008a713b-7665-47f8-b930-e777556412f6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F008a713b-7665-47f8-b930-e777556412f6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:32.734708838Z"}]},"request_id":"d7ac1dff-66f1-4d12-902d-5ea4b5a533e0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.0713065} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"2dafbd90834b872cbc9a6d1f9a27dd99"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d7531a867cbda0171eb7dcb11cadd1da","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"edb4ef10-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"edb51620-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d7531a867cbda0171eb7dcb11cadd1da"} gateway-1 | {"time_local":"16/Oct/2024:09:56:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/008a713b-7665-47f8-b930-e777556412f6? 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":"d7531a867cbda0171eb7dcb11cadd1da"} device-1 | {"level":"info","message":"GET /devices/008a713b-7665-47f8-b930-e777556412f6? 200 14ms","method":"GET","requestID":"d7531a867cbda0171eb7dcb11cadd1da","responseTime":14,"status":200,"url":"/devices/008a713b-7665-47f8-b930-e777556412f6?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1175,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1175,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.659575,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1176,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/008a713b-7665-47f8-b930-e777556412f6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"edb4ef10-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/008a713b-7665-47f8-b930-e777556412f6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072594,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NH0.ipD80jpcd52OFIKFO1aNajHqUhzsT86j2EynXquYGkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"edb4ef10-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1176,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.7373,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b0884777-1ee7-4eee-b215-681d2c291052","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"edb51620-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b0884777-1ee7-4eee-b215-681d2c291052","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072594,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NH0.ipD80jpcd52OFIKFO1aNajHqUhzsT86j2EynXquYGkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"edb51620-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NX0._NwEbR7j-qdIYrsggun8r70e9R1XEMi2m9CEyzHWz6w","level":"info","message":"auth send jwt","requestID":"4f7544a7d2db4fe645df3ee5494ad70c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"4f7544a7d2db4fe645df3ee5494ad70c","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4f7544a7d2db4fe645df3ee5494ad70c"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F008a713b-7665-47f8-b930-e777556412f6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F008a713b-7665-47f8-b930-e777556412f6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:32.734708838Z"}]},"request_id":"a5eba8d8-1dec-4f6e-988e-7b4472171156","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.0808148} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"edb4ef10-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0884777-1ee7-4eee-b215-681d2c291052","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0884777-1ee7-4eee-b215-681d2c291052","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:32.771405231Z"}]},"request_id":"45060ac3-ac7a-45ff-939a-57191956311d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.0819035} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"edb51620-8ba4-11ef-a62f-5f7f958aa687","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1177,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1177,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.726993,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:35Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"edb4ef10-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b0884777-1ee7-4eee-b215-681d2c291052","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"4f7544a7d2db4fe645df3ee5494ad70c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b0884777-1ee7-4eee-b215-681d2c291052","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072595,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NX0._NwEbR7j-qdIYrsggun8r70e9R1XEMi2m9CEyzHWz6w"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4f7544a7d2db4fe645df3ee5494ad70c","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"GET /devices/008a713b-7665-47f8-b930-e777556412f6? 200 12ms","method":"GET","requestID":"edb4ef10-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/008a713b-7665-47f8-b930-e777556412f6?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"edb51620-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/b0884777-1ee7-4eee-b215-681d2c291052? 200 12ms","method":"GET","requestID":"edb51620-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/b0884777-1ee7-4eee-b215-681d2c291052?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d"},"level":"info","message":"Building connection plan","requestID":"2dafbd90834b872cbc9a6d1f9a27dd99"} 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":"bd1c7ad7-e4ee-4f4f-87bb-63a4057b4f21"},{"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":"66506541-276e-4eb7-8840-fd26dd7a8d5d"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"11660a45-4a2a-4056-bf71-bc15219c1faa"}]},"level":"info","message":"Built pairwise service configurations","requestID":"2dafbd90834b872cbc9a6d1f9a27dd99"} 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/b0884777-1ee7-4eee-b215-681d2c291052"},{"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/008a713b-7665-47f8-b930-e777556412f6"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"2dafbd90834b872cbc9a6d1f9a27dd99"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"edb73900-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0884777-1ee7-4eee-b215-681d2c291052","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0884777-1ee7-4eee-b215-681d2c291052","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:32.771405231Z"}]},"request_id":"c6556673-4045-4e7c-8729-af1fd8230c07","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.0888622} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"4f7544a7d2db4fe645df3ee5494ad70c","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1178,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:35Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4f7544a7d2db4fe645df3ee5494ad70c"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1178,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.808748,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:35Z"} gateway-1 | {"time_local":"16/Oct/2024:09:56:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b0884777-1ee7-4eee-b215-681d2c291052? 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":"4f7544a7d2db4fe645df3ee5494ad70c"} device-1 | {"level":"info","message":"GET /devices/b0884777-1ee7-4eee-b215-681d2c291052? 200 10ms","method":"GET","requestID":"4f7544a7d2db4fe645df3ee5494ad70c","responseTime":10,"status":200,"url":"/devices/b0884777-1ee7-4eee-b215-681d2c291052?"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"edb73900-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072594,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NH0.ipD80jpcd52OFIKFO1aNajHqUhzsT86j2EynXquYGkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"edb73900-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"70af101a-fa3b-4e7a-9832-e489a014fcf5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.0977633} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"73ff41ea-b8d4-4b85-bb34-d77c3de689c7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.09793} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"edb73900-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"edb73900-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"edb73900-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/ea89a349-f522-4f8e-b4cb-ff880055a0c9'","requestID":"edb73900-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/ea89a349-f522-4f8e-b4cb-ff880055a0c9'","requestID":"edb73900-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"edb73900-8ba4-11ef-a62f-5f7f958aa687"} 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":"edb73900-8ba4-11ef-a62f-5f7f958aa687","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":"edb73900-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"2dafbd90834b872cbc9a6d1f9a27dd99"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"edbeb310-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1179,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F008a713b-7665-47f8-b930-e777556412f6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"30b00497-2f70-40a6-baac-4ee21b72e738","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.142354} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1179,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.429733,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/008a713b-7665-47f8-b930-e777556412f6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"edbeb310-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/008a713b-7665-47f8-b930-e777556412f6","object_type":"device","rebac_allow":false,"scope_allow":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":"edbeb310-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"device":"b0884777-1ee7-4eee-b215-681d2c291052","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"b0884777-1ee7-4eee-b215-681d2c291052","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"device":"008a713b-7665-47f8-b930-e777556412f6","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"008a713b-7665-47f8-b930-e777556412f6","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"edbeb310-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/008a713b-7665-47f8-b930-e777556412f6/signaling 200 11ms","method":"POST","requestID":"edbeb310-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/008a713b-7665-47f8-b930-e777556412f6/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"edc0d5f0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1180,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0884777-1ee7-4eee-b215-681d2c291052","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"387c76c7-079f-4a8f-96af-a85acecb8f10","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.1555314} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1180,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.568494,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b0884777-1ee7-4eee-b215-681d2c291052","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"edc0d5f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b0884777-1ee7-4eee-b215-681d2c291052","object_type":"device","rebac_allow":false,"scope_allow":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":"edc0d5f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"content":{"sdp":"v=0\r\no=- 5927647766616039486 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:I0cS\r\na=ice-pwd:8dQHCg0P2fbbkq/rWEiIQHhl\r\na=ice-options:trickle\r\na=fingerprint:sha-256 50:03:E2:22:88:5D:98:7A:F8:46:9A:1D:AA:77:40:A7:B4:85:EB:2C:B4:56:5B:27:8C:12:93:3F:ED:2A:59:A1\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"008a713b-7665-47f8-b930-e777556412f6","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"edc0d5f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b0884777-1ee7-4eee-b215-681d2c291052/signaling 200 10ms","method":"POST","requestID":"edc0d5f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/b0884777-1ee7-4eee-b215-681d2c291052/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 6766786686221494858 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:VuCl\r\na=ice-pwd:3vBgjrFGanz0L3W8jKsaB3MC\r\na=ice-options:trickle\r\na=fingerprint:sha-256 EB:77:9B:16:A3:5D:EF:0B:E7:9E:35:0A:79:61:37:B8:B5:6A:07:F5:D9:A1:F9:E3:3C:2A:44:FD:9B:78:F6:20\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"b0884777-1ee7-4eee-b215-681d2c291052","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:1352567651 1 udp 2113937151 de70f53c-e539-4be7-b9d9-b82f786462d1.local 60702 typ host generation 0 ufrag VuCl network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"b0884777-1ee7-4eee-b215-681d2c291052","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3283430000 1 udp 1677729535 141.24.211.56 60702 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag VuCl network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"b0884777-1ee7-4eee-b215-681d2c291052","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/b0884777-1ee7-4eee-b215-681d2c291052'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/b0884777-1ee7-4eee-b215-681d2c291052'"} device-1 | {"content":{"candidate":"candidate:2078791894 1 udp 2113937151 5efab36e-02a6-42b8-b8d0-c7294c3a88cf.local 49444 typ host generation 0 ufrag I0cS network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"008a713b-7665-47f8-b930-e777556412f6","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3905714629 1 udp 1677729535 141.24.211.56 49444 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag I0cS network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"008a713b-7665-47f8-b930-e777556412f6","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/008a713b-7665-47f8-b930-e777556412f6'"} device-1 | {"device":"008a713b-7665-47f8-b930-e777556412f6","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"b0884777-1ee7-4eee-b215-681d2c291052","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/ea89a349-f522-4f8e-b4cb-ff880055a0c9' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"ea89a349-f522-4f8e-b4cb-ff880055a0c9","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"008a713b-7665-47f8-b930-e777556412f6","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"b0884777-1ee7-4eee-b215-681d2c291052","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"99f4e2fb5a6a786387f5e6f19d3981fe","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"99f4e2fb5a6a786387f5e6f19d3981fe","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":"new","url":"http://localhost/devices/b0884777-1ee7-4eee-b215-681d2c291052"},{"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/008a713b-7665-47f8-b930-e777556412f6"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/ea89a349-f522-4f8e-b4cb-ff880055a0c9"}}},"level":"info","message":"received a callback","requestID":"99f4e2fb5a6a786387f5e6f19d3981fe"} device-1 | {"device":"b0884777-1ee7-4eee-b215-681d2c291052","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"008a713b-7665-47f8-b930-e777556412f6","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":"99f4e2fb5a6a786387f5e6f19d3981fe","responseTime":5,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.008","http_referrer":"","http_user_agent":"node-fetch","requestID":"99f4e2fb5a6a786387f5e6f19d3981fe"} device-1 | {"device":"b0884777-1ee7-4eee-b215-681d2c291052","deviceName":"JS Device 2","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"ea89a349-f522-4f8e-b4cb-ff880055a0c9","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"ea89a349-f522-4f8e-b4cb-ff880055a0c9","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/ea89a349-f522-4f8e-b4cb-ff880055a0c9' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"ea89a349-f522-4f8e-b4cb-ff880055a0c9","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"04220434f7449967e907b573aa7fd95c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"04220434f7449967e907b573aa7fd95c","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/b0884777-1ee7-4eee-b215-681d2c291052"},{"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/008a713b-7665-47f8-b930-e777556412f6"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/ea89a349-f522-4f8e-b4cb-ff880055a0c9"}}},"level":"info","message":"received a callback","requestID":"04220434f7449967e907b573aa7fd95c"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"edcb5d40-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1181,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fea89a349-f522-4f8e-b4cb-ff880055a0c9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6b9ab8bc-23e2-42a2-b6d6-ce3c17546430","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.2238343} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1181,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.033388,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/ea89a349-f522-4f8e-b4cb-ff880055a0c9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"edcb5d40-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/ea89a349-f522-4f8e-b4cb-ff880055a0c9","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":"edcb5d40-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"edcb5d40-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/ea89a349-f522-4f8e-b4cb-ff880055a0c9 200 7ms","method":"GET","requestID":"edcb5d40-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/peerconnections/ea89a349-f522-4f8e-b4cb-ff880055a0c9"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 29ms","method":"POST","requestID":"04220434f7449967e907b573aa7fd95c","responseTime":29,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.031","http_referrer":"","http_user_agent":"node-fetch","requestID":"04220434f7449967e907b573aa7fd95c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"edcf54e0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1182,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0884777-1ee7-4eee-b215-681d2c291052","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"88497cf1-c6cd-4ad0-8489-716743169454","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.249853} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1182,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.069859,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b0884777-1ee7-4eee-b215-681d2c291052","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"edcf54e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b0884777-1ee7-4eee-b215-681d2c291052","object_type":"device","rebac_allow":false,"scope_allow":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":"edcf54e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"edcf54e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b0884777-1ee7-4eee-b215-681d2c291052/signaling 200 7ms","method":"POST","requestID":"edcf54e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/devices/b0884777-1ee7-4eee-b215-681d2c291052/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"edd0b470-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1183,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F008a713b-7665-47f8-b930-e777556412f6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4f888d22-bbf7-46b8-a8e7-1ff1b31ce26b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.2587528} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1183,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.099479,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/008a713b-7665-47f8-b930-e777556412f6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"edd0b470-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/008a713b-7665-47f8-b930-e777556412f6","object_type":"device","rebac_allow":false,"scope_allow":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":"edd0b470-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"edd0b470-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/008a713b-7665-47f8-b930-e777556412f6/signaling 200 7ms","method":"POST","requestID":"edd0b470-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/devices/008a713b-7665-47f8-b930-e777556412f6/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NX0._NwEbR7j-qdIYrsggun8r70e9R1XEMi2m9CEyzHWz6w","level":"info","message":"auth send jwt","requestID":"a46f9ff56fd9c238a5dac38bc7617ebd"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"a46f9ff56fd9c238a5dac38bc7617ebd","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d","requestID":"a46f9ff56fd9c238a5dac38bc7617ebd"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1184,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1184,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.437339,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a46f9ff56fd9c238a5dac38bc7617ebd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072595,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NX0._NwEbR7j-qdIYrsggun8r70e9R1XEMi2m9CEyzHWz6w"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a46f9ff56fd9c238a5dac38bc7617ebd","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d","requestID":"a46f9ff56fd9c238a5dac38bc7617ebd"} gateway-1 | {"time_local":"16/Oct/2024:09:56:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d HTTP/1.1","status": "200","body_bytes_sent":"1285","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a46f9ff56fd9c238a5dac38bc7617ebd"} experiment-1 | {"level":"info","message":"GET /experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d 200 11ms","method":"GET","requestID":"a46f9ff56fd9c238a5dac38bc7617ebd","responseTime":11,"status":200,"url":"/experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NX0._NwEbR7j-qdIYrsggun8r70e9R1XEMi2m9CEyzHWz6w","level":"info","message":"auth send jwt","requestID":"c9437197cc89b27ce65b895f37e31fc5"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"c9437197cc89b27ce65b895f37e31fc5","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d","requestID":"c9437197cc89b27ce65b895f37e31fc5"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1185,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1185,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.695971,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c9437197cc89b27ce65b895f37e31fc5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072595,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NX0._NwEbR7j-qdIYrsggun8r70e9R1XEMi2m9CEyzHWz6w"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c9437197cc89b27ce65b895f37e31fc5","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d"},"level":"info","message":"Attempting to finish experiment","requestID":"c9437197cc89b27ce65b895f37e31fc5"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"eddaeda0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1186,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1186,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.701362,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/ea89a349-f522-4f8e-b4cb-ff880055a0c9","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"eddaeda0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/ea89a349-f522-4f8e-b4cb-ff880055a0c9","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072595,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NX0._NwEbR7j-qdIYrsggun8r70e9R1XEMi2m9CEyzHWz6w"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"eddaeda0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/ea89a349-f522-4f8e-b4cb-ff880055a0c9","device":"008a713b-7665-47f8-b930-e777556412f6","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/ea89a349-f522-4f8e-b4cb-ff880055a0c9","device":"b0884777-1ee7-4eee-b215-681d2c291052","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/ea89a349-f522-4f8e-b4cb-ff880055a0c9' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/ea89a349-f522-4f8e-b4cb-ff880055a0c9' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"ea89a349-f522-4f8e-b4cb-ff880055a0c9","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fea89a349-f522-4f8e-b4cb-ff880055a0c9': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fea89a349-f522-4f8e-b4cb-ff880055a0c9","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"ff826ee0-989c-417b-8905-f5ccff3f49a5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.3389487} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"abfde271-e1d2-4c0a-9d9d-9d3ec83fc761","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.3390872} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"56f74447bb59b33165aeda8f91678f94","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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 6ms","method":"POST","requestID":"eddaeda0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"56f74447bb59b33165aeda8f91678f94","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"243d0f4aae6da010832d1522a513a63b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/b0884777-1ee7-4eee-b215-681d2c291052"},{"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/008a713b-7665-47f8-b930-e777556412f6"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/ea89a349-f522-4f8e-b4cb-ff880055a0c9"}}},"level":"info","message":"received a callback","requestID":"56f74447bb59b33165aeda8f91678f94"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"243d0f4aae6da010832d1522a513a63b","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/b0884777-1ee7-4eee-b215-681d2c291052"},{"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/008a713b-7665-47f8-b930-e777556412f6"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/ea89a349-f522-4f8e-b4cb-ff880055a0c9"}}},"level":"info","message":"received a callback","requestID":"243d0f4aae6da010832d1522a513a63b"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"eddaeda0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/ea89a349-f522-4f8e-b4cb-ff880055a0c9 204 35ms","method":"DELETE","requestID":"eddaeda0-8ba4-11ef-a62f-5f7f958aa687","responseTime":35,"status":204,"url":"/peerconnections/ea89a349-f522-4f8e-b4cb-ff880055a0c9"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/008a713b-7665-47f8-b930-e777556412f6'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d"},"level":"info","message":"Successfully finished experiment","requestID":"c9437197cc89b27ce65b895f37e31fc5"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ede2dce0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1187,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0884777-1ee7-4eee-b215-681d2c291052","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f726cac8-52c2-4a86-ae98-3a20f3a785d6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.3780549} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1187,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.208934,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b0884777-1ee7-4eee-b215-681d2c291052","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ede2dce0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b0884777-1ee7-4eee-b215-681d2c291052","object_type":"device","rebac_allow":false,"scope_allow":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":"ede2dce0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ede2dce0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b0884777-1ee7-4eee-b215-681d2c291052/signaling 200 7ms","method":"POST","requestID":"ede2dce0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/devices/b0884777-1ee7-4eee-b215-681d2c291052/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ede43c70-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F246d8895-bb27-431f-b9b6-cf04b6d11a9d': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F246d8895-bb27-431f-b9b6-cf04b6d11a9d","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"87213843-4beb-4ee1-b3da-6c5d75556718","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.384664} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"20773a0a-d0dd-4c80-a42e-f4181c949c70","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.3849306} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"c9437197cc89b27ce65b895f37e31fc5","responseTime":14,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1188,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F008a713b-7665-47f8-b930-e777556412f6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4412e798-347a-45ea-a7d2-01e6dfe808f5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.387515} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1188,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.115891,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/008a713b-7665-47f8-b930-e777556412f6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ede43c70-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/008a713b-7665-47f8-b930-e777556412f6","object_type":"device","rebac_allow":false,"scope_allow":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":"ede43c70-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ede43c70-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/008a713b-7665-47f8-b930-e777556412f6/signaling 200 8ms","method":"POST","requestID":"ede43c70-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/008a713b-7665-47f8-b930-e777556412f6/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d","requestID":"c9437197cc89b27ce65b895f37e31fc5"} gateway-1 | {"time_local":"16/Oct/2024:09:56:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d 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":"c9437197cc89b27ce65b895f37e31fc5"} experiment-1 | {"level":"info","message":"DELETE /experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d 204 140ms","method":"DELETE","requestID":"c9437197cc89b27ce65b895f37e31fc5","responseTime":140,"status":204,"url":"/experiments/246d8895-bb27-431f-b9b6-cf04b6d11a9d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 111ms","method":"POST","requestID":"56f74447bb59b33165aeda8f91678f94","responseTime":111,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.114","http_referrer":"","http_user_agent":"node-fetch","requestID":"56f74447bb59b33165aeda8f91678f94"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 110ms","method":"POST","requestID":"243d0f4aae6da010832d1522a513a63b","responseTime":110,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.114","http_referrer":"","http_user_agent":"node-fetch","requestID":"243d0f4aae6da010832d1522a513a63b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NX0._NwEbR7j-qdIYrsggun8r70e9R1XEMi2m9CEyzHWz6w","level":"info","message":"auth send jwt","requestID":"c8addaad60ae79b412d965c6f88335d3"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c8addaad60ae79b412d965c6f88335d3","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"c8addaad60ae79b412d965c6f88335d3"} gateway-1 | {"time_local":"16/Oct/2024:09:56:35 +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.660","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"aea5c6f7ed5f2ace1b2966295f0bb063"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1189,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:35Z"} gateway-1 | {"time_local":"16/Oct/2024:09:56:35 +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.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":"ed7fba754a3cf7b1a63d3400ae731bfc"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1189,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.942527,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c8addaad60ae79b412d965c6f88335d3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072595,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NX0._NwEbR7j-qdIYrsggun8r70e9R1XEMi2m9CEyzHWz6w"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c8addaad60ae79b412d965c6f88335d3","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/b0884777-1ee7-4eee-b215-681d2c291052' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/008a713b-7665-47f8-b930-e777556412f6' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb41d4476-2f39-4295-a636-d17e23e30d60","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"03b3e31d-32b2-4ac1-99d5-477fa698b49e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.4762225} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c8addaad60ae79b412d965c6f88335d3","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"87795e94-3988-46d8-81cc-0ed5bf1e7e3b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.4799864} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"c8addaad60ae79b412d965c6f88335d3","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb41d4476-2f39-4295-a636-d17e23e30d60","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"1ff3ab8b-e069-47df-bfbf-e3f36911176d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.4907775} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"28680201-190e-4f1e-bace-0fab8b40559e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.4909272} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"c8addaad60ae79b412d965c6f88335d3","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb41d4476-2f39-4295-a636-d17e23e30d60","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb41d4476-2f39-4295-a636-d17e23e30d60","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:35.490745180Z"}]},"request_id":"070ea39e-77da-483e-8eef-4c0d43e8bdf4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.4949894} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"c8addaad60ae79b412d965c6f88335d3","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"c8addaad60ae79b412d965c6f88335d3"} device-1 | {"level":"info","message":"POST /devices? 201 41ms","method":"POST","requestID":"c8addaad60ae79b412d965c6f88335d3","responseTime":41,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:35 +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":"c8addaad60ae79b412d965c6f88335d3"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NX0._NwEbR7j-qdIYrsggun8r70e9R1XEMi2m9CEyzHWz6w","level":"info","message":"auth send jwt","requestID":"c6dfa71681666e924966e9a6b6cb67f5"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"c6dfa71681666e924966e9a6b6cb67f5","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"c6dfa71681666e924966e9a6b6cb67f5"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1190,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1190,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.676852,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:35Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c6dfa71681666e924966e9a6b6cb67f5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072595,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5NX0._NwEbR7j-qdIYrsggun8r70e9R1XEMi2m9CEyzHWz6w"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c6dfa71681666e924966e9a6b6cb67f5","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04046f57-1a23-4012-88d1-1fd17da45b00","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"cd8ead98-b760-4537-8802-93aa1461eb98","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.5187018} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c6dfa71681666e924966e9a6b6cb67f5","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a2faefc3-416e-4f9f-b07f-5e1bd75d0412","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.5230975} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"c6dfa71681666e924966e9a6b6cb67f5","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04046f57-1a23-4012-88d1-1fd17da45b00","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"08cda8b6-1089-4980-a1be-eb5f1f4fac14","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.539641} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4ed43688-ff75-4933-96b9-7d0ce1197745","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.540263} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"c6dfa71681666e924966e9a6b6cb67f5","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04046f57-1a23-4012-88d1-1fd17da45b00","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04046f57-1a23-4012-88d1-1fd17da45b00","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:35.539613737Z"}]},"request_id":"cc158636-bec9-476c-bdc8-3f9195203e36","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072595.5450497} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c6dfa71681666e924966e9a6b6cb67f5","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"c6dfa71681666e924966e9a6b6cb67f5"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"c6dfa71681666e924966e9a6b6cb67f5","responseTime":45,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:35 +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":"c6dfa71681666e924966e9a6b6cb67f5"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Nn0.DAnXeY__L-mRWRCOpS0QrsBBi-6Lt0SOZYL_XxyL1CQ","level":"info","message":"auth send jwt","requestID":"6454bffa12981d52122e7cb7ecef3983"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"6454bffa12981d52122e7cb7ecef3983","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"6454bffa12981d52122e7cb7ecef3983"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1191,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:36Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1191,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.139977,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:36Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/04046f57-1a23-4012-88d1-1fd17da45b00","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"6454bffa12981d52122e7cb7ecef3983","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/04046f57-1a23-4012-88d1-1fd17da45b00","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072596,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Nn0.DAnXeY__L-mRWRCOpS0QrsBBi-6Lt0SOZYL_XxyL1CQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6454bffa12981d52122e7cb7ecef3983","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04046f57-1a23-4012-88d1-1fd17da45b00","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04046f57-1a23-4012-88d1-1fd17da45b00","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:35.539613737Z"}]},"request_id":"ded3a48e-e559-4d59-9c41-cd7e70895a9f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072596.037615} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6454bffa12981d52122e7cb7ecef3983","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3e69dd8c-5c29-4b42-a4da-a886d8ee79b7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072596.042022} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"6454bffa12981d52122e7cb7ecef3983","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04046f57-1a23-4012-88d1-1fd17da45b00","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04046f57-1a23-4012-88d1-1fd17da45b00","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:35.539613737Z"}]},"request_id":"1b03cb5c-0896-49c9-9752-de8f795d949d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072596.053581} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6454bffa12981d52122e7cb7ecef3983","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"6454bffa12981d52122e7cb7ecef3983"} gateway-1 | {"time_local":"16/Oct/2024:09:56:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/04046f57-1a23-4012-88d1-1fd17da45b00 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.034","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"6454bffa12981d52122e7cb7ecef3983"} device-1 | {"level":"info","message":"PATCH /devices/04046f57-1a23-4012-88d1-1fd17da45b00 200 29ms","method":"PATCH","requestID":"6454bffa12981d52122e7cb7ecef3983","responseTime":29,"status":200,"url":"/devices/04046f57-1a23-4012-88d1-1fd17da45b00"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Nn0.DAnXeY__L-mRWRCOpS0QrsBBi-6Lt0SOZYL_XxyL1CQ","level":"info","message":"auth send jwt","requestID":"08f53c9489995c0701dad86039d60e93"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"08f53c9489995c0701dad86039d60e93","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"08f53c9489995c0701dad86039d60e93"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1192,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:36Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1192,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.327229,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:36Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/04046f57-1a23-4012-88d1-1fd17da45b00","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"08f53c9489995c0701dad86039d60e93","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/04046f57-1a23-4012-88d1-1fd17da45b00","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072596,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5Nn0.DAnXeY__L-mRWRCOpS0QrsBBi-6Lt0SOZYL_XxyL1CQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"08f53c9489995c0701dad86039d60e93","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"08f53c9489995c0701dad86039d60e93"} gateway-1 | {"time_local":"16/Oct/2024:09:56:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/04046f57-1a23-4012-88d1-1fd17da45b00/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.10","requestID":"08f53c9489995c0701dad86039d60e93"} device-1 | {"level":"info","message":"POST /devices/04046f57-1a23-4012-88d1-1fd17da45b00/websocket 200 16ms","method":"POST","requestID":"08f53c9489995c0701dad86039d60e93","responseTime":16,"status":200,"url":"/devices/04046f57-1a23-4012-88d1-1fd17da45b00/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/04046f57-1a23-4012-88d1-1fd17da45b00' connected"} forwarding-1 | {"level":"info","message":"Participant \"e7fc9cab-8de4-42fe-a60d-e229a237a614\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\" did not answer hearbeat check, closing connection","requestID":"cad467f0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Participant \"a27a082b-a657-4ff0-b5a6-1d90811737f8\" in room \"http://localhost/rooms/eb7df552-d1d8-459b-84da-6fbff223720c\" did not answer hearbeat check, closing connection","requestID":"cad50430-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2ba8882610648d4d28641f47803b0dff","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"2ba8882610648d4d28641f47803b0dff","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/b41d4476-2f39-4295-a636-d17e23e30d60/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":"2ba8882610648d4d28641f47803b0dff"} device-1 | {"level":"info","message":"OPTIONS /devices/b41d4476-2f39-4295-a636-d17e23e30d60/websocket 200 1ms","method":"OPTIONS","requestID":"2ba8882610648d4d28641f47803b0dff","responseTime":1,"status":200,"url":"/devices/b41d4476-2f39-4295-a636-d17e23e30d60/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5N30.5Fs4ZUOiO4ZqK-ZArJ0E2URuj2MpuEl1bYa7TLJngPA","level":"info","message":"auth send jwt","requestID":"57c574c7b1f380b26bbaf421cff301d2"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"57c574c7b1f380b26bbaf421cff301d2","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"57c574c7b1f380b26bbaf421cff301d2"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1193,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1193,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.216727,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/b41d4476-2f39-4295-a636-d17e23e30d60","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"57c574c7b1f380b26bbaf421cff301d2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b41d4476-2f39-4295-a636-d17e23e30d60","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072597,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5N30.5Fs4ZUOiO4ZqK-ZArJ0E2URuj2MpuEl1bYa7TLJngPA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"57c574c7b1f380b26bbaf421cff301d2","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"57c574c7b1f380b26bbaf421cff301d2"} gateway-1 | {"time_local":"16/Oct/2024:09:56:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/b41d4476-2f39-4295-a636-d17e23e30d60/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":"57c574c7b1f380b26bbaf421cff301d2"} device-1 | {"level":"info","message":"POST /devices/b41d4476-2f39-4295-a636-d17e23e30d60/websocket 200 20ms","method":"POST","requestID":"57c574c7b1f380b26bbaf421cff301d2","responseTime":20,"status":200,"url":"/devices/b41d4476-2f39-4295-a636-d17e23e30d60/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/b41d4476-2f39-4295-a636-d17e23e30d60' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c29445d95e0252c47ac49d6f4c04c641","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"c29445d95e0252c47ac49d6f4c04c641","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/b41d4476-2f39-4295-a636-d17e23e30d60? 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":"c29445d95e0252c47ac49d6f4c04c641"} device-1 | {"level":"info","message":"OPTIONS /devices/b41d4476-2f39-4295-a636-d17e23e30d60? 200 1ms","method":"OPTIONS","requestID":"c29445d95e0252c47ac49d6f4c04c641","responseTime":1,"status":200,"url":"/devices/b41d4476-2f39-4295-a636-d17e23e30d60?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5N30.5Fs4ZUOiO4ZqK-ZArJ0E2URuj2MpuEl1bYa7TLJngPA","level":"info","message":"auth send jwt","requestID":"20ceb12a90441e6d59e78e637c07babb"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"20ceb12a90441e6d59e78e637c07babb","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"20ceb12a90441e6d59e78e637c07babb"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1194,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1194,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.206354,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/b41d4476-2f39-4295-a636-d17e23e30d60","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"20ceb12a90441e6d59e78e637c07babb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b41d4476-2f39-4295-a636-d17e23e30d60","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072597,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5N30.5Fs4ZUOiO4ZqK-ZArJ0E2URuj2MpuEl1bYa7TLJngPA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"20ceb12a90441e6d59e78e637c07babb","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb41d4476-2f39-4295-a636-d17e23e30d60","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb41d4476-2f39-4295-a636-d17e23e30d60","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:35.490745180Z"}]},"request_id":"524c9e99-8ce8-44f1-96c9-c161cab8b719","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072597.6851144} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"20ceb12a90441e6d59e78e637c07babb","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"280f75e1-13f8-4435-9ccf-ea19bcd22ca6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072597.6919587} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"20ceb12a90441e6d59e78e637c07babb","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb41d4476-2f39-4295-a636-d17e23e30d60","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb41d4476-2f39-4295-a636-d17e23e30d60","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:35.490745180Z"}]},"request_id":"ca318b2e-5417-4733-a814-86019b7da643","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072597.705212} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"20ceb12a90441e6d59e78e637c07babb","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"20ceb12a90441e6d59e78e637c07babb"} device-1 | {"level":"info","message":"PATCH /devices/b41d4476-2f39-4295-a636-d17e23e30d60? 200 37ms","method":"PATCH","requestID":"20ceb12a90441e6d59e78e637c07babb","responseTime":37,"status":200,"url":"/devices/b41d4476-2f39-4295-a636-d17e23e30d60?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/b41d4476-2f39-4295-a636-d17e23e30d60? 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":"20ceb12a90441e6d59e78e637c07babb"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5N30.5Fs4ZUOiO4ZqK-ZArJ0E2URuj2MpuEl1bYa7TLJngPA","level":"info","message":"auth send jwt","requestID":"04fe7e651dffad34e3320e7a67bab145"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"04fe7e651dffad34e3320e7a67bab145","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"04fe7e651dffad34e3320e7a67bab145"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1195,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1195,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.502366,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b41d4476-2f39-4295-a636-d17e23e30d60","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"04fe7e651dffad34e3320e7a67bab145","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b41d4476-2f39-4295-a636-d17e23e30d60","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072597,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5N30.5Fs4ZUOiO4ZqK-ZArJ0E2URuj2MpuEl1bYa7TLJngPA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"04fe7e651dffad34e3320e7a67bab145","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb41d4476-2f39-4295-a636-d17e23e30d60","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb41d4476-2f39-4295-a636-d17e23e30d60","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:35.490745180Z"}]},"request_id":"c7673c00-1606-4018-886d-8bfb026c7a15","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072597.730077} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"04fe7e651dffad34e3320e7a67bab145","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"04fe7e651dffad34e3320e7a67bab145"} device-1 | {"level":"info","message":"GET /devices/b41d4476-2f39-4295-a636-d17e23e30d60? 200 15ms","method":"GET","requestID":"04fe7e651dffad34e3320e7a67bab145","responseTime":15,"status":200,"url":"/devices/b41d4476-2f39-4295-a636-d17e23e30d60?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b41d4476-2f39-4295-a636-d17e23e30d60? 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":"04fe7e651dffad34e3320e7a67bab145"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5N30.5Fs4ZUOiO4ZqK-ZArJ0E2URuj2MpuEl1bYa7TLJngPA","level":"info","message":"auth send jwt","requestID":"f5155ee6e689845f964f0cf7a7c2acfa"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"f5155ee6e689845f964f0cf7a7c2acfa","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f5155ee6e689845f964f0cf7a7c2acfa"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1196,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1196,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.14582,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/04046f57-1a23-4012-88d1-1fd17da45b00","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f5155ee6e689845f964f0cf7a7c2acfa","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/04046f57-1a23-4012-88d1-1fd17da45b00","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072597,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5N30.5Fs4ZUOiO4ZqK-ZArJ0E2URuj2MpuEl1bYa7TLJngPA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f5155ee6e689845f964f0cf7a7c2acfa","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04046f57-1a23-4012-88d1-1fd17da45b00","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04046f57-1a23-4012-88d1-1fd17da45b00","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:35.539613737Z"}]},"request_id":"41f831f6-eed8-45cb-a184-7e8e0bd84ae6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072597.7529993} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f5155ee6e689845f964f0cf7a7c2acfa","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f5155ee6e689845f964f0cf7a7c2acfa"} gateway-1 | {"time_local":"16/Oct/2024:09:56:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/04046f57-1a23-4012-88d1-1fd17da45b00? 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":"f5155ee6e689845f964f0cf7a7c2acfa"} device-1 | {"level":"info","message":"GET /devices/04046f57-1a23-4012-88d1-1fd17da45b00? 200 12ms","method":"GET","requestID":"f5155ee6e689845f964f0cf7a7c2acfa","responseTime":12,"status":200,"url":"/devices/04046f57-1a23-4012-88d1-1fd17da45b00?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5N30.5Fs4ZUOiO4ZqK-ZArJ0E2URuj2MpuEl1bYa7TLJngPA","level":"info","message":"auth send jwt","requestID":"3366fbba54208b37d1ac6f3b86fb34a2"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"3366fbba54208b37d1ac6f3b86fb34a2","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"3366fbba54208b37d1ac6f3b86fb34a2"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1197,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1197,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":2.094957,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3366fbba54208b37d1ac6f3b86fb34a2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072597,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5N30.5Fs4ZUOiO4ZqK-ZArJ0E2URuj2MpuEl1bYa7TLJngPA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3366fbba54208b37d1ac6f3b86fb34a2","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/165a058a-b39d-455c-b212-8d69f6a87f87"},"level":"info","message":"Attempting to run experiment","requestID":"3366fbba54208b37d1ac6f3b86fb34a2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/165a058a-b39d-455c-b212-8d69f6a87f87"},"level":"info","message":"Attempting to book experiment","requestID":"3366fbba54208b37d1ac6f3b86fb34a2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/165a058a-b39d-455c-b212-8d69f6a87f87"},"level":"info","message":"Successfully booked experiment","requestID":"3366fbba54208b37d1ac6f3b86fb34a2"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ef55f4e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ef561bf0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1198,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1198,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.904966,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1199,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b41d4476-2f39-4295-a636-d17e23e30d60","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ef55f4e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b41d4476-2f39-4295-a636-d17e23e30d60","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072597,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5N30.5Fs4ZUOiO4ZqK-ZArJ0E2URuj2MpuEl1bYa7TLJngPA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ef55f4e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1199,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.215879,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/04046f57-1a23-4012-88d1-1fd17da45b00","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ef561bf0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/04046f57-1a23-4012-88d1-1fd17da45b00","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072597,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5N30.5Fs4ZUOiO4ZqK-ZArJ0E2URuj2MpuEl1bYa7TLJngPA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ef561bf0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb41d4476-2f39-4295-a636-d17e23e30d60","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb41d4476-2f39-4295-a636-d17e23e30d60","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:35.490745180Z"}]},"request_id":"7f13e653-96d4-4470-b345-b5f01dfe98fd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072597.814823} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ef55f4e0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04046f57-1a23-4012-88d1-1fd17da45b00","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04046f57-1a23-4012-88d1-1fd17da45b00","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:35.539613737Z"}]},"request_id":"5b3a157a-3bd3-4075-a55e-fcc53fd023ad","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072597.815677} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"ef561bf0-8ba4-11ef-a62f-5f7f958aa687","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ef55f4e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/b41d4476-2f39-4295-a636-d17e23e30d60? 200 15ms","method":"GET","requestID":"ef55f4e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/b41d4476-2f39-4295-a636-d17e23e30d60?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ef561bf0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/04046f57-1a23-4012-88d1-1fd17da45b00? 200 16ms","method":"GET","requestID":"ef561bf0-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/04046f57-1a23-4012-88d1-1fd17da45b00?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/165a058a-b39d-455c-b212-8d69f6a87f87"},"level":"info","message":"Setting up experiment","requestID":"3366fbba54208b37d1ac6f3b86fb34a2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/165a058a-b39d-455c-b212-8d69f6a87f87"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"3366fbba54208b37d1ac6f3b86fb34a2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/165a058a-b39d-455c-b212-8d69f6a87f87"},"level":"info","message":"Successfully locked booking for experiment","requestID":"3366fbba54208b37d1ac6f3b86fb34a2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/165a058a-b39d-455c-b212-8d69f6a87f87"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"3366fbba54208b37d1ac6f3b86fb34a2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/165a058a-b39d-455c-b212-8d69f6a87f87"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"3366fbba54208b37d1ac6f3b86fb34a2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/165a058a-b39d-455c-b212-8d69f6a87f87"},"level":"info","message":"Attempting to update booking for experiment","requestID":"3366fbba54208b37d1ac6f3b86fb34a2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/165a058a-b39d-455c-b212-8d69f6a87f87"},"level":"info","message":"Successfully updated booking for experiment","requestID":"3366fbba54208b37d1ac6f3b86fb34a2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/165a058a-b39d-455c-b212-8d69f6a87f87"},"level":"info","message":"Successfully set up experiment","requestID":"3366fbba54208b37d1ac6f3b86fb34a2"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ef602e10-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ef607c30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ef60ca50-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/165a058a-b39d-455c-b212-8d69f6a87f87"},"level":"info","message":"Successfully running experiment","requestID":"3366fbba54208b37d1ac6f3b86fb34a2"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1200,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1201,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1200,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.855528,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b41d4476-2f39-4295-a636-d17e23e30d60","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ef602e10-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b41d4476-2f39-4295-a636-d17e23e30d60","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072597,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5N30.5Fs4ZUOiO4ZqK-ZArJ0E2URuj2MpuEl1bYa7TLJngPA"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"ef602e10-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1201,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.376891,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"client_addr":"127.0.0.1:44422","level":"info","msg":"Received request.","req_id":1202,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/04046f57-1a23-4012-88d1-1fd17da45b00","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ef607c30-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/04046f57-1a23-4012-88d1-1fd17da45b00","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072597,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5N30.5Fs4ZUOiO4ZqK-ZArJ0E2URuj2MpuEl1bYa7TLJngPA"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"ef607c30-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44422","level":"info","msg":"Sent response.","req_id":1202,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.395556,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb41d4476-2f39-4295-a636-d17e23e30d60","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"df4011da-1aaf-42f6-963f-0ec2919786ac","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072597.8856099} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b41d4476-2f39-4295-a636-d17e23e30d60","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ef60ca50-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b41d4476-2f39-4295-a636-d17e23e30d60","object_type":"device","rebac_allow":false,"scope_allow":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":"ef60ca50-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb41d4476-2f39-4295-a636-d17e23e30d60","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb41d4476-2f39-4295-a636-d17e23e30d60","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:35.490745180Z"}]},"request_id":"a6a2e470-13f4-4c10-baf0-f6234142a2be","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072597.8904555} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"ef602e10-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ef60ca50-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04046f57-1a23-4012-88d1-1fd17da45b00","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04046f57-1a23-4012-88d1-1fd17da45b00","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:35.539613737Z"}]},"request_id":"c34825ad-ee1d-4079-8616-5d0965425562","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072597.894083} device-1 | {"level":"info","message":"POST /devices/b41d4476-2f39-4295-a636-d17e23e30d60/signaling 200 18ms","method":"POST","requestID":"ef60ca50-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/b41d4476-2f39-4295-a636-d17e23e30d60/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"ef607c30-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ef6425b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ef602e10-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1203,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:37Z"} device-1 | {"level":"info","message":"GET /devices/b41d4476-2f39-4295-a636-d17e23e30d60? 200 31ms","method":"GET","requestID":"ef602e10-8ba4-11ef-a62f-5f7f958aa687","responseTime":31,"status":200,"url":"/devices/b41d4476-2f39-4295-a636-d17e23e30d60?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ef607c30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/04046f57-1a23-4012-88d1-1fd17da45b00? 200 31ms","method":"GET","requestID":"ef607c30-8ba4-11ef-a62f-5f7f958aa687","responseTime":31,"status":200,"url":"/devices/04046f57-1a23-4012-88d1-1fd17da45b00?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04046f57-1a23-4012-88d1-1fd17da45b00","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6652eee4-beee-4b56-b02d-94351743f076","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072597.9070737} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1203,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.309465,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:37Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ef65d360-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/04046f57-1a23-4012-88d1-1fd17da45b00","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ef6425b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/04046f57-1a23-4012-88d1-1fd17da45b00","object_type":"device","rebac_allow":false,"scope_allow":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":"ef6425b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F165a058a-b39d-455c-b212-8d69f6a87f87#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F165a058a-b39d-455c-b212-8d69f6a87f87","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"e066b860-67e6-4f2f-9335-4ff702bb567e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072597.9112196} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"74cf5d34-a3d3-4dee-8883-7c5a3e6f9713","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072597.9115596} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ef6425b0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 31ms","method":"POST","requestID":"3366fbba54208b37d1ac6f3b86fb34a2","responseTime":31,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"POST /devices/04046f57-1a23-4012-88d1-1fd17da45b00/signaling 200 18ms","method":"POST","requestID":"ef6425b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/04046f57-1a23-4012-88d1-1fd17da45b00/signaling"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1204,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb41d4476-2f39-4295-a636-d17e23e30d60","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fe1fc2f8-f8b4-43cb-afd8-3ff3038d96a3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072597.9191034} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1204,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.63527,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b41d4476-2f39-4295-a636-d17e23e30d60","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ef65d360-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b41d4476-2f39-4295-a636-d17e23e30d60","object_type":"device","rebac_allow":false,"scope_allow":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":"ef65d360-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ef65d360-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b41d4476-2f39-4295-a636-d17e23e30d60/signaling 200 15ms","method":"POST","requestID":"ef65d360-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/b41d4476-2f39-4295-a636-d17e23e30d60/signaling"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/165a058a-b39d-455c-b212-8d69f6a87f87","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"3366fbba54208b37d1ac6f3b86fb34a2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ef686b70-8ba4-11ef-a62f-5f7f958aa687"} gateway-1 | {"time_local":"16/Oct/2024:09:56:37 +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":"3366fbba54208b37d1ac6f3b86fb34a2"} experiment-1 | {"level":"info","message":"POST /experiments? 201 166ms","method":"POST","requestID":"3366fbba54208b37d1ac6f3b86fb34a2","responseTime":166,"status":201,"url":"/experiments?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1205,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04046f57-1a23-4012-88d1-1fd17da45b00","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2212ea6f-b83e-4076-9553-ade1fed5382f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072597.9336023} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1205,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.46222,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/04046f57-1a23-4012-88d1-1fd17da45b00","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ef686b70-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/04046f57-1a23-4012-88d1-1fd17da45b00","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.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5N30.5Fs4ZUOiO4ZqK-ZArJ0E2URuj2MpuEl1bYa7TLJngPA","level":"info","message":"auth send jwt","requestID":"682a96a27c5f35a15a664f923140811f"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"ef686b70-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"682a96a27c5f35a15a664f923140811f","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"682a96a27c5f35a15a664f923140811f"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ef686b70-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/04046f57-1a23-4012-88d1-1fd17da45b00/signaling 200 14ms","method":"POST","requestID":"ef686b70-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/04046f57-1a23-4012-88d1-1fd17da45b00/signaling"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1206,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:37Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/165a058a-b39d-455c-b212-8d69f6a87f87"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"3366fbba54208b37d1ac6f3b86fb34a2"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1206,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.247427,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b41d4476-2f39-4295-a636-d17e23e30d60","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"682a96a27c5f35a15a664f923140811f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b41d4476-2f39-4295-a636-d17e23e30d60","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072597,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5N30.5Fs4ZUOiO4ZqK-ZArJ0E2URuj2MpuEl1bYa7TLJngPA"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ef6adc70-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"682a96a27c5f35a15a664f923140811f","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ef6b2a90-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1207,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1207,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.813337,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1208,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b41d4476-2f39-4295-a636-d17e23e30d60","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ef6adc70-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b41d4476-2f39-4295-a636-d17e23e30d60","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072597,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5N30.5Fs4ZUOiO4ZqK-ZArJ0E2URuj2MpuEl1bYa7TLJngPA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ef6adc70-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1208,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.814839,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/04046f57-1a23-4012-88d1-1fd17da45b00","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ef6b2a90-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/04046f57-1a23-4012-88d1-1fd17da45b00","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072597,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5N30.5Fs4ZUOiO4ZqK-ZArJ0E2URuj2MpuEl1bYa7TLJngPA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ef6b2a90-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb41d4476-2f39-4295-a636-d17e23e30d60","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb41d4476-2f39-4295-a636-d17e23e30d60","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:35.490745180Z"}]},"request_id":"b18378f3-5c77-4f6a-b33b-745ebdd6f802","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072597.9504168} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"682a96a27c5f35a15a664f923140811f","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb41d4476-2f39-4295-a636-d17e23e30d60","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb41d4476-2f39-4295-a636-d17e23e30d60","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:35.490745180Z"}]},"request_id":"608c9187-2b61-458c-950d-c001ce20cb2f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072597.9527786} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ef6adc70-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04046f57-1a23-4012-88d1-1fd17da45b00","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04046f57-1a23-4012-88d1-1fd17da45b00","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:35.539613737Z"}]},"request_id":"04fd38db-f39a-4400-8d78-57d64e2d0f46","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072597.9550233} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ef6b2a90-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"682a96a27c5f35a15a664f923140811f"} gateway-1 | {"time_local":"16/Oct/2024:09:56:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b41d4476-2f39-4295-a636-d17e23e30d60? 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":"682a96a27c5f35a15a664f923140811f"} device-1 | {"level":"info","message":"GET /devices/b41d4476-2f39-4295-a636-d17e23e30d60? 200 19ms","method":"GET","requestID":"682a96a27c5f35a15a664f923140811f","responseTime":19,"status":200,"url":"/devices/b41d4476-2f39-4295-a636-d17e23e30d60?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ef6adc70-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/b41d4476-2f39-4295-a636-d17e23e30d60? 200 17ms","method":"GET","requestID":"ef6adc70-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/b41d4476-2f39-4295-a636-d17e23e30d60?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ef6b2a90-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/04046f57-1a23-4012-88d1-1fd17da45b00? 200 16ms","method":"GET","requestID":"ef6b2a90-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/04046f57-1a23-4012-88d1-1fd17da45b00?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5N30.5Fs4ZUOiO4ZqK-ZArJ0E2URuj2MpuEl1bYa7TLJngPA","level":"info","message":"auth send jwt","requestID":"bf7f9371be265224c8c9b38296eca891"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"bf7f9371be265224c8c9b38296eca891","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/165a058a-b39d-455c-b212-8d69f6a87f87"},"level":"info","message":"Building connection plan","requestID":"3366fbba54208b37d1ac6f3b86fb34a2"} 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":"218dec48-c3a8-4f35-814f-1fd6ae1f8921"},{"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":"953ddbc1-7d35-4fe2-a392-7d99d793af6a"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"270dbda7-f965-4de7-97b1-9f792bd8dd07"}]},"level":"info","message":"Built pairwise service configurations","requestID":"3366fbba54208b37d1ac6f3b86fb34a2"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"bf7f9371be265224c8c9b38296eca891"} 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/04046f57-1a23-4012-88d1-1fd17da45b00"},{"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/b41d4476-2f39-4295-a636-d17e23e30d60"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"3366fbba54208b37d1ac6f3b86fb34a2"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"ef6e10c0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1209,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1209,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.887925,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Received request.","req_id":1210,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/04046f57-1a23-4012-88d1-1fd17da45b00","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bf7f9371be265224c8c9b38296eca891","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/04046f57-1a23-4012-88d1-1fd17da45b00","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072597,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5N30.5Fs4ZUOiO4ZqK-ZArJ0E2URuj2MpuEl1bYa7TLJngPA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"bf7f9371be265224c8c9b38296eca891","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57704","level":"info","msg":"Sent response.","req_id":1210,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.77459,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:37Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ef6e10c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072597,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjU5N30.5Fs4ZUOiO4ZqK-ZArJ0E2URuj2MpuEl1bYa7TLJngPA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ef6e10c0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04046f57-1a23-4012-88d1-1fd17da45b00","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04046f57-1a23-4012-88d1-1fd17da45b00","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:35.539613737Z"}]},"request_id":"734de5ee-d6c9-4389-a21a-fb8c86347fcc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072597.971246} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"bf7f9371be265224c8c9b38296eca891","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"bf7f9371be265224c8c9b38296eca891"} gateway-1 | {"time_local":"16/Oct/2024:09:56:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/04046f57-1a23-4012-88d1-1fd17da45b00? 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":"bf7f9371be265224c8c9b38296eca891"} device-1 | {"level":"info","message":"GET /devices/04046f57-1a23-4012-88d1-1fd17da45b00? 200 13ms","method":"GET","requestID":"bf7f9371be265224c8c9b38296eca891","responseTime":13,"status":200,"url":"/devices/04046f57-1a23-4012-88d1-1fd17da45b00?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"5e3b06d0-0968-485b-9c07-51cd01086dfc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072597.9781451} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"67de0534-b635-4be5-8060-69f9204c566a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072597.9785805} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"ef6e10c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"ef6e10c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"ef6e10c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/e4f52fa8-0991-4bcd-bf8d-1395b9b1ec14'","requestID":"ef6e10c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/e4f52fa8-0991-4bcd-bf8d-1395b9b1ec14'","requestID":"ef6e10c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"ef6e10c0-8ba4-11ef-a62f-5f7f958aa687"} 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":"ef6e10c0-8ba4-11ef-a62f-5f7f958aa687","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":"ef6e10c0-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/165a058a-b39d-455c-b212-8d69f6a87f87"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"3366fbba54208b37d1ac6f3b86fb34a2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ef764e20-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1211,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:38Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb41d4476-2f39-4295-a636-d17e23e30d60","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9f25630e-8c67-4d78-b328-f3551c8f623a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072598.0230837} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1211,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.783378,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:38Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b41d4476-2f39-4295-a636-d17e23e30d60","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ef764e20-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b41d4476-2f39-4295-a636-d17e23e30d60","object_type":"device","rebac_allow":false,"scope_allow":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":"ef764e20-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ef764e20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b41d4476-2f39-4295-a636-d17e23e30d60/signaling 200 10ms","method":"POST","requestID":"ef764e20-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/b41d4476-2f39-4295-a636-d17e23e30d60/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ef7822e0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1212,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:38Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04046f57-1a23-4012-88d1-1fd17da45b00","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"33c39b54-73db-45d4-b94d-c2256cde15df","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072598.036375} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1212,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.566746,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:38Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/04046f57-1a23-4012-88d1-1fd17da45b00","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ef7822e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/04046f57-1a23-4012-88d1-1fd17da45b00","object_type":"device","rebac_allow":false,"scope_allow":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":"ef7822e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"device":"b41d4476-2f39-4295-a636-d17e23e30d60","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"b41d4476-2f39-4295-a636-d17e23e30d60","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 7016177213574479655 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:0To0\r\na=ice-pwd:V7RaGAWGHJihUaX5X5XePUqb\r\na=ice-options:trickle\r\na=fingerprint:sha-256 0F:3F:BC:FD:EE:94:57:D6:5E:21:2F:B1:53:9F:9C:F0:C6:33:24:FE:3F:71:24:74:92:0D:78:A0:20:E6:76:9F\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"b41d4476-2f39-4295-a636-d17e23e30d60","deviceName":"JS Device 1","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/b41d4476-2f39-4295-a636-d17e23e30d60'"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ef7822e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/04046f57-1a23-4012-88d1-1fd17da45b00/signaling 200 21ms","method":"POST","requestID":"ef7822e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":21,"status":200,"url":"/devices/04046f57-1a23-4012-88d1-1fd17da45b00/signaling"} forwarding-1 | {"level":"info","message":"Participant \"2fc64565-7b47-44f8-803e-bc85521d6f7a\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\" did not answer hearbeat check, closing connection","requestID":"cbc72c60-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Participant \"9021379b-921b-4cee-8ba6-195ec4823c4c\" in room \"http://localhost/rooms/655e71d9-74f7-491d-b49b-f28dd86b1971\" did not answer hearbeat check, closing connection","requestID":"cbc75370-8ba4-11ef-a042-213954f0282b"} device-1 | {"device":"b41d4476-2f39-4295-a636-d17e23e30d60","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"04046f57-1a23-4012-88d1-1fd17da45b00","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":"e4f52fa8-0991-4bcd-bf8d-1395b9b1ec14","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"04046f57-1a23-4012-88d1-1fd17da45b00","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":"04046f57-1a23-4012-88d1-1fd17da45b00","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":"04046f57-1a23-4012-88d1-1fd17da45b00","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":"04046f57-1a23-4012-88d1-1fd17da45b00","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/e4f52fa8-0991-4bcd-bf8d-1395b9b1ec14' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"e4f52fa8-0991-4bcd-bf8d-1395b9b1ec14","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ee41dfc79497f854eb306870eee7a7bf","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"ee41dfc79497f854eb306870eee7a7bf","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/04046f57-1a23-4012-88d1-1fd17da45b00"},{"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/b41d4476-2f39-4295-a636-d17e23e30d60"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/e4f52fa8-0991-4bcd-bf8d-1395b9b1ec14"}}},"level":"info","message":"received a callback","requestID":"ee41dfc79497f854eb306870eee7a7bf"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 9ms","method":"POST","requestID":"ee41dfc79497f854eb306870eee7a7bf","responseTime":9,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.012","http_referrer":"","http_user_agent":"node-fetch","requestID":"ee41dfc79497f854eb306870eee7a7bf"} device-1 | {"content":{"candidate":"candidate:2797592270 1 udp 2113937151 b24666e7-12b1-4fe4-9d7c-91bd290c2f2a.local 35922 typ host generation 0 ufrag 0To0 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"b41d4476-2f39-4295-a636-d17e23e30d60","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:898924509 1 udp 1677729535 141.24.211.56 35922 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag 0To0 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"b41d4476-2f39-4295-a636-d17e23e30d60","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2344141871 1 udp 33562623 141.24.210.113 50669 typ relay raddr 141.24.211.56 rport 35922 generation 0 ufrag 0To0 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"b41d4476-2f39-4295-a636-d17e23e30d60","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"b41d4476-2f39-4295-a636-d17e23e30d60","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/b41d4476-2f39-4295-a636-d17e23e30d60'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/b41d4476-2f39-4295-a636-d17e23e30d60'"} device-1 | {"data":{"peerconnection":"e4f52fa8-0991-4bcd-bf8d-1395b9b1ec14","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"04046f57-1a23-4012-88d1-1fd17da45b00","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":"b41d4476-2f39-4295-a636-d17e23e30d60","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"04046f57-1a23-4012-88d1-1fd17da45b00","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":"e4f52fa8-0991-4bcd-bf8d-1395b9b1ec14","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/e4f52fa8-0991-4bcd-bf8d-1395b9b1ec14' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"e4f52fa8-0991-4bcd-bf8d-1395b9b1ec14","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"59c3d61de99baa62140d1c1bfdd13bdc","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"59c3d61de99baa62140d1c1bfdd13bdc","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/04046f57-1a23-4012-88d1-1fd17da45b00"},{"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/b41d4476-2f39-4295-a636-d17e23e30d60"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/e4f52fa8-0991-4bcd-bf8d-1395b9b1ec14"}}},"level":"info","message":"received a callback","requestID":"59c3d61de99baa62140d1c1bfdd13bdc"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"f0b7ced0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1213,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:40Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fe4f52fa8-0991-4bcd-bf8d-1395b9b1ec14","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"45b0b108-e68e-4c22-a26a-6ad63336039b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072600.1295445} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1213,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.842353,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/e4f52fa8-0991-4bcd-bf8d-1395b9b1ec14","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f0b7ced0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/e4f52fa8-0991-4bcd-bf8d-1395b9b1ec14","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":"f0b7ced0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"f0b7ced0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/e4f52fa8-0991-4bcd-bf8d-1395b9b1ec14 200 8ms","method":"GET","requestID":"f0b7ced0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/peerconnections/e4f52fa8-0991-4bcd-bf8d-1395b9b1ec14"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 34ms","method":"POST","requestID":"59c3d61de99baa62140d1c1bfdd13bdc","responseTime":34,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.036","http_referrer":"","http_user_agent":"node-fetch","requestID":"59c3d61de99baa62140d1c1bfdd13bdc"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f0bc1490-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1214,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:40Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04046f57-1a23-4012-88d1-1fd17da45b00","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0e2f80af-8df4-449e-ad1d-2081fb3f236b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072600.1577368} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1214,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.787842,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:40Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/04046f57-1a23-4012-88d1-1fd17da45b00","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f0bc1490-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/04046f57-1a23-4012-88d1-1fd17da45b00","object_type":"device","rebac_allow":false,"scope_allow":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":"f0bc1490-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f0bc1490-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/04046f57-1a23-4012-88d1-1fd17da45b00/signaling 200 10ms","method":"POST","requestID":"f0bc1490-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/04046f57-1a23-4012-88d1-1fd17da45b00/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f0be1060-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1215,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:40Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb41d4476-2f39-4295-a636-d17e23e30d60","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b7b18f1a-94cb-4bf6-8acd-9e36118f3a3c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072600.1717107} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1215,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.758527,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:40Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b41d4476-2f39-4295-a636-d17e23e30d60","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f0be1060-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b41d4476-2f39-4295-a636-d17e23e30d60","object_type":"device","rebac_allow":false,"scope_allow":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":"f0be1060-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f0be1060-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b41d4476-2f39-4295-a636-d17e23e30d60/signaling 200 9ms","method":"POST","requestID":"f0be1060-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/b41d4476-2f39-4295-a636-d17e23e30d60/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMH0.4_wySrv-cdaYMxwxHzIhaK-31SXgFatKVyBbkidCJr0","level":"info","message":"auth send jwt","requestID":"16c7bfa27a07b935a192aea25c84b34d"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"16c7bfa27a07b935a192aea25c84b34d","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/165a058a-b39d-455c-b212-8d69f6a87f87","requestID":"16c7bfa27a07b935a192aea25c84b34d"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1216,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1216,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.358728,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/165a058a-b39d-455c-b212-8d69f6a87f87","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"16c7bfa27a07b935a192aea25c84b34d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/165a058a-b39d-455c-b212-8d69f6a87f87","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072600,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMH0.4_wySrv-cdaYMxwxHzIhaK-31SXgFatKVyBbkidCJr0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"16c7bfa27a07b935a192aea25c84b34d","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/165a058a-b39d-455c-b212-8d69f6a87f87","requestID":"16c7bfa27a07b935a192aea25c84b34d"} gateway-1 | {"time_local":"16/Oct/2024:09:56:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/165a058a-b39d-455c-b212-8d69f6a87f87 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":"16c7bfa27a07b935a192aea25c84b34d"} experiment-1 | {"level":"info","message":"GET /experiments/165a058a-b39d-455c-b212-8d69f6a87f87 200 15ms","method":"GET","requestID":"16c7bfa27a07b935a192aea25c84b34d","responseTime":15,"status":200,"url":"/experiments/165a058a-b39d-455c-b212-8d69f6a87f87"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMH0.4_wySrv-cdaYMxwxHzIhaK-31SXgFatKVyBbkidCJr0","level":"info","message":"auth send jwt","requestID":"cc2d1742753c7d4fb81ae784280507f0"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"cc2d1742753c7d4fb81ae784280507f0","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/165a058a-b39d-455c-b212-8d69f6a87f87","requestID":"cc2d1742753c7d4fb81ae784280507f0"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1217,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1217,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.367277,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:40Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/165a058a-b39d-455c-b212-8d69f6a87f87","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cc2d1742753c7d4fb81ae784280507f0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/165a058a-b39d-455c-b212-8d69f6a87f87","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072600,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMH0.4_wySrv-cdaYMxwxHzIhaK-31SXgFatKVyBbkidCJr0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"cc2d1742753c7d4fb81ae784280507f0","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/165a058a-b39d-455c-b212-8d69f6a87f87"},"level":"info","message":"Attempting to finish experiment","requestID":"cc2d1742753c7d4fb81ae784280507f0"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"f0cbf310-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1218,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1218,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.274852,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:40Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/e4f52fa8-0991-4bcd-bf8d-1395b9b1ec14","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f0cbf310-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/e4f52fa8-0991-4bcd-bf8d-1395b9b1ec14","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072600,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMH0.4_wySrv-cdaYMxwxHzIhaK-31SXgFatKVyBbkidCJr0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f0cbf310-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/e4f52fa8-0991-4bcd-bf8d-1395b9b1ec14","device":"b41d4476-2f39-4295-a636-d17e23e30d60","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"04046f57-1a23-4012-88d1-1fd17da45b00","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":"04046f57-1a23-4012-88d1-1fd17da45b00","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":"04046f57-1a23-4012-88d1-1fd17da45b00","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/e4f52fa8-0991-4bcd-bf8d-1395b9b1ec14' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/e4f52fa8-0991-4bcd-bf8d-1395b9b1ec14' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"e4f52fa8-0991-4bcd-bf8d-1395b9b1ec14","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fe4f52fa8-0991-4bcd-bf8d-1395b9b1ec14': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fe4f52fa8-0991-4bcd-bf8d-1395b9b1ec14","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"4a32de02-2fb3-4d7a-b32f-5368754df170","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072600.2829704} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e8ac1726-884f-42a9-a57c-871f284af54c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072600.2834601} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"087c4358c7ca39b83842c0b9a6f02c01","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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 13ms","method":"POST","requestID":"f0cbf310-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"087c4358c7ca39b83842c0b9a6f02c01","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"992a9ba9ec2bc4eb0f158970b597b874","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"992a9ba9ec2bc4eb0f158970b597b874","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/04046f57-1a23-4012-88d1-1fd17da45b00"},{"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/b41d4476-2f39-4295-a636-d17e23e30d60"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/e4f52fa8-0991-4bcd-bf8d-1395b9b1ec14"}}},"level":"info","message":"received a callback","requestID":"087c4358c7ca39b83842c0b9a6f02c01"} 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/04046f57-1a23-4012-88d1-1fd17da45b00"},{"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/b41d4476-2f39-4295-a636-d17e23e30d60"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/e4f52fa8-0991-4bcd-bf8d-1395b9b1ec14"}}},"level":"info","message":"received a callback","requestID":"992a9ba9ec2bc4eb0f158970b597b874"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"f0cbf310-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/e4f52fa8-0991-4bcd-bf8d-1395b9b1ec14 204 48ms","method":"DELETE","requestID":"f0cbf310-8ba4-11ef-a62f-5f7f958aa687","responseTime":48,"status":204,"url":"/peerconnections/e4f52fa8-0991-4bcd-bf8d-1395b9b1ec14"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/b41d4476-2f39-4295-a636-d17e23e30d60'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/165a058a-b39d-455c-b212-8d69f6a87f87"},"level":"info","message":"Successfully finished experiment","requestID":"cc2d1742753c7d4fb81ae784280507f0"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f0d67a60-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1219,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:40Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04046f57-1a23-4012-88d1-1fd17da45b00","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3e388745-74fe-462e-823e-290fe272b94b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072600.3341813} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1219,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.712081,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:40Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/04046f57-1a23-4012-88d1-1fd17da45b00","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f0d67a60-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/04046f57-1a23-4012-88d1-1fd17da45b00","object_type":"device","rebac_allow":false,"scope_allow":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":"f0d67a60-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f0d67a60-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/04046f57-1a23-4012-88d1-1fd17da45b00/signaling 200 12ms","method":"POST","requestID":"f0d67a60-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/04046f57-1a23-4012-88d1-1fd17da45b00/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F165a058a-b39d-455c-b212-8d69f6a87f87': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F165a058a-b39d-455c-b212-8d69f6a87f87","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"797b0db2-736f-4d44-9e1a-f9043c5670fb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072600.3403249} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1c76d7e6-5c3c-4b58-b189-c798aa1aab0d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072600.340648} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f0d89d40-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"cc2d1742753c7d4fb81ae784280507f0","responseTime":17,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1220,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:40Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb41d4476-2f39-4295-a636-d17e23e30d60","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"585d2d44-6faa-422c-91af-6311fb5ff61e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072600.3450522} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1220,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.850018,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:40Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b41d4476-2f39-4295-a636-d17e23e30d60","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f0d89d40-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b41d4476-2f39-4295-a636-d17e23e30d60","object_type":"device","rebac_allow":false,"scope_allow":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":"f0d89d40-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f0d89d40-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/b41d4476-2f39-4295-a636-d17e23e30d60/signaling 200 10ms","method":"POST","requestID":"f0d89d40-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/b41d4476-2f39-4295-a636-d17e23e30d60/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/165a058a-b39d-455c-b212-8d69f6a87f87","requestID":"cc2d1742753c7d4fb81ae784280507f0"} gateway-1 | {"time_local":"16/Oct/2024:09:56:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/165a058a-b39d-455c-b212-8d69f6a87f87 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.169","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"cc2d1742753c7d4fb81ae784280507f0"} experiment-1 | {"level":"info","message":"DELETE /experiments/165a058a-b39d-455c-b212-8d69f6a87f87 204 164ms","method":"DELETE","requestID":"cc2d1742753c7d4fb81ae784280507f0","responseTime":164,"status":204,"url":"/experiments/165a058a-b39d-455c-b212-8d69f6a87f87"} gateway-1 | {"time_local":"16/Oct/2024:09:56:40 +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.328","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"fa6fcc6829d25b197040b32e7d0443a6"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 121ms","method":"POST","requestID":"087c4358c7ca39b83842c0b9a6f02c01","responseTime":121,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.125","http_referrer":"","http_user_agent":"node-fetch","requestID":"087c4358c7ca39b83842c0b9a6f02c01"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 119ms","method":"POST","requestID":"992a9ba9ec2bc4eb0f158970b597b874","responseTime":119,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.126","http_referrer":"","http_user_agent":"node-fetch","requestID":"992a9ba9ec2bc4eb0f158970b597b874"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMH0.4_wySrv-cdaYMxwxHzIhaK-31SXgFatKVyBbkidCJr0","level":"info","message":"auth send jwt","requestID":"00afebc19864eed6e1848aa35df03bb7"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"00afebc19864eed6e1848aa35df03bb7","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"00afebc19864eed6e1848aa35df03bb7"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1221,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1221,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.664214,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:40Z"} gateway-1 | {"time_local":"16/Oct/2024:09:56:40 +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.792","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"cc09e9b813dbb9e42b01aaeaa1c24fc9"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"00afebc19864eed6e1848aa35df03bb7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072600,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMH0.4_wySrv-cdaYMxwxHzIhaK-31SXgFatKVyBbkidCJr0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"00afebc19864eed6e1848aa35df03bb7","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/04046f57-1a23-4012-88d1-1fd17da45b00' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad07e370-9289-446d-842f-d180205ea511","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"07c4f9ae-8bef-477a-a036-33e69ad74247","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072600.4338212} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"00afebc19864eed6e1848aa35df03bb7","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/b41d4476-2f39-4295-a636-d17e23e30d60' 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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d902a9f6-27a7-4426-8948-ba8b5d54e850","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072600.4384239} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"00afebc19864eed6e1848aa35df03bb7","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad07e370-9289-446d-842f-d180205ea511","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"b59087d4-7eb0-432a-a2d6-ddf3e865df6b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072600.449715} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"612a277a-fd02-4e07-b118-f492dccbef37","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072600.4498765} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"00afebc19864eed6e1848aa35df03bb7","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad07e370-9289-446d-842f-d180205ea511","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad07e370-9289-446d-842f-d180205ea511","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:40.449685320Z"}]},"request_id":"f3274a55-9ef0-4be7-8d08-bad833b31de1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072600.4538307} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"00afebc19864eed6e1848aa35df03bb7","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"00afebc19864eed6e1848aa35df03bb7"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.049","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"00afebc19864eed6e1848aa35df03bb7"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"00afebc19864eed6e1848aa35df03bb7","responseTime":44,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMH0.4_wySrv-cdaYMxwxHzIhaK-31SXgFatKVyBbkidCJr0","level":"info","message":"auth send jwt","requestID":"e52d5e7e96e6bf53807356fd0da357b6"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e52d5e7e96e6bf53807356fd0da357b6","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"e52d5e7e96e6bf53807356fd0da357b6"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1222,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1222,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.887551,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:40Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e52d5e7e96e6bf53807356fd0da357b6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072600,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMH0.4_wySrv-cdaYMxwxHzIhaK-31SXgFatKVyBbkidCJr0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e52d5e7e96e6bf53807356fd0da357b6","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c85b771-cce9-4506-99ff-db35dd2b7ca6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"14806ad7-4b1d-4962-9db4-5c49167f4666","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072600.4819355} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"e52d5e7e96e6bf53807356fd0da357b6","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e98f4496-4148-4c18-a80c-f180528915dd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072600.486307} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"e52d5e7e96e6bf53807356fd0da357b6","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c85b771-cce9-4506-99ff-db35dd2b7ca6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"f8dcd113-e373-4a5e-a387-c5cbe99c0feb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072600.4966276} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c60ee90f-3d3f-4595-8fa5-56ba4474cee9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072600.496852} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"e52d5e7e96e6bf53807356fd0da357b6","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c85b771-cce9-4506-99ff-db35dd2b7ca6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c85b771-cce9-4506-99ff-db35dd2b7ca6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:40.496579391Z"}]},"request_id":"86daa2c1-eb7e-4b87-b0a6-9c93d94b390a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072600.5007408} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"e52d5e7e96e6bf53807356fd0da357b6","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"e52d5e7e96e6bf53807356fd0da357b6"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.045","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e52d5e7e96e6bf53807356fd0da357b6"} device-1 | {"level":"info","message":"POST /devices? 201 42ms","method":"POST","requestID":"e52d5e7e96e6bf53807356fd0da357b6","responseTime":42,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMH0.4_wySrv-cdaYMxwxHzIhaK-31SXgFatKVyBbkidCJr0","level":"info","message":"auth send jwt","requestID":"89ef3f69529d38ceee98d0ea8d46b1ff"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"89ef3f69529d38ceee98d0ea8d46b1ff","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"89ef3f69529d38ceee98d0ea8d46b1ff"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1223,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1223,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.12382,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:40Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"89ef3f69529d38ceee98d0ea8d46b1ff","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072600,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMH0.4_wySrv-cdaYMxwxHzIhaK-31SXgFatKVyBbkidCJr0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"89ef3f69529d38ceee98d0ea8d46b1ff","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c85b771-cce9-4506-99ff-db35dd2b7ca6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c85b771-cce9-4506-99ff-db35dd2b7ca6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:40.496579391Z"}]},"request_id":"f7282c9f-881d-4516-a1ed-87bd4603e940","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072600.9963107} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"89ef3f69529d38ceee98d0ea8d46b1ff","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8248fbb3-ea32-4d50-8f78-7ababa9a6872","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072601.0010712} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"89ef3f69529d38ceee98d0ea8d46b1ff","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c85b771-cce9-4506-99ff-db35dd2b7ca6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c85b771-cce9-4506-99ff-db35dd2b7ca6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:40.496579391Z"}]},"request_id":"1f9936aa-240b-4bbc-abdc-5284089019d4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072601.0139573} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"89ef3f69529d38ceee98d0ea8d46b1ff","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"89ef3f69529d38ceee98d0ea8d46b1ff"} gateway-1 | {"time_local":"16/Oct/2024:09:56:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.039","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"89ef3f69529d38ceee98d0ea8d46b1ff"} device-1 | {"level":"info","message":"PATCH /devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6 200 33ms","method":"PATCH","requestID":"89ef3f69529d38ceee98d0ea8d46b1ff","responseTime":33,"status":200,"url":"/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMX0.5jt3dJlv2VUR-0pW0Raupx-gjwUM53TdsoFmDliBXhQ","level":"info","message":"auth send jwt","requestID":"08e95c00d4071ffe6b32b729d2aa1ed7"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"08e95c00d4071ffe6b32b729d2aa1ed7","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"08e95c00d4071ffe6b32b729d2aa1ed7"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1224,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:41Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1224,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.661575,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:41Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"08e95c00d4071ffe6b32b729d2aa1ed7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072601,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMX0.5jt3dJlv2VUR-0pW0Raupx-gjwUM53TdsoFmDliBXhQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"08e95c00d4071ffe6b32b729d2aa1ed7","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"08e95c00d4071ffe6b32b729d2aa1ed7"} device-1 | {"level":"info","message":"POST /devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6/websocket 200 20ms","method":"POST","requestID":"08e95c00d4071ffe6b32b729d2aa1ed7","responseTime":20,"status":200,"url":"/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:56:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6/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.10","requestID":"08e95c00d4071ffe6b32b729d2aa1ed7"} device-1 | {"level":"info","message":"device 'http://localhost/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e368be1094664892e802ad555650928d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"e368be1094664892e802ad555650928d","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:42 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/ad07e370-9289-446d-842f-d180205ea511/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":"e368be1094664892e802ad555650928d"} device-1 | {"level":"info","message":"OPTIONS /devices/ad07e370-9289-446d-842f-d180205ea511/websocket 200 1ms","method":"OPTIONS","requestID":"e368be1094664892e802ad555650928d","responseTime":1,"status":200,"url":"/devices/ad07e370-9289-446d-842f-d180205ea511/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMn0.qL-IatvmrdQm7D5TJiOXBdmiF9faf8cuf4FcXhOz1G4","level":"info","message":"auth send jwt","requestID":"05778954bd6810153899af3f0c72769b"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"05778954bd6810153899af3f0c72769b","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"05778954bd6810153899af3f0c72769b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1225,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1225,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.338566,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/ad07e370-9289-446d-842f-d180205ea511","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"05778954bd6810153899af3f0c72769b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ad07e370-9289-446d-842f-d180205ea511","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072602,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMn0.qL-IatvmrdQm7D5TJiOXBdmiF9faf8cuf4FcXhOz1G4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"05778954bd6810153899af3f0c72769b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"05778954bd6810153899af3f0c72769b"} gateway-1 | {"time_local":"16/Oct/2024:09:56:42 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/ad07e370-9289-446d-842f-d180205ea511/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":"05778954bd6810153899af3f0c72769b"} device-1 | {"level":"info","message":"POST /devices/ad07e370-9289-446d-842f-d180205ea511/websocket 200 22ms","method":"POST","requestID":"05778954bd6810153899af3f0c72769b","responseTime":22,"status":200,"url":"/devices/ad07e370-9289-446d-842f-d180205ea511/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/ad07e370-9289-446d-842f-d180205ea511' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c14408f9cd866e106bd84fee215dfa04","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"c14408f9cd866e106bd84fee215dfa04","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:42 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/ad07e370-9289-446d-842f-d180205ea511? 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":"c14408f9cd866e106bd84fee215dfa04"} device-1 | {"level":"info","message":"OPTIONS /devices/ad07e370-9289-446d-842f-d180205ea511? 200 1ms","method":"OPTIONS","requestID":"c14408f9cd866e106bd84fee215dfa04","responseTime":1,"status":200,"url":"/devices/ad07e370-9289-446d-842f-d180205ea511?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMn0.qL-IatvmrdQm7D5TJiOXBdmiF9faf8cuf4FcXhOz1G4","level":"info","message":"auth send jwt","requestID":"aa38127d94f5c5853fb5208e9693b74d"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"aa38127d94f5c5853fb5208e9693b74d","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"aa38127d94f5c5853fb5208e9693b74d"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1226,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1226,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.666641,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/ad07e370-9289-446d-842f-d180205ea511","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"aa38127d94f5c5853fb5208e9693b74d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ad07e370-9289-446d-842f-d180205ea511","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072602,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMn0.qL-IatvmrdQm7D5TJiOXBdmiF9faf8cuf4FcXhOz1G4"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"aa38127d94f5c5853fb5208e9693b74d","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad07e370-9289-446d-842f-d180205ea511","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad07e370-9289-446d-842f-d180205ea511","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:40.449685320Z"}]},"request_id":"9f49f476-ae6e-4184-a0e8-5e76f6043f7d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072602.596864} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"aa38127d94f5c5853fb5208e9693b74d","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a48caaa8-adf8-43e1-9931-5401b1850701","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072602.6078138} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"aa38127d94f5c5853fb5208e9693b74d","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad07e370-9289-446d-842f-d180205ea511","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad07e370-9289-446d-842f-d180205ea511","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:40.449685320Z"}]},"request_id":"4e6c9e35-fe26-45f3-a22a-eb03d5c60642","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072602.6216295} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"aa38127d94f5c5853fb5208e9693b74d","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"aa38127d94f5c5853fb5208e9693b74d"} device-1 | {"level":"info","message":"PATCH /devices/ad07e370-9289-446d-842f-d180205ea511? 200 50ms","method":"PATCH","requestID":"aa38127d94f5c5853fb5208e9693b74d","responseTime":50,"status":200,"url":"/devices/ad07e370-9289-446d-842f-d180205ea511?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:42 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/ad07e370-9289-446d-842f-d180205ea511? 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":"aa38127d94f5c5853fb5208e9693b74d"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMn0.qL-IatvmrdQm7D5TJiOXBdmiF9faf8cuf4FcXhOz1G4","level":"info","message":"auth send jwt","requestID":"fae1b6b09b6a229ec912dfbe116a464f"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"fae1b6b09b6a229ec912dfbe116a464f","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fae1b6b09b6a229ec912dfbe116a464f"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1227,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1227,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.233612,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ad07e370-9289-446d-842f-d180205ea511","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fae1b6b09b6a229ec912dfbe116a464f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ad07e370-9289-446d-842f-d180205ea511","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072602,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMn0.qL-IatvmrdQm7D5TJiOXBdmiF9faf8cuf4FcXhOz1G4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"fae1b6b09b6a229ec912dfbe116a464f","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad07e370-9289-446d-842f-d180205ea511","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad07e370-9289-446d-842f-d180205ea511","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:40.449685320Z"}]},"request_id":"48cab19d-8b1a-4229-898f-32614254fb1f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072602.6516037} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"fae1b6b09b6a229ec912dfbe116a464f","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fae1b6b09b6a229ec912dfbe116a464f"} device-1 | {"level":"info","message":"GET /devices/ad07e370-9289-446d-842f-d180205ea511? 200 17ms","method":"GET","requestID":"fae1b6b09b6a229ec912dfbe116a464f","responseTime":17,"status":200,"url":"/devices/ad07e370-9289-446d-842f-d180205ea511?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:42 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/ad07e370-9289-446d-842f-d180205ea511? 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":"fae1b6b09b6a229ec912dfbe116a464f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMn0.qL-IatvmrdQm7D5TJiOXBdmiF9faf8cuf4FcXhOz1G4","level":"info","message":"auth send jwt","requestID":"178b067b1adaabcf2ccbff2673b61446"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"178b067b1adaabcf2ccbff2673b61446","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"178b067b1adaabcf2ccbff2673b61446"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1228,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1228,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.301123,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"178b067b1adaabcf2ccbff2673b61446","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072602,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMn0.qL-IatvmrdQm7D5TJiOXBdmiF9faf8cuf4FcXhOz1G4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"178b067b1adaabcf2ccbff2673b61446","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c85b771-cce9-4506-99ff-db35dd2b7ca6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c85b771-cce9-4506-99ff-db35dd2b7ca6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:40.496579391Z"}]},"request_id":"f6d20bf2-58fd-460a-bda2-35381bc613f6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072602.6755116} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"178b067b1adaabcf2ccbff2673b61446","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"178b067b1adaabcf2ccbff2673b61446"} device-1 | {"level":"info","message":"GET /devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6? 200 16ms","method":"GET","requestID":"178b067b1adaabcf2ccbff2673b61446","responseTime":16,"status":200,"url":"/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:42 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6? 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":"178b067b1adaabcf2ccbff2673b61446"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMn0.qL-IatvmrdQm7D5TJiOXBdmiF9faf8cuf4FcXhOz1G4","level":"info","message":"auth send jwt","requestID":"3904162cb295c1b36ac3aa95e7f827fc"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"3904162cb295c1b36ac3aa95e7f827fc","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"3904162cb295c1b36ac3aa95e7f827fc"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1229,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1229,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.190867,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3904162cb295c1b36ac3aa95e7f827fc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072602,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMn0.qL-IatvmrdQm7D5TJiOXBdmiF9faf8cuf4FcXhOz1G4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3904162cb295c1b36ac3aa95e7f827fc","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/17efb711-dc14-48c0-acc3-646181efc968"},"level":"info","message":"Attempting to run experiment","requestID":"3904162cb295c1b36ac3aa95e7f827fc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/17efb711-dc14-48c0-acc3-646181efc968"},"level":"info","message":"Attempting to book experiment","requestID":"3904162cb295c1b36ac3aa95e7f827fc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/17efb711-dc14-48c0-acc3-646181efc968"},"level":"info","message":"Successfully booked experiment","requestID":"3904162cb295c1b36ac3aa95e7f827fc"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f2459ac0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f245e8e0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1230,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1230,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.132909,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ad07e370-9289-446d-842f-d180205ea511","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f2459ac0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ad07e370-9289-446d-842f-d180205ea511","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072602,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMn0.qL-IatvmrdQm7D5TJiOXBdmiF9faf8cuf4FcXhOz1G4"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"f2459ac0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35120","level":"info","msg":"Received request.","req_id":1231,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"client_addr":"127.0.0.1:35120","level":"info","msg":"Sent response.","req_id":1231,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.305848,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f245e8e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072602,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMn0.qL-IatvmrdQm7D5TJiOXBdmiF9faf8cuf4FcXhOz1G4"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"f245e8e0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad07e370-9289-446d-842f-d180205ea511","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad07e370-9289-446d-842f-d180205ea511","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:40.449685320Z"}]},"request_id":"a3ec3ca3-d997-4c00-8275-91f85ea3bd07","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072602.7447054} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f2459ac0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c85b771-cce9-4506-99ff-db35dd2b7ca6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c85b771-cce9-4506-99ff-db35dd2b7ca6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:40.496579391Z"}]},"request_id":"b4b85cdf-08ff-43ac-8386-688d339cdbc4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072602.748745} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f2459ac0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f245e8e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/ad07e370-9289-446d-842f-d180205ea511? 200 18ms","method":"GET","requestID":"f2459ac0-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/ad07e370-9289-446d-842f-d180205ea511?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f245e8e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6? 200 21ms","method":"GET","requestID":"f245e8e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":21,"status":200,"url":"/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/17efb711-dc14-48c0-acc3-646181efc968"},"level":"info","message":"Setting up experiment","requestID":"3904162cb295c1b36ac3aa95e7f827fc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/17efb711-dc14-48c0-acc3-646181efc968"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"3904162cb295c1b36ac3aa95e7f827fc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/17efb711-dc14-48c0-acc3-646181efc968"},"level":"info","message":"Successfully locked booking for experiment","requestID":"3904162cb295c1b36ac3aa95e7f827fc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/17efb711-dc14-48c0-acc3-646181efc968"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"3904162cb295c1b36ac3aa95e7f827fc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/17efb711-dc14-48c0-acc3-646181efc968"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"3904162cb295c1b36ac3aa95e7f827fc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/17efb711-dc14-48c0-acc3-646181efc968"},"level":"info","message":"Attempting to update booking for experiment","requestID":"3904162cb295c1b36ac3aa95e7f827fc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/17efb711-dc14-48c0-acc3-646181efc968"},"level":"info","message":"Successfully updated booking for experiment","requestID":"3904162cb295c1b36ac3aa95e7f827fc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/17efb711-dc14-48c0-acc3-646181efc968"},"level":"info","message":"Successfully set up experiment","requestID":"3904162cb295c1b36ac3aa95e7f827fc"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f2513380-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f251a8b0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1232,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:42Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f2521de0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:35120","level":"info","msg":"Received request.","req_id":1233,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1232,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":3.086538,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:42Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/17efb711-dc14-48c0-acc3-646181efc968"},"level":"info","message":"Successfully running experiment","requestID":"3904162cb295c1b36ac3aa95e7f827fc"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ad07e370-9289-446d-842f-d180205ea511","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f2513380-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ad07e370-9289-446d-842f-d180205ea511","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072602,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMn0.qL-IatvmrdQm7D5TJiOXBdmiF9faf8cuf4FcXhOz1G4"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"f2513380-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35120","level":"info","msg":"Sent response.","req_id":1233,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.689837,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f251a8b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072602,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMn0.qL-IatvmrdQm7D5TJiOXBdmiF9faf8cuf4FcXhOz1G4"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"f251a8b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35130","level":"info","msg":"Received request.","req_id":1234,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c85b771-cce9-4506-99ff-db35dd2b7ca6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c85b771-cce9-4506-99ff-db35dd2b7ca6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:40.496579391Z"}]},"request_id":"6d59fdcf-238f-464e-9d5a-aa2f77c8acee","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072602.8275473} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"f251a8b0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad07e370-9289-446d-842f-d180205ea511","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad07e370-9289-446d-842f-d180205ea511","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:40.449685320Z"}]},"request_id":"af3da64d-c0ac-4a48-8972-1f0ff8f3887b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072602.8298378} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"f2513380-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad07e370-9289-446d-842f-d180205ea511","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3e87dcdc-9ad2-486c-b952-68bf24511ca9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072602.831304} authorization-1 | {"client_addr":"127.0.0.1:35130","level":"info","msg":"Sent response.","req_id":1234,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.130093,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ad07e370-9289-446d-842f-d180205ea511","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f2521de0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ad07e370-9289-446d-842f-d180205ea511","object_type":"device","rebac_allow":false,"scope_allow":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":"f2521de0-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f251a8b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6? 200 29ms","method":"GET","requestID":"f251a8b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":29,"status":200,"url":"/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f2513380-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/ad07e370-9289-446d-842f-d180205ea511? 200 33ms","method":"GET","requestID":"f2513380-8ba4-11ef-a62f-5f7f958aa687","responseTime":33,"status":200,"url":"/devices/ad07e370-9289-446d-842f-d180205ea511?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f2521de0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ad07e370-9289-446d-842f-d180205ea511/signaling 200 28ms","method":"POST","requestID":"f2521de0-8ba4-11ef-a62f-5f7f958aa687","responseTime":28,"status":200,"url":"/devices/ad07e370-9289-446d-842f-d180205ea511/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F17efb711-dc14-48c0-acc3-646181efc968#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F17efb711-dc14-48c0-acc3-646181efc968","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"3d26f76d-c621-4e15-adc1-657d1ed5abf4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072602.8431413} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f256d8d0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"eaa94cdc-37b7-4776-be0b-bde3f0a21389","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072602.8438845} authorization-1 | {"level":"info","message":"POST /relations/update 200 24ms","method":"POST","requestID":"3904162cb295c1b36ac3aa95e7f827fc","responseTime":24,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f2574e00-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1235,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"client_addr":"127.0.0.1:35120","level":"info","msg":"Received request.","req_id":1236,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad07e370-9289-446d-842f-d180205ea511","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8a414168-03b0-445f-91b6-bc6aec3fefa8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072602.854489} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1235,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.217788,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ad07e370-9289-446d-842f-d180205ea511","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f256d8d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ad07e370-9289-446d-842f-d180205ea511","object_type":"device","rebac_allow":false,"scope_allow":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":"f256d8d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35120","level":"info","msg":"Sent response.","req_id":1236,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.055716,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c85b771-cce9-4506-99ff-db35dd2b7ca6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1319e983-534a-44e3-950b-77bb9bfdacd6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072602.855838} experiment-1 | {"data":{"experiment":"http://localhost/experiments/17efb711-dc14-48c0-acc3-646181efc968","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"3904162cb295c1b36ac3aa95e7f827fc"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f2574e00-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6","object_type":"device","rebac_allow":false,"scope_allow":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":"f2574e00-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:56:42 +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":"3904162cb295c1b36ac3aa95e7f827fc"} experiment-1 | {"level":"info","message":"POST /experiments? 201 169ms","method":"POST","requestID":"3904162cb295c1b36ac3aa95e7f827fc","responseTime":169,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f256d8d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ad07e370-9289-446d-842f-d180205ea511/signaling 200 17ms","method":"POST","requestID":"f256d8d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/ad07e370-9289-446d-842f-d180205ea511/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMn0.qL-IatvmrdQm7D5TJiOXBdmiF9faf8cuf4FcXhOz1G4","level":"info","message":"auth send jwt","requestID":"137a5fd336d30ad2dbfd31da88621f41"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f2574e00-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6/signaling 200 15ms","method":"POST","requestID":"f2574e00-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6/signaling"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"137a5fd336d30ad2dbfd31da88621f41","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"137a5fd336d30ad2dbfd31da88621f41"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f25a0d20-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1237,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1237,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.958177,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"client_addr":"127.0.0.1:35120","level":"info","msg":"Received request.","req_id":1238,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ad07e370-9289-446d-842f-d180205ea511","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"137a5fd336d30ad2dbfd31da88621f41","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ad07e370-9289-446d-842f-d180205ea511","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072602,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMn0.qL-IatvmrdQm7D5TJiOXBdmiF9faf8cuf4FcXhOz1G4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"137a5fd336d30ad2dbfd31da88621f41","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c85b771-cce9-4506-99ff-db35dd2b7ca6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5e126f5c-715c-4fbd-90d1-efc5caaadaf3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072602.870999} authorization-1 | {"client_addr":"127.0.0.1:35120","level":"info","msg":"Sent response.","req_id":1238,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.960134,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f25a0d20-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6","object_type":"device","rebac_allow":false,"scope_allow":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":"f25a0d20-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad07e370-9289-446d-842f-d180205ea511","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad07e370-9289-446d-842f-d180205ea511","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:40.449685320Z"}]},"request_id":"52419d69-2ffa-44d2-be82-0db64c0d00a5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072602.8736868} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"137a5fd336d30ad2dbfd31da88621f41","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f25a0d20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6/signaling 200 12ms","method":"POST","requestID":"f25a0d20-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"137a5fd336d30ad2dbfd31da88621f41"} gateway-1 | {"time_local":"16/Oct/2024:09:56:42 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/ad07e370-9289-446d-842f-d180205ea511? 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":"137a5fd336d30ad2dbfd31da88621f41"} device-1 | {"level":"info","message":"GET /devices/ad07e370-9289-446d-842f-d180205ea511? 200 15ms","method":"GET","requestID":"137a5fd336d30ad2dbfd31da88621f41","responseTime":15,"status":200,"url":"/devices/ad07e370-9289-446d-842f-d180205ea511?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/17efb711-dc14-48c0-acc3-646181efc968"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"3904162cb295c1b36ac3aa95e7f827fc"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f25c3000-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f25c5710-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMn0.qL-IatvmrdQm7D5TJiOXBdmiF9faf8cuf4FcXhOz1G4","level":"info","message":"auth send jwt","requestID":"2ae672d7b1298cd797eac3945d5aee86"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"2ae672d7b1298cd797eac3945d5aee86","responseTime":4,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1239,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:42Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2ae672d7b1298cd797eac3945d5aee86"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1239,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.734113,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ad07e370-9289-446d-842f-d180205ea511","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f25c3000-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ad07e370-9289-446d-842f-d180205ea511","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072602,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMn0.qL-IatvmrdQm7D5TJiOXBdmiF9faf8cuf4FcXhOz1G4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f25c3000-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35120","level":"info","msg":"Received request.","req_id":1240,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"client_addr":"127.0.0.1:35120","level":"info","msg":"Sent response.","req_id":1240,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.751926,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f25c5710-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072602,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMn0.qL-IatvmrdQm7D5TJiOXBdmiF9faf8cuf4FcXhOz1G4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f25c5710-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1241,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1241,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.990197,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"2ae672d7b1298cd797eac3945d5aee86","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072602,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMn0.qL-IatvmrdQm7D5TJiOXBdmiF9faf8cuf4FcXhOz1G4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"2ae672d7b1298cd797eac3945d5aee86","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad07e370-9289-446d-842f-d180205ea511","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad07e370-9289-446d-842f-d180205ea511","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:40.449685320Z"}]},"request_id":"21d90b88-fb46-4739-951e-f1435fd0065d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072602.8900478} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f25c3000-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c85b771-cce9-4506-99ff-db35dd2b7ca6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c85b771-cce9-4506-99ff-db35dd2b7ca6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:40.496579391Z"}]},"request_id":"dd9969a5-1f6e-4ac1-b7e4-06b9b7d243b2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072602.891842} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f25c5710-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c85b771-cce9-4506-99ff-db35dd2b7ca6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c85b771-cce9-4506-99ff-db35dd2b7ca6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:40.496579391Z"}]},"request_id":"67b21660-1bc8-46d6-ba14-127ed6f9c4ab","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072602.8934891} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"2ae672d7b1298cd797eac3945d5aee86","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f25c3000-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/ad07e370-9289-446d-842f-d180205ea511? 200 15ms","method":"GET","requestID":"f25c3000-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/ad07e370-9289-446d-842f-d180205ea511?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f25c5710-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6? 200 17ms","method":"GET","requestID":"f25c5710-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2ae672d7b1298cd797eac3945d5aee86"} device-1 | {"level":"info","message":"GET /devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6? 200 15ms","method":"GET","requestID":"2ae672d7b1298cd797eac3945d5aee86","responseTime":15,"status":200,"url":"/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:42 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6? 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":"2ae672d7b1298cd797eac3945d5aee86"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/17efb711-dc14-48c0-acc3-646181efc968"},"level":"info","message":"Building connection plan","requestID":"3904162cb295c1b36ac3aa95e7f827fc"} 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":"f25175a6-e461-4202-a92b-36e252ff00ff"},{"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":"738b20af-0a8f-43f9-974c-1d76db043445"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"67f345b5-a055-4f4e-961a-b1f9c9c536fd"}]},"level":"info","message":"Built pairwise service configurations","requestID":"3904162cb295c1b36ac3aa95e7f827fc"} 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/5c85b771-cce9-4506-99ff-db35dd2b7ca6"},{"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/ad07e370-9289-446d-842f-d180205ea511"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"3904162cb295c1b36ac3aa95e7f827fc"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"f25f6450-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1242,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1242,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.161256,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f25f6450-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072602,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwMn0.qL-IatvmrdQm7D5TJiOXBdmiF9faf8cuf4FcXhOz1G4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f25f6450-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"96e95d22-0d71-4271-8f36-593e35e03b28","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072602.9140792} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fb291e86-92fd-4a33-9088-bc97f5eab71e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072602.9143221} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"f25f6450-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"f25f6450-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"f25f6450-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/968ad7ca-0193-46ea-9f9a-6950237aff93'","requestID":"f25f6450-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/968ad7ca-0193-46ea-9f9a-6950237aff93'","requestID":"f25f6450-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"f25f6450-8ba4-11ef-a62f-5f7f958aa687"} 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":"f25f6450-8ba4-11ef-a62f-5f7f958aa687","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":"f25f6450-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/17efb711-dc14-48c0-acc3-646181efc968"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"3904162cb295c1b36ac3aa95e7f827fc"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f2683df0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1243,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad07e370-9289-446d-842f-d180205ea511","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"35e0cd15-bf40-42a4-8e06-9a89dc9d2a24","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072602.9641225} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1243,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.124846,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ad07e370-9289-446d-842f-d180205ea511","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f2683df0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ad07e370-9289-446d-842f-d180205ea511","object_type":"device","rebac_allow":false,"scope_allow":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":"f2683df0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f2683df0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ad07e370-9289-446d-842f-d180205ea511/signaling 200 9ms","method":"POST","requestID":"f2683df0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/ad07e370-9289-446d-842f-d180205ea511/signaling"} device-1 | {"device":"ad07e370-9289-446d-842f-d180205ea511","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"ad07e370-9289-446d-842f-d180205ea511","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f26a12b0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1244,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c85b771-cce9-4506-99ff-db35dd2b7ca6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1e38e2df-57a1-467b-84ce-60656537f46a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072602.9760056} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1244,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.786205,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:42Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f26a12b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6","object_type":"device","rebac_allow":false,"scope_allow":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":"f26a12b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"content":{"sdp":"v=0\r\no=- 8302203432315029694 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:8qke\r\na=ice-pwd:MKtYea6robXDK6eDJqlzz3Ll\r\na=ice-options:trickle\r\na=fingerprint:sha-256 04:6E:03:3B:A5:6B:D4:F3:59:7F:1E:2B:D2:EA:2F:E6:0C:A5:E6:37:03:AB:81:4B:8F:8B:04:5B:EF:87:AF:1F\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"ad07e370-9289-446d-842f-d180205ea511","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f26a12b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6/signaling 200 10ms","method":"POST","requestID":"f26a12b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6/signaling"} device-1 | {"device":"ad07e370-9289-446d-842f-d180205ea511","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"f303625b-2926-4ab5-8c45-e10e6da582c4\" in room \"http://localhost/rooms/5dbc2b0e-a250-4636-a4d4-db7e69d34842\"","requestID":"e0b7e420-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"b962d955-0f16-4054-bb2f-aa3d7d3ae8cd\" in room \"http://localhost/rooms/5dbc2b0e-a250-4636-a4d4-db7e69d34842\"","requestID":"e0b83240-8ba4-11ef-a042-213954f0282b"} device-1 | {"device":"5c85b771-cce9-4506-99ff-db35dd2b7ca6","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":"968ad7ca-0193-46ea-9f9a-6950237aff93","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"5c85b771-cce9-4506-99ff-db35dd2b7ca6","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":"5c85b771-cce9-4506-99ff-db35dd2b7ca6","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":"5c85b771-cce9-4506-99ff-db35dd2b7ca6","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":"5c85b771-cce9-4506-99ff-db35dd2b7ca6","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/968ad7ca-0193-46ea-9f9a-6950237aff93' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"968ad7ca-0193-46ea-9f9a-6950237aff93","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0a37a9004e120da8c0535f3b678082d9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"0a37a9004e120da8c0535f3b678082d9","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/5c85b771-cce9-4506-99ff-db35dd2b7ca6"},{"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/ad07e370-9289-446d-842f-d180205ea511"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/968ad7ca-0193-46ea-9f9a-6950237aff93"}}},"level":"info","message":"received a callback","requestID":"0a37a9004e120da8c0535f3b678082d9"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 9ms","method":"POST","requestID":"0a37a9004e120da8c0535f3b678082d9","responseTime":10,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.014","http_referrer":"","http_user_agent":"node-fetch","requestID":"0a37a9004e120da8c0535f3b678082d9"} device-1 | {"content":{"candidate":"candidate:2692767049 1 udp 2113937151 8dc8a151-5df0-4bcf-a3db-07f3c5f0e2d5.local 37251 typ host generation 0 ufrag 8qke network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"ad07e370-9289-446d-842f-d180205ea511","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:866909274 1 udp 1677729535 141.24.211.56 37251 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag 8qke network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"ad07e370-9289-446d-842f-d180205ea511","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2374453160 1 udp 33562623 141.24.210.113 55901 typ relay raddr 141.24.211.56 rport 37251 generation 0 ufrag 8qke network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"ad07e370-9289-446d-842f-d180205ea511","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"ad07e370-9289-446d-842f-d180205ea511","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/ad07e370-9289-446d-842f-d180205ea511'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/ad07e370-9289-446d-842f-d180205ea511'"} device-1 | {"data":{"peerconnection":"968ad7ca-0193-46ea-9f9a-6950237aff93","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"5c85b771-cce9-4506-99ff-db35dd2b7ca6","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":"ad07e370-9289-446d-842f-d180205ea511","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"5c85b771-cce9-4506-99ff-db35dd2b7ca6","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":"968ad7ca-0193-46ea-9f9a-6950237aff93","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/968ad7ca-0193-46ea-9f9a-6950237aff93' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"968ad7ca-0193-46ea-9f9a-6950237aff93","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"27eefc58e584a9b3af840b7796bc8a5e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"27eefc58e584a9b3af840b7796bc8a5e","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":"connected","url":"http://localhost/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6"},{"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/ad07e370-9289-446d-842f-d180205ea511"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/968ad7ca-0193-46ea-9f9a-6950237aff93"}}},"level":"info","message":"received a callback","requestID":"27eefc58e584a9b3af840b7796bc8a5e"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"f3aa0cc0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1245,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:45Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F968ad7ca-0193-46ea-9f9a-6950237aff93","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"460dda88-a381-47dd-8bd6-392bae69b3bc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072605.073835} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1245,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.154872,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/968ad7ca-0193-46ea-9f9a-6950237aff93","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f3aa0cc0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/968ad7ca-0193-46ea-9f9a-6950237aff93","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":"f3aa0cc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"f3aa0cc0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/968ad7ca-0193-46ea-9f9a-6950237aff93 200 11ms","method":"GET","requestID":"f3aa0cc0-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/peerconnections/968ad7ca-0193-46ea-9f9a-6950237aff93"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 38ms","method":"POST","requestID":"27eefc58e584a9b3af840b7796bc8a5e","responseTime":38,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.042","http_referrer":"","http_user_agent":"node-fetch","requestID":"27eefc58e584a9b3af840b7796bc8a5e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f3aec7b0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1246,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:45Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c85b771-cce9-4506-99ff-db35dd2b7ca6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d0a8237c-e4fb-4eea-b01d-3c1a0599928c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072605.1057727} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1246,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.551097,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:45Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f3aec7b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6","object_type":"device","rebac_allow":false,"scope_allow":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":"f3aec7b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f3aec7b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6/signaling 200 12ms","method":"POST","requestID":"f3aec7b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f3b111a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1247,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:45Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad07e370-9289-446d-842f-d180205ea511","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2ac3ef6e-296d-4bac-83a6-f563c0108363","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072605.1199152} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1247,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.058663,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:45Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ad07e370-9289-446d-842f-d180205ea511","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f3b111a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ad07e370-9289-446d-842f-d180205ea511","object_type":"device","rebac_allow":false,"scope_allow":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":"f3b111a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f3b111a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ad07e370-9289-446d-842f-d180205ea511/signaling 200 12ms","method":"POST","requestID":"f3b111a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/ad07e370-9289-446d-842f-d180205ea511/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwNX0.w81EoYS4ZSFSbVyc1E0n6crg9X-X-lJsxBCC_Yd8ic8","level":"info","message":"auth send jwt","requestID":"48b7829c278fbc5f42198e605716bfe5"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"48b7829c278fbc5f42198e605716bfe5","responseTime":6,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/17efb711-dc14-48c0-acc3-646181efc968","requestID":"48b7829c278fbc5f42198e605716bfe5"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1248,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:45Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1248,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.906294,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/17efb711-dc14-48c0-acc3-646181efc968","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"48b7829c278fbc5f42198e605716bfe5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/17efb711-dc14-48c0-acc3-646181efc968","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072605,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwNX0.w81EoYS4ZSFSbVyc1E0n6crg9X-X-lJsxBCC_Yd8ic8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"48b7829c278fbc5f42198e605716bfe5","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/17efb711-dc14-48c0-acc3-646181efc968","requestID":"48b7829c278fbc5f42198e605716bfe5"} gateway-1 | {"time_local":"16/Oct/2024:09:56:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/17efb711-dc14-48c0-acc3-646181efc968 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":"48b7829c278fbc5f42198e605716bfe5"} experiment-1 | {"level":"info","message":"GET /experiments/17efb711-dc14-48c0-acc3-646181efc968 200 15ms","method":"GET","requestID":"48b7829c278fbc5f42198e605716bfe5","responseTime":15,"status":200,"url":"/experiments/17efb711-dc14-48c0-acc3-646181efc968"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwNX0.w81EoYS4ZSFSbVyc1E0n6crg9X-X-lJsxBCC_Yd8ic8","level":"info","message":"auth send jwt","requestID":"84e2d85c8a6a1a57d69ddc21824d7743"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"84e2d85c8a6a1a57d69ddc21824d7743","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/17efb711-dc14-48c0-acc3-646181efc968","requestID":"84e2d85c8a6a1a57d69ddc21824d7743"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1249,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:45Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1249,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.157797,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:45Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/17efb711-dc14-48c0-acc3-646181efc968","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"84e2d85c8a6a1a57d69ddc21824d7743","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/17efb711-dc14-48c0-acc3-646181efc968","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072605,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwNX0.w81EoYS4ZSFSbVyc1E0n6crg9X-X-lJsxBCC_Yd8ic8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"84e2d85c8a6a1a57d69ddc21824d7743","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/17efb711-dc14-48c0-acc3-646181efc968"},"level":"info","message":"Attempting to finish experiment","requestID":"84e2d85c8a6a1a57d69ddc21824d7743"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"f3bd94c0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1250,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:45Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1250,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.235052,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:45Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/968ad7ca-0193-46ea-9f9a-6950237aff93","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f3bd94c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/968ad7ca-0193-46ea-9f9a-6950237aff93","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072605,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwNX0.w81EoYS4ZSFSbVyc1E0n6crg9X-X-lJsxBCC_Yd8ic8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f3bd94c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/968ad7ca-0193-46ea-9f9a-6950237aff93","device":"ad07e370-9289-446d-842f-d180205ea511","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"5c85b771-cce9-4506-99ff-db35dd2b7ca6","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":"5c85b771-cce9-4506-99ff-db35dd2b7ca6","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":"5c85b771-cce9-4506-99ff-db35dd2b7ca6","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/968ad7ca-0193-46ea-9f9a-6950237aff93' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/968ad7ca-0193-46ea-9f9a-6950237aff93' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"968ad7ca-0193-46ea-9f9a-6950237aff93","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e5b2e57a4499f42d4b607884dcc7a1ef","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F968ad7ca-0193-46ea-9f9a-6950237aff93': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F968ad7ca-0193-46ea-9f9a-6950237aff93","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"70be2e7f-81fc-4479-912d-e17d2d9157d7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072605.2228508} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"e5b2e57a4499f42d4b607884dcc7a1ef","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ed821cfacd41ed9a78bdbf0a53e6f468","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"792be560-6eea-4c02-94a1-bccc540e2232","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072605.2237084} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ed821cfacd41ed9a78bdbf0a53e6f468","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/5c85b771-cce9-4506-99ff-db35dd2b7ca6"},{"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/ad07e370-9289-446d-842f-d180205ea511"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/968ad7ca-0193-46ea-9f9a-6950237aff93"}}},"level":"info","message":"received a callback","requestID":"e5b2e57a4499f42d4b607884dcc7a1ef"} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"f3bd94c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/relations/update"} 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/5c85b771-cce9-4506-99ff-db35dd2b7ca6"},{"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/ad07e370-9289-446d-842f-d180205ea511"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/968ad7ca-0193-46ea-9f9a-6950237aff93"}}},"level":"info","message":"received a callback","requestID":"ed821cfacd41ed9a78bdbf0a53e6f468"} device-1 | {"data":{"peerconnection":"968ad7ca-0193-46ea-9f9a-6950237aff93","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"f3bd94c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/968ad7ca-0193-46ea-9f9a-6950237aff93 204 49ms","method":"DELETE","requestID":"f3bd94c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":49,"status":204,"url":"/peerconnections/968ad7ca-0193-46ea-9f9a-6950237aff93"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/17efb711-dc14-48c0-acc3-646181efc968"},"level":"info","message":"Successfully finished experiment","requestID":"84e2d85c8a6a1a57d69ddc21824d7743"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f3c89140-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1251,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:45Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c85b771-cce9-4506-99ff-db35dd2b7ca6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bf785e88-ca7e-4a6c-bd31-296fbec5219b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072605.2782335} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1251,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.451937,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:45Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f3c89140-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6","object_type":"device","rebac_allow":false,"scope_allow":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":"f3c89140-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f3c89140-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6/signaling 200 18ms","method":"POST","requestID":"f3c89140-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/5c85b771-cce9-4506-99ff-db35dd2b7ca6/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F17efb711-dc14-48c0-acc3-646181efc968': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F17efb711-dc14-48c0-acc3-646181efc968","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"e100abeb-1f17-40e3-959a-22bbe627666a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072605.2858274} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6ed46b58-3670-4bea-8012-23325752ff59","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072605.2865932} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f3cbc590-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 24ms","method":"POST","requestID":"84e2d85c8a6a1a57d69ddc21824d7743","responseTime":24,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1252,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:45Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fad07e370-9289-446d-842f-d180205ea511","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9c209269-ba80-4336-99df-6c0d9a43ebfe","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072605.296622} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1252,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.839691,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:45Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ad07e370-9289-446d-842f-d180205ea511","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f3cbc590-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ad07e370-9289-446d-842f-d180205ea511","object_type":"device","rebac_allow":false,"scope_allow":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":"f3cbc590-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f3cbc590-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ad07e370-9289-446d-842f-d180205ea511/signaling 200 15ms","method":"POST","requestID":"f3cbc590-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/ad07e370-9289-446d-842f-d180205ea511/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/17efb711-dc14-48c0-acc3-646181efc968","requestID":"84e2d85c8a6a1a57d69ddc21824d7743"} gateway-1 | {"time_local":"16/Oct/2024:09:56:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/17efb711-dc14-48c0-acc3-646181efc968 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":"84e2d85c8a6a1a57d69ddc21824d7743"} experiment-1 | {"level":"info","message":"DELETE /experiments/17efb711-dc14-48c0-acc3-646181efc968 204 179ms","method":"DELETE","requestID":"84e2d85c8a6a1a57d69ddc21824d7743","responseTime":179,"status":204,"url":"/experiments/17efb711-dc14-48c0-acc3-646181efc968"} gateway-1 | {"time_local":"16/Oct/2024:09:56:45 +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.317","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"3d078e2ba85c9384307986b5e27046b9"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 138ms","method":"POST","requestID":"e5b2e57a4499f42d4b607884dcc7a1ef","responseTime":138,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.144","http_referrer":"","http_user_agent":"node-fetch","requestID":"e5b2e57a4499f42d4b607884dcc7a1ef"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwNX0.w81EoYS4ZSFSbVyc1E0n6crg9X-X-lJsxBCC_Yd8ic8","level":"info","message":"auth send jwt","requestID":"d257afc47869a989a62d50f3b945698c"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 140ms","method":"POST","requestID":"ed821cfacd41ed9a78bdbf0a53e6f468","responseTime":140,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.147","http_referrer":"","http_user_agent":"node-fetch","requestID":"ed821cfacd41ed9a78bdbf0a53e6f468"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d257afc47869a989a62d50f3b945698c","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"d257afc47869a989a62d50f3b945698c"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1253,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:45Z"} gateway-1 | {"time_local":"16/Oct/2024:09:56:45 +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.846","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"bcc6851f07172247d6bcb9e345cecc8e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1253,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.050576,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:45Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d257afc47869a989a62d50f3b945698c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072605,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwNX0.w81EoYS4ZSFSbVyc1E0n6crg9X-X-lJsxBCC_Yd8ic8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d257afc47869a989a62d50f3b945698c","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/5c85b771-cce9-4506-99ff-db35dd2b7ca6' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F65f65eac-4246-42cc-b9d3-c7536c4a3c8d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"4e4110e3-d457-4c57-aa62-e05af0088e0f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072605.3870454} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d257afc47869a989a62d50f3b945698c","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/ad07e370-9289-446d-842f-d180205ea511' 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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c76cb526-d3e8-4ea9-95ed-2f5d1a5015ab","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072605.392121} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"d257afc47869a989a62d50f3b945698c","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F65f65eac-4246-42cc-b9d3-c7536c4a3c8d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"cb3c62a9-7454-4d52-a563-0c1e0f3c2977","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072605.4077363} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"37ce8889-ecb5-43b6-bb9d-c5a7e431374a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072605.4079468} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"d257afc47869a989a62d50f3b945698c","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F65f65eac-4246-42cc-b9d3-c7536c4a3c8d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F65f65eac-4246-42cc-b9d3-c7536c4a3c8d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:45.407706498Z"}]},"request_id":"4415b394-4fcb-45d2-941e-3a41e9922cfd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072605.4119942} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"d257afc47869a989a62d50f3b945698c","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"d257afc47869a989a62d50f3b945698c"} gateway-1 | {"time_local":"16/Oct/2024:09:56:45 +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":"d257afc47869a989a62d50f3b945698c"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"d257afc47869a989a62d50f3b945698c","responseTime":45,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwNX0.w81EoYS4ZSFSbVyc1E0n6crg9X-X-lJsxBCC_Yd8ic8","level":"info","message":"auth send jwt","requestID":"69573862329199e3625ceb80c36f8136"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"69573862329199e3625ceb80c36f8136","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"69573862329199e3625ceb80c36f8136"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1254,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:45Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1254,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.684878,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:45Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"69573862329199e3625ceb80c36f8136","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072605,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwNX0.w81EoYS4ZSFSbVyc1E0n6crg9X-X-lJsxBCC_Yd8ic8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"69573862329199e3625ceb80c36f8136","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F770cedc7-0122-42ab-b64e-5299cbb3cf2f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"9c7526eb-d500-4179-be34-95c7002fd53f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072605.4356997} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"69573862329199e3625ceb80c36f8136","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b57e7c96-4169-435b-b6d8-57e960938078","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072605.4411879} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"69573862329199e3625ceb80c36f8136","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F770cedc7-0122-42ab-b64e-5299cbb3cf2f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"b5f9426d-2935-463e-a82e-f0582ce9ede7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072605.4518507} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0abccbc3-c06b-466b-83dd-3f220bf9019b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072605.4521027} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"69573862329199e3625ceb80c36f8136","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F770cedc7-0122-42ab-b64e-5299cbb3cf2f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F770cedc7-0122-42ab-b64e-5299cbb3cf2f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:45.451806071Z"}]},"request_id":"208eac55-66db-4769-8826-e1fea7507890","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072605.455982} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"69573862329199e3625ceb80c36f8136","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"69573862329199e3625ceb80c36f8136"} device-1 | {"level":"info","message":"POST /devices? 201 39ms","method":"POST","requestID":"69573862329199e3625ceb80c36f8136","responseTime":39,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:45 +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":"69573862329199e3625ceb80c36f8136"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwNX0.w81EoYS4ZSFSbVyc1E0n6crg9X-X-lJsxBCC_Yd8ic8","level":"info","message":"auth send jwt","requestID":"5101ca0b3ed9513fd6773f9bdbc355ae"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"5101ca0b3ed9513fd6773f9bdbc355ae","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"5101ca0b3ed9513fd6773f9bdbc355ae"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1255,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:45Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1255,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.973318,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:45Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"5101ca0b3ed9513fd6773f9bdbc355ae","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072605,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwNX0.w81EoYS4ZSFSbVyc1E0n6crg9X-X-lJsxBCC_Yd8ic8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5101ca0b3ed9513fd6773f9bdbc355ae","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F65f65eac-4246-42cc-b9d3-c7536c4a3c8d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F65f65eac-4246-42cc-b9d3-c7536c4a3c8d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:45.407706498Z"}]},"request_id":"87f16c6c-af4c-4514-bc00-d748cd53d989","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072605.946953} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"5101ca0b3ed9513fd6773f9bdbc355ae","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b65828de-eb20-422c-9186-00463f21f4e1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072605.953594} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"5101ca0b3ed9513fd6773f9bdbc355ae","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F65f65eac-4246-42cc-b9d3-c7536c4a3c8d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F65f65eac-4246-42cc-b9d3-c7536c4a3c8d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:45.407706498Z"}]},"request_id":"b8f3da90-4ece-45fc-aac6-8e1465b82ce4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072605.9643586} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5101ca0b3ed9513fd6773f9bdbc355ae","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"5101ca0b3ed9513fd6773f9bdbc355ae"} gateway-1 | {"time_local":"16/Oct/2024:09:56:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.038","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"5101ca0b3ed9513fd6773f9bdbc355ae"} device-1 | {"level":"info","message":"PATCH /devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d 200 32ms","method":"PATCH","requestID":"5101ca0b3ed9513fd6773f9bdbc355ae","responseTime":32,"status":200,"url":"/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwNX0.w81EoYS4ZSFSbVyc1E0n6crg9X-X-lJsxBCC_Yd8ic8","level":"info","message":"auth send jwt","requestID":"e9c81649ac3921f84c0b4bb8dd3e9f89"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"e9c81649ac3921f84c0b4bb8dd3e9f89","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"e9c81649ac3921f84c0b4bb8dd3e9f89"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1256,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:45Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1256,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.821322,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:45Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e9c81649ac3921f84c0b4bb8dd3e9f89","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072605,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwNX0.w81EoYS4ZSFSbVyc1E0n6crg9X-X-lJsxBCC_Yd8ic8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e9c81649ac3921f84c0b4bb8dd3e9f89","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"e9c81649ac3921f84c0b4bb8dd3e9f89"} gateway-1 | {"time_local":"16/Oct/2024:09:56:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d/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.10","requestID":"e9c81649ac3921f84c0b4bb8dd3e9f89"} device-1 | {"level":"info","message":"POST /devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d/websocket 200 18ms","method":"POST","requestID":"e9c81649ac3921f84c0b4bb8dd3e9f89","responseTime":18,"status":200,"url":"/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d' connected"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"2799aa9a-2353-4caa-8fe2-5fefccc9c99b\" in room \"http://localhost/rooms/493238ee-c23e-489f-8198-7a5540478dcd\"","requestID":"e25bf730-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"51be20c1-797e-4421-ab7d-f33282f51fed\" in room \"http://localhost/rooms/493238ee-c23e-489f-8198-7a5540478dcd\"","requestID":"e25c4550-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"cbf8dcb443110fe61edcf670638b2efe","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"cbf8dcb443110fe61edcf670638b2efe","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f/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":"cbf8dcb443110fe61edcf670638b2efe"} device-1 | {"level":"info","message":"OPTIONS /devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f/websocket 200 1ms","method":"OPTIONS","requestID":"cbf8dcb443110fe61edcf670638b2efe","responseTime":1,"status":200,"url":"/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwN30.SpW3563KTpR6M5FT2gP6yJRuQnyWwAsPKcMFjQDWaLU","level":"info","message":"auth send jwt","requestID":"05b7b997554d9f5335c841305b82bb9d"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"05b7b997554d9f5335c841305b82bb9d","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"05b7b997554d9f5335c841305b82bb9d"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1257,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1257,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.197768,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"05b7b997554d9f5335c841305b82bb9d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072607,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwN30.SpW3563KTpR6M5FT2gP6yJRuQnyWwAsPKcMFjQDWaLU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"05b7b997554d9f5335c841305b82bb9d","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"05b7b997554d9f5335c841305b82bb9d"} device-1 | {"level":"info","message":"POST /devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f/websocket 200 21ms","method":"POST","requestID":"05b7b997554d9f5335c841305b82bb9d","responseTime":21,"status":200,"url":"/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:56:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f/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":"05b7b997554d9f5335c841305b82bb9d"} device-1 | {"level":"info","message":"device 'http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f9f42e5be58f2e429ce8b91c5b6b5d14","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"f9f42e5be58f2e429ce8b91c5b6b5d14","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f? 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":"f9f42e5be58f2e429ce8b91c5b6b5d14"} device-1 | {"level":"info","message":"OPTIONS /devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f? 200 1ms","method":"OPTIONS","requestID":"f9f42e5be58f2e429ce8b91c5b6b5d14","responseTime":1,"status":200,"url":"/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwN30.SpW3563KTpR6M5FT2gP6yJRuQnyWwAsPKcMFjQDWaLU","level":"info","message":"auth send jwt","requestID":"80cd68a14afc6aef7b1293959ce9b07b"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"80cd68a14afc6aef7b1293959ce9b07b","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"80cd68a14afc6aef7b1293959ce9b07b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1258,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1258,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.253642,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"80cd68a14afc6aef7b1293959ce9b07b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072607,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwN30.SpW3563KTpR6M5FT2gP6yJRuQnyWwAsPKcMFjQDWaLU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"80cd68a14afc6aef7b1293959ce9b07b","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F770cedc7-0122-42ab-b64e-5299cbb3cf2f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F770cedc7-0122-42ab-b64e-5299cbb3cf2f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:45.451806071Z"}]},"request_id":"16815d92-4b01-47a1-9784-c03f826ab202","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072607.567243} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"80cd68a14afc6aef7b1293959ce9b07b","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"150dc368-0160-4444-b72a-e1704097af8c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072607.5740273} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"80cd68a14afc6aef7b1293959ce9b07b","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F770cedc7-0122-42ab-b64e-5299cbb3cf2f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F770cedc7-0122-42ab-b64e-5299cbb3cf2f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:45.451806071Z"}]},"request_id":"46c6aa27-cfe2-4a1e-896a-0d29f6613c30","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072607.5862098} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"80cd68a14afc6aef7b1293959ce9b07b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"80cd68a14afc6aef7b1293959ce9b07b"} device-1 | {"level":"info","message":"PATCH /devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f? 200 36ms","method":"PATCH","requestID":"80cd68a14afc6aef7b1293959ce9b07b","responseTime":36,"status":200,"url":"/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f? 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":"80cd68a14afc6aef7b1293959ce9b07b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwN30.SpW3563KTpR6M5FT2gP6yJRuQnyWwAsPKcMFjQDWaLU","level":"info","message":"auth send jwt","requestID":"041ac480ffa09aaa3fa6aa44cc7221a3"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"041ac480ffa09aaa3fa6aa44cc7221a3","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"041ac480ffa09aaa3fa6aa44cc7221a3"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1259,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1259,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.387735,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"041ac480ffa09aaa3fa6aa44cc7221a3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072607,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwN30.SpW3563KTpR6M5FT2gP6yJRuQnyWwAsPKcMFjQDWaLU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"041ac480ffa09aaa3fa6aa44cc7221a3","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F65f65eac-4246-42cc-b9d3-c7536c4a3c8d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F65f65eac-4246-42cc-b9d3-c7536c4a3c8d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:45.407706498Z"}]},"request_id":"09138060-8d1a-4d19-942d-e532081bd0f1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072607.6145272} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"041ac480ffa09aaa3fa6aa44cc7221a3","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"041ac480ffa09aaa3fa6aa44cc7221a3"} device-1 | {"level":"info","message":"GET /devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d? 200 17ms","method":"GET","requestID":"041ac480ffa09aaa3fa6aa44cc7221a3","responseTime":17,"status":200,"url":"/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d? 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":"041ac480ffa09aaa3fa6aa44cc7221a3"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwN30.SpW3563KTpR6M5FT2gP6yJRuQnyWwAsPKcMFjQDWaLU","level":"info","message":"auth send jwt","requestID":"8a6f4c9131662b075c65e5f6c97d4141"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"8a6f4c9131662b075c65e5f6c97d4141","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8a6f4c9131662b075c65e5f6c97d4141"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1260,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1260,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.141671,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"8a6f4c9131662b075c65e5f6c97d4141","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072607,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwN30.SpW3563KTpR6M5FT2gP6yJRuQnyWwAsPKcMFjQDWaLU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8a6f4c9131662b075c65e5f6c97d4141","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F770cedc7-0122-42ab-b64e-5299cbb3cf2f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F770cedc7-0122-42ab-b64e-5299cbb3cf2f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:45.451806071Z"}]},"request_id":"9bb58d22-b38e-4139-b3d4-991bddf53e0d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072607.6388254} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"8a6f4c9131662b075c65e5f6c97d4141","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8a6f4c9131662b075c65e5f6c97d4141"} gateway-1 | {"time_local":"16/Oct/2024:09:56:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f? 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":"8a6f4c9131662b075c65e5f6c97d4141"} device-1 | {"level":"info","message":"GET /devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f? 200 16ms","method":"GET","requestID":"8a6f4c9131662b075c65e5f6c97d4141","responseTime":16,"status":200,"url":"/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwN30.SpW3563KTpR6M5FT2gP6yJRuQnyWwAsPKcMFjQDWaLU","level":"info","message":"auth send jwt","requestID":"b9ec65ff98d979005c33f49b22502a04"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"b9ec65ff98d979005c33f49b22502a04","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"b9ec65ff98d979005c33f49b22502a04"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1261,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1261,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.136425,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b9ec65ff98d979005c33f49b22502a04","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072607,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwN30.SpW3563KTpR6M5FT2gP6yJRuQnyWwAsPKcMFjQDWaLU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b9ec65ff98d979005c33f49b22502a04","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64"},"level":"info","message":"Attempting to run experiment","requestID":"b9ec65ff98d979005c33f49b22502a04"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64"},"level":"info","message":"Attempting to book experiment","requestID":"b9ec65ff98d979005c33f49b22502a04"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64"},"level":"info","message":"Successfully booked experiment","requestID":"b9ec65ff98d979005c33f49b22502a04"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f53a70c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f53a97d0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1262,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1262,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.808733,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f53a70c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072607,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwN30.SpW3563KTpR6M5FT2gP6yJRuQnyWwAsPKcMFjQDWaLU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f53a70c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35132","level":"info","msg":"Received request.","req_id":1263,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"client_addr":"127.0.0.1:35132","level":"info","msg":"Sent response.","req_id":1263,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.83572,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f53a97d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072607,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwN30.SpW3563KTpR6M5FT2gP6yJRuQnyWwAsPKcMFjQDWaLU"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"f53a97d0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F65f65eac-4246-42cc-b9d3-c7536c4a3c8d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F65f65eac-4246-42cc-b9d3-c7536c4a3c8d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:45.407706498Z"}]},"request_id":"90ec0d12-4199-4ea3-a3ee-3dfe59bcea55","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072607.7018433} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f53a70c0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F770cedc7-0122-42ab-b64e-5299cbb3cf2f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F770cedc7-0122-42ab-b64e-5299cbb3cf2f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:45.451806071Z"}]},"request_id":"d6d3e021-942d-4ef5-8d8f-4bd7083e87d1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072607.7050326} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f53a70c0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"f53a97d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d? 200 14ms","method":"GET","requestID":"f53a70c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f53a97d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f? 200 15ms","method":"GET","requestID":"f53a97d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64"},"level":"info","message":"Setting up experiment","requestID":"b9ec65ff98d979005c33f49b22502a04"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"b9ec65ff98d979005c33f49b22502a04"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64"},"level":"info","message":"Successfully locked booking for experiment","requestID":"b9ec65ff98d979005c33f49b22502a04"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"b9ec65ff98d979005c33f49b22502a04"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"b9ec65ff98d979005c33f49b22502a04"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64"},"level":"info","message":"Attempting to update booking for experiment","requestID":"b9ec65ff98d979005c33f49b22502a04"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64"},"level":"info","message":"Successfully updated booking for experiment","requestID":"b9ec65ff98d979005c33f49b22502a04"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64"},"level":"info","message":"Successfully set up experiment","requestID":"b9ec65ff98d979005c33f49b22502a04"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f54434c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f5445bd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f54482e0-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64"},"level":"info","message":"Successfully running experiment","requestID":"b9ec65ff98d979005c33f49b22502a04"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1264,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1264,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.755082,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f54434c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072607,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwN30.SpW3563KTpR6M5FT2gP6yJRuQnyWwAsPKcMFjQDWaLU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f54434c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35132","level":"info","msg":"Received request.","req_id":1265,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"client_addr":"127.0.0.1:35132","level":"info","msg":"Sent response.","req_id":1265,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.668107,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f5445bd0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072607,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwN30.SpW3563KTpR6M5FT2gP6yJRuQnyWwAsPKcMFjQDWaLU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f5445bd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1266,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F65f65eac-4246-42cc-b9d3-c7536c4a3c8d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"57c0755e-b11f-4d9e-b987-ef86b0e4b2bb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072607.7661872} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F65f65eac-4246-42cc-b9d3-c7536c4a3c8d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F65f65eac-4246-42cc-b9d3-c7536c4a3c8d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:45.407706498Z"}]},"request_id":"d8cdb8dc-0f81-49d4-97c6-44c4aca66518","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072607.7669559} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1266,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.832436,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f54482e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d","object_type":"device","rebac_allow":false,"scope_allow":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":"f54482e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f54434c0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F770cedc7-0122-42ab-b64e-5299cbb3cf2f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F770cedc7-0122-42ab-b64e-5299cbb3cf2f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:45.451806071Z"}]},"request_id":"04e6c9ce-95f0-4a6e-bc9a-51cd45488a75","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072607.7680054} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f5445bd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f54482e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d/signaling 200 17ms","method":"POST","requestID":"f54482e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f54434c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d? 200 20ms","method":"GET","requestID":"f54434c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":20,"status":200,"url":"/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f5445bd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f? 200 20ms","method":"GET","requestID":"f5445bd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":20,"status":200,"url":"/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5e28d5ec-4779-4678-953a-c90c78ef8a64#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5e28d5ec-4779-4678-953a-c90c78ef8a64","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"79fd9bb8-a845-4a7a-b413-bf64f45140f5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072607.777364} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f5476910-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b5d3d305-5dbc-4b7c-883c-273d5372880a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072607.7776315} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"b9ec65ff98d979005c33f49b22502a04","responseTime":19,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f547b730-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1267,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"client_addr":"127.0.0.1:35132","level":"info","msg":"Received request.","req_id":1268,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F770cedc7-0122-42ab-b64e-5299cbb3cf2f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a71b04f9-34c1-4768-ae1c-dda3c1997d53","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072607.7827199} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1267,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.377273,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f5476910-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f","object_type":"device","rebac_allow":false,"scope_allow":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":"f5476910-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F65f65eac-4246-42cc-b9d3-c7536c4a3c8d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"45d283b7-88e9-443e-a02b-5a10ab00092a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072607.7844558} authorization-1 | {"client_addr":"127.0.0.1:35132","level":"info","msg":"Sent response.","req_id":1268,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.923443,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f547b730-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d","object_type":"device","rebac_allow":false,"scope_allow":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":"f547b730-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"b9ec65ff98d979005c33f49b22502a04"} experiment-1 | {"level":"info","message":"POST /experiments? 201 134ms","method":"POST","requestID":"b9ec65ff98d979005c33f49b22502a04","responseTime":134,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1216","request_time":"0.141","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b9ec65ff98d979005c33f49b22502a04"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f5476910-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f/signaling 200 11ms","method":"POST","requestID":"f5476910-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f547b730-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d/signaling 200 10ms","method":"POST","requestID":"f547b730-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwN30.SpW3563KTpR6M5FT2gP6yJRuQnyWwAsPKcMFjQDWaLU","level":"info","message":"auth send jwt","requestID":"696fb6174129e5bf7dde511a094d527e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f5498bf0-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"696fb6174129e5bf7dde511a094d527e","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"696fb6174129e5bf7dde511a094d527e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1269,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"client_addr":"127.0.0.1:35132","level":"info","msg":"Received request.","req_id":1270,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"client_addr":"127.0.0.1:35132","level":"info","msg":"Sent response.","req_id":1270,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.674013,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"696fb6174129e5bf7dde511a094d527e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072607,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwN30.SpW3563KTpR6M5FT2gP6yJRuQnyWwAsPKcMFjQDWaLU"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"696fb6174129e5bf7dde511a094d527e","responseTime":2,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F770cedc7-0122-42ab-b64e-5299cbb3cf2f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"913ec8ea-f893-4482-8887-a151000ef315","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072607.7959273} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1269,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.161619,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f5498bf0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f","object_type":"device","rebac_allow":false,"scope_allow":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":"f5498bf0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F65f65eac-4246-42cc-b9d3-c7536c4a3c8d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F65f65eac-4246-42cc-b9d3-c7536c4a3c8d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:45.407706498Z"}]},"request_id":"a8f0949d-2aeb-4466-8b83-4657c58861fd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072607.7990913} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f5498bf0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f/signaling 200 8ms","method":"POST","requestID":"f5498bf0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"696fb6174129e5bf7dde511a094d527e","responseTime":2,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"b9ec65ff98d979005c33f49b22502a04"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f54b39a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f54b60b0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"696fb6174129e5bf7dde511a094d527e"} device-1 | {"level":"info","message":"GET /devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d? 200 11ms","method":"GET","requestID":"696fb6174129e5bf7dde511a094d527e","responseTime":11,"status":200,"url":"/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d? 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":"696fb6174129e5bf7dde511a094d527e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1271,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1271,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.766179,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"client_addr":"127.0.0.1:35132","level":"info","msg":"Received request.","req_id":1272,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f54b39a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072607,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwN30.SpW3563KTpR6M5FT2gP6yJRuQnyWwAsPKcMFjQDWaLU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f54b39a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35132","level":"info","msg":"Sent response.","req_id":1272,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.630235,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f54b60b0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072607,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwN30.SpW3563KTpR6M5FT2gP6yJRuQnyWwAsPKcMFjQDWaLU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f54b60b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwN30.SpW3563KTpR6M5FT2gP6yJRuQnyWwAsPKcMFjQDWaLU","level":"info","message":"auth send jwt","requestID":"03c817ec4a4b8ff1c3697554802cf0e6"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"03c817ec4a4b8ff1c3697554802cf0e6","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"03c817ec4a4b8ff1c3697554802cf0e6"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F65f65eac-4246-42cc-b9d3-c7536c4a3c8d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F65f65eac-4246-42cc-b9d3-c7536c4a3c8d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:45.407706498Z"}]},"request_id":"d599bac3-a310-4185-9d7e-a925ed0a9fa9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072607.8116837} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F770cedc7-0122-42ab-b64e-5299cbb3cf2f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F770cedc7-0122-42ab-b64e-5299cbb3cf2f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:45.451806071Z"}]},"request_id":"7fae4605-768e-4ac0-8eef-5d239750f9d3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072607.812173} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f54b39a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"f54b60b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1273,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1273,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.658489,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"03c817ec4a4b8ff1c3697554802cf0e6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072607,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwN30.SpW3563KTpR6M5FT2gP6yJRuQnyWwAsPKcMFjQDWaLU"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"03c817ec4a4b8ff1c3697554802cf0e6","responseTime":2,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f54b39a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F770cedc7-0122-42ab-b64e-5299cbb3cf2f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F770cedc7-0122-42ab-b64e-5299cbb3cf2f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:45.451806071Z"}]},"request_id":"b07c0664-09fb-490e-939a-e153bc37cc98","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072607.8175876} device-1 | {"level":"info","message":"GET /devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d? 200 15ms","method":"GET","requestID":"f54b39a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f54b60b0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"03c817ec4a4b8ff1c3697554802cf0e6","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f? 200 15ms","method":"GET","requestID":"f54b60b0-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64"},"level":"info","message":"Building connection plan","requestID":"b9ec65ff98d979005c33f49b22502a04"} 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":"e6cae11f-417a-426a-8dd3-3f0ecbc552de"},{"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":"e5fdb77c-4c14-4f39-ad63-cbce1a36bf8b"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"762df03e-9147-4438-8d41-d0452c698a40"}]},"level":"info","message":"Built pairwise service configurations","requestID":"b9ec65ff98d979005c33f49b22502a04"} 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":["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/770cedc7-0122-42ab-b64e-5299cbb3cf2f"},{"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/65f65eac-4246-42cc-b9d3-c7536c4a3c8d"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"b9ec65ff98d979005c33f49b22502a04"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"f54df8c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"03c817ec4a4b8ff1c3697554802cf0e6"} gateway-1 | {"time_local":"16/Oct/2024:09:56:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f? 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":"03c817ec4a4b8ff1c3697554802cf0e6"} device-1 | {"level":"info","message":"GET /devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f? 200 12ms","method":"GET","requestID":"03c817ec4a4b8ff1c3697554802cf0e6","responseTime":12,"status":200,"url":"/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1274,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1274,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.681391,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f54df8c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072607,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYwN30.SpW3563KTpR6M5FT2gP6yJRuQnyWwAsPKcMFjQDWaLU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f54df8c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"0c6bb7f9-a85a-4c83-81ee-72e4316ee3aa","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072607.8306084} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4e5e6dd4-2c46-4e95-90cb-e578a224c798","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072607.830896} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"f54df8c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"f54df8c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"f54df8c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/ac359e48-4fcb-4c91-92b3-06246c4c092b'","requestID":"f54df8c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/ac359e48-4fcb-4c91-92b3-06246c4c092b'","requestID":"f54df8c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"f54df8c0-8ba4-11ef-a62f-5f7f958aa687"} 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":"f54df8c0-8ba4-11ef-a62f-5f7f958aa687","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":"f54df8c0-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"b9ec65ff98d979005c33f49b22502a04"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f55572d0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1275,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F65f65eac-4246-42cc-b9d3-c7536c4a3c8d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"71e0b032-3062-4cf0-a89c-eee982218361","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072607.8738863} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1275,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.609622,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f55572d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d","object_type":"device","rebac_allow":false,"scope_allow":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":"f55572d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f55572d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d/signaling 200 8ms","method":"POST","requestID":"f55572d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f556f970-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1276,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F770cedc7-0122-42ab-b64e-5299cbb3cf2f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"88de7d77-8f0d-41b6-91cb-c659464afa74","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072607.8832269} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1276,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.566498,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:47Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f556f970-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f","object_type":"device","rebac_allow":false,"scope_allow":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":"f556f970-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f556f970-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f/signaling 200 8ms","method":"POST","requestID":"f556f970-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f/signaling"} device-1 | {"device":"770cedc7-0122-42ab-b64e-5299cbb3cf2f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"770cedc7-0122-42ab-b64e-5299cbb3cf2f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"123a839d-ad5e-4b65-8b4a-c731d4e59b19\" in room \"http://localhost/rooms/2edd121b-3824-483f-aefe-eaca36b39bd8\"","requestID":"e402f070-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"e778ca24-1176-4e45-a8dc-1df47d1f36f9\" in room \"http://localhost/rooms/2edd121b-3824-483f-aefe-eaca36b39bd8\"","requestID":"e4033e90-8ba4-11ef-a042-213954f0282b"} device-1 | {"device":"65f65eac-4246-42cc-b9d3-c7536c4a3c8d","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":"ac359e48-4fcb-4c91-92b3-06246c4c092b","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 4329808708374745025 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:BHjz\r\na=ice-pwd:mHn/IqzEgDGocA33UG0rrF9q\r\na=ice-options:trickle\r\na=fingerprint:sha-256 57:24:A5:D3:2F:7F:D8:62:B2:79:71:0C:B2:27:CC:98:9E:D3:E2:83:4E:19:A0:1B:32:60:C5:4A:54:E7:F3:EC\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"770cedc7-0122-42ab-b64e-5299cbb3cf2f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:341531864 1 udp 2113937151 b3922cfd-94cb-4974-8ba3-91b89f2136f2.local 52197 typ host generation 0 ufrag BHjz network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"770cedc7-0122-42ab-b64e-5299cbb3cf2f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"770cedc7-0122-42ab-b64e-5299cbb3cf2f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:2272329163 1 udp 1677729535 141.24.211.56 52197 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag BHjz network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"770cedc7-0122-42ab-b64e-5299cbb3cf2f","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/ac359e48-4fcb-4c91-92b3-06246c4c092b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"ac359e48-4fcb-4c91-92b3-06246c4c092b","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"65f65eac-4246-42cc-b9d3-c7536c4a3c8d","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":"65f65eac-4246-42cc-b9d3-c7536c4a3c8d","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":"65f65eac-4246-42cc-b9d3-c7536c4a3c8d","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":"72ec89b24fb435cc1afc33d951d0a26c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"770cedc7-0122-42ab-b64e-5299cbb3cf2f","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/770cedc7-0122-42ab-b64e-5299cbb3cf2f'"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"72ec89b24fb435cc1afc33d951d0a26c","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":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f"},{"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/65f65eac-4246-42cc-b9d3-c7536c4a3c8d"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/ac359e48-4fcb-4c91-92b3-06246c4c092b"}}},"level":"info","message":"received a callback","requestID":"72ec89b24fb435cc1afc33d951d0a26c"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 7ms","method":"POST","requestID":"72ec89b24fb435cc1afc33d951d0a26c","responseTime":7,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.009","http_referrer":"","http_user_agent":"node-fetch","requestID":"72ec89b24fb435cc1afc33d951d0a26c"} device-1 | {"data":{"peerconnection":"ac359e48-4fcb-4c91-92b3-06246c4c092b","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"65f65eac-4246-42cc-b9d3-c7536c4a3c8d","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":"770cedc7-0122-42ab-b64e-5299cbb3cf2f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"65f65eac-4246-42cc-b9d3-c7536c4a3c8d","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":"ac359e48-4fcb-4c91-92b3-06246c4c092b","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"770cedc7-0122-42ab-b64e-5299cbb3cf2f","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/ac359e48-4fcb-4c91-92b3-06246c4c092b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"ac359e48-4fcb-4c91-92b3-06246c4c092b","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2b8040f4586f4cb20f435b1c64688bcc","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"2b8040f4586f4cb20f435b1c64688bcc","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":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f"},{"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/65f65eac-4246-42cc-b9d3-c7536c4a3c8d"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/ac359e48-4fcb-4c91-92b3-06246c4c092b"}}},"level":"info","message":"received a callback","requestID":"2b8040f4586f4cb20f435b1c64688bcc"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"f6940d50-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1277,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:49Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fac359e48-4fcb-4c91-92b3-06246c4c092b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"71e4071e-db21-4017-a908-8b30ccf3b771","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072609.9624813} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1277,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.525692,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/ac359e48-4fcb-4c91-92b3-06246c4c092b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f6940d50-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/ac359e48-4fcb-4c91-92b3-06246c4c092b","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":"f6940d50-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"f6940d50-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/ac359e48-4fcb-4c91-92b3-06246c4c092b 200 8ms","method":"GET","requestID":"f6940d50-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/peerconnections/ac359e48-4fcb-4c91-92b3-06246c4c092b"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 36ms","method":"POST","requestID":"2b8040f4586f4cb20f435b1c64688bcc","responseTime":36,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.040","http_referrer":"","http_user_agent":"node-fetch","requestID":"2b8040f4586f4cb20f435b1c64688bcc"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f698c840-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1278,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:49Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F770cedc7-0122-42ab-b64e-5299cbb3cf2f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2162152d-87a4-4777-a5be-3176d2a244c7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072609.9930167} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1278,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.780296,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f698c840-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f","object_type":"device","rebac_allow":false,"scope_allow":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":"f698c840-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f698c840-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f/signaling 200 8ms","method":"POST","requestID":"f698c840-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f69a4ee0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1279,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:50Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F65f65eac-4246-42cc-b9d3-c7536c4a3c8d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d2e8dc4a-223b-450b-aa92-34cdd456707d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072610.0022924} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1279,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.101978,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f69a4ee0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d","object_type":"device","rebac_allow":false,"scope_allow":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":"f69a4ee0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f69a4ee0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d/signaling 200 8ms","method":"POST","requestID":"f69a4ee0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMH0.h7StLaQlr0jweLm5eQOMBup_7aAh0IKbXNDzdKhOCgI","level":"info","message":"auth send jwt","requestID":"c83186dfb7fb4736125354fdfdc9e9bd"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"c83186dfb7fb4736125354fdfdc9e9bd","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64","requestID":"c83186dfb7fb4736125354fdfdc9e9bd"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1280,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:50Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1280,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.56341,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c83186dfb7fb4736125354fdfdc9e9bd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072610,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMH0.h7StLaQlr0jweLm5eQOMBup_7aAh0IKbXNDzdKhOCgI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"c83186dfb7fb4736125354fdfdc9e9bd","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64","requestID":"c83186dfb7fb4736125354fdfdc9e9bd"} gateway-1 | {"time_local":"16/Oct/2024:09:56:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64 HTTP/1.1","status": "200","body_bytes_sent":"1289","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c83186dfb7fb4736125354fdfdc9e9bd"} experiment-1 | {"level":"info","message":"GET /experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64 200 15ms","method":"GET","requestID":"c83186dfb7fb4736125354fdfdc9e9bd","responseTime":15,"status":200,"url":"/experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMH0.h7StLaQlr0jweLm5eQOMBup_7aAh0IKbXNDzdKhOCgI","level":"info","message":"auth send jwt","requestID":"b964dcdbb79c75c530343a477d9a4a86"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"b964dcdbb79c75c530343a477d9a4a86","responseTime":6,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64","requestID":"b964dcdbb79c75c530343a477d9a4a86"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1281,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:50Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1281,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.454966,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:50Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b964dcdbb79c75c530343a477d9a4a86","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072610,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMH0.h7StLaQlr0jweLm5eQOMBup_7aAh0IKbXNDzdKhOCgI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b964dcdbb79c75c530343a477d9a4a86","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64"},"level":"info","message":"Attempting to finish experiment","requestID":"b964dcdbb79c75c530343a477d9a4a86"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"f6a94300-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1282,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:50Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1282,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.138513,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:50Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/ac359e48-4fcb-4c91-92b3-06246c4c092b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f6a94300-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/ac359e48-4fcb-4c91-92b3-06246c4c092b","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072610,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMH0.h7StLaQlr0jweLm5eQOMBup_7aAh0IKbXNDzdKhOCgI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f6a94300-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/ac359e48-4fcb-4c91-92b3-06246c4c092b","device":"770cedc7-0122-42ab-b64e-5299cbb3cf2f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"65f65eac-4246-42cc-b9d3-c7536c4a3c8d","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":"65f65eac-4246-42cc-b9d3-c7536c4a3c8d","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":"65f65eac-4246-42cc-b9d3-c7536c4a3c8d","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/ac359e48-4fcb-4c91-92b3-06246c4c092b' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/ac359e48-4fcb-4c91-92b3-06246c4c092b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"ac359e48-4fcb-4c91-92b3-06246c4c092b","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fac359e48-4fcb-4c91-92b3-06246c4c092b': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fac359e48-4fcb-4c91-92b3-06246c4c092b","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"5b658964-3786-4a31-a783-04b1f57a5a22","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072610.1205482} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5a4b49fe-0e12-40c0-8e88-768855c47fef","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072610.1209316} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a1f1ac2b3e45a8eb0deefe94f6343ada","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"f6a94300-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"a1f1ac2b3e45a8eb0deefe94f6343ada","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"5b03fe330b4ae04c4cf71ee16301302c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":["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/770cedc7-0122-42ab-b64e-5299cbb3cf2f"},{"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/65f65eac-4246-42cc-b9d3-c7536c4a3c8d"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/ac359e48-4fcb-4c91-92b3-06246c4c092b"}}},"level":"info","message":"received a callback","requestID":"a1f1ac2b3e45a8eb0deefe94f6343ada"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"5b03fe330b4ae04c4cf71ee16301302c","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":["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/770cedc7-0122-42ab-b64e-5299cbb3cf2f"},{"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/65f65eac-4246-42cc-b9d3-c7536c4a3c8d"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/ac359e48-4fcb-4c91-92b3-06246c4c092b"}}},"level":"info","message":"received a callback","requestID":"5b03fe330b4ae04c4cf71ee16301302c"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"f6a94300-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/ac359e48-4fcb-4c91-92b3-06246c4c092b 204 33ms","method":"DELETE","requestID":"f6a94300-8ba4-11ef-a62f-5f7f958aa687","responseTime":33,"status":204,"url":"/peerconnections/ac359e48-4fcb-4c91-92b3-06246c4c092b"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64"},"level":"info","message":"Successfully finished experiment","requestID":"b964dcdbb79c75c530343a477d9a4a86"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f6b1ce80-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1283,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:50Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F770cedc7-0122-42ab-b64e-5299cbb3cf2f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"87abb240-2717-47e4-b532-2e78675cca4b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072610.159714} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1283,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.327117,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f6b1ce80-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f","object_type":"device","rebac_allow":false,"scope_allow":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":"f6b1ce80-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5e28d5ec-4779-4678-953a-c90c78ef8a64': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5e28d5ec-4779-4678-953a-c90c78ef8a64","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"62e3c5ef-bd34-406c-9c3c-1336fa459c99","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072610.16561} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7ec8fb1e-4054-420f-b7b2-3ebcc7213342","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072610.1660597} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f6b1ce80-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f/signaling 200 16ms","method":"POST","requestID":"f6b1ce80-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"b964dcdbb79c75c530343a477d9a4a86","responseTime":18,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f6b48da0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1284,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:50Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F65f65eac-4246-42cc-b9d3-c7536c4a3c8d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"32111250-0a60-4441-9def-724d5608b12e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072610.176537} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1284,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.019531,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f6b48da0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d","object_type":"device","rebac_allow":false,"scope_allow":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":"f6b48da0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f6b48da0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d/signaling 200 13ms","method":"POST","requestID":"f6b48da0-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/65f65eac-4246-42cc-b9d3-c7536c4a3c8d/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64","requestID":"b964dcdbb79c75c530343a477d9a4a86"} gateway-1 | {"time_local":"16/Oct/2024:09:56:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64 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":"b964dcdbb79c75c530343a477d9a4a86"} experiment-1 | {"level":"info","message":"DELETE /experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64 204 153ms","method":"DELETE","requestID":"b964dcdbb79c75c530343a477d9a4a86","responseTime":153,"status":204,"url":"/experiments/5e28d5ec-4779-4678-953a-c90c78ef8a64"} gateway-1 | {"time_local":"16/Oct/2024:09:56:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3232","request_time":"4.240","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"164ca6c3a89cb881174e312120d6d3de"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 111ms","method":"POST","requestID":"a1f1ac2b3e45a8eb0deefe94f6343ada","responseTime":111,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.116","http_referrer":"","http_user_agent":"node-fetch","requestID":"a1f1ac2b3e45a8eb0deefe94f6343ada"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 111ms","method":"POST","requestID":"5b03fe330b4ae04c4cf71ee16301302c","responseTime":111,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.118","http_referrer":"","http_user_agent":"node-fetch","requestID":"5b03fe330b4ae04c4cf71ee16301302c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMH0.h7StLaQlr0jweLm5eQOMBup_7aAh0IKbXNDzdKhOCgI","level":"info","message":"auth send jwt","requestID":"82d4ebf28b10ae59cff3dbaca3ee8156"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"82d4ebf28b10ae59cff3dbaca3ee8156","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"82d4ebf28b10ae59cff3dbaca3ee8156"} gateway-1 | {"time_local":"16/Oct/2024:09:56:50 +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.742","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"85a3f2f4cffbb9d3179dd25b35e48f1d"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1285,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:50Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1285,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.959115,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:50Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"82d4ebf28b10ae59cff3dbaca3ee8156","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072610,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMH0.h7StLaQlr0jweLm5eQOMBup_7aAh0IKbXNDzdKhOCgI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"82d4ebf28b10ae59cff3dbaca3ee8156","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/65f65eac-4246-42cc-b9d3-c7536c4a3c8d' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43158e50-bb1d-44cb-b7de-b0974a0e136b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"f8782cdb-6bc2-415e-9e92-4e9426945c0b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072610.270164} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"82d4ebf28b10ae59cff3dbaca3ee8156","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"17eb89ea-0dcb-4bdd-9fbb-29092aa10d24","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072610.275381} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/770cedc7-0122-42ab-b64e-5299cbb3cf2f' closed"} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"82d4ebf28b10ae59cff3dbaca3ee8156","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43158e50-bb1d-44cb-b7de-b0974a0e136b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"5732f496-2a6d-45ba-9609-0009f852b0b3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072610.2836483} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f59c47f7-fe94-41f8-8dff-cccad7c77019","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072610.2838466} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"82d4ebf28b10ae59cff3dbaca3ee8156","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43158e50-bb1d-44cb-b7de-b0974a0e136b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43158e50-bb1d-44cb-b7de-b0974a0e136b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:50.283607963Z"}]},"request_id":"6baf1689-ab7c-41b5-8b4f-dfca56a58856","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072610.288026} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"82d4ebf28b10ae59cff3dbaca3ee8156","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"82d4ebf28b10ae59cff3dbaca3ee8156"} device-1 | {"level":"info","message":"POST /devices? 201 48ms","method":"POST","requestID":"82d4ebf28b10ae59cff3dbaca3ee8156","responseTime":48,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.056","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"82d4ebf28b10ae59cff3dbaca3ee8156"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMH0.h7StLaQlr0jweLm5eQOMBup_7aAh0IKbXNDzdKhOCgI","level":"info","message":"auth send jwt","requestID":"c49f52dd04599d4483d92f4a83587a5d"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c49f52dd04599d4483d92f4a83587a5d","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"c49f52dd04599d4483d92f4a83587a5d"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1286,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:50Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1286,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.78662,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:50Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c49f52dd04599d4483d92f4a83587a5d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072610,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMH0.h7StLaQlr0jweLm5eQOMBup_7aAh0IKbXNDzdKhOCgI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c49f52dd04599d4483d92f4a83587a5d","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"23acb244-2e56-4d6b-a094-fcaed49c1538","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072610.3112707} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c49f52dd04599d4483d92f4a83587a5d","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"31f336d9-62b1-4682-af6a-9d0b454c3340","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072610.3154614} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"c49f52dd04599d4483d92f4a83587a5d","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"dfc14554-95b5-4600-b8fa-fae4cf42f385","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072610.3310459} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"656d08d2-fcf1-4837-aea3-f3235eeb58c6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072610.3311913} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"c49f52dd04599d4483d92f4a83587a5d","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:50.331012681Z"}]},"request_id":"0668a47d-be57-4dbc-8ff7-c3160b1e4092","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072610.3354847} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c49f52dd04599d4483d92f4a83587a5d","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"c49f52dd04599d4483d92f4a83587a5d"} device-1 | {"level":"info","message":"POST /devices? 201 41ms","method":"POST","requestID":"c49f52dd04599d4483d92f4a83587a5d","responseTime":41,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.046","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c49f52dd04599d4483d92f4a83587a5d"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMH0.h7StLaQlr0jweLm5eQOMBup_7aAh0IKbXNDzdKhOCgI","level":"info","message":"auth send jwt","requestID":"ba4f40c8589efb27089b80512cf00287"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ba4f40c8589efb27089b80512cf00287","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"ba4f40c8589efb27089b80512cf00287"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1287,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:50Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1287,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.88427,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:50Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ba4f40c8589efb27089b80512cf00287","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072610,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMH0.h7StLaQlr0jweLm5eQOMBup_7aAh0IKbXNDzdKhOCgI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ba4f40c8589efb27089b80512cf00287","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43158e50-bb1d-44cb-b7de-b0974a0e136b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43158e50-bb1d-44cb-b7de-b0974a0e136b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:50.283607963Z"}]},"request_id":"c0ba4837-7d9f-42ac-8335-965890aac56e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072610.8203504} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ba4f40c8589efb27089b80512cf00287","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f213b179-7ce2-4399-88b9-b248c543232a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072610.8258252} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"ba4f40c8589efb27089b80512cf00287","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43158e50-bb1d-44cb-b7de-b0974a0e136b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43158e50-bb1d-44cb-b7de-b0974a0e136b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:50.283607963Z"}]},"request_id":"f7c485e8-c560-4101-93a3-4ec8315f9be9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072610.838946} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ba4f40c8589efb27089b80512cf00287","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"ba4f40c8589efb27089b80512cf00287"} gateway-1 | {"time_local":"16/Oct/2024:09:56:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/43158e50-bb1d-44cb-b7de-b0974a0e136b HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.037","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"ba4f40c8589efb27089b80512cf00287"} device-1 | {"level":"info","message":"PATCH /devices/43158e50-bb1d-44cb-b7de-b0974a0e136b 200 33ms","method":"PATCH","requestID":"ba4f40c8589efb27089b80512cf00287","responseTime":33,"status":200,"url":"/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMH0.h7StLaQlr0jweLm5eQOMBup_7aAh0IKbXNDzdKhOCgI","level":"info","message":"auth send jwt","requestID":"02910f1232afb48ac0c5c17f4c187741"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"02910f1232afb48ac0c5c17f4c187741","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"02910f1232afb48ac0c5c17f4c187741"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1288,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:50Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1288,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.647277,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:50Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"02910f1232afb48ac0c5c17f4c187741","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072610,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMH0.h7StLaQlr0jweLm5eQOMBup_7aAh0IKbXNDzdKhOCgI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"02910f1232afb48ac0c5c17f4c187741","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"02910f1232afb48ac0c5c17f4c187741"} gateway-1 | {"time_local":"16/Oct/2024:09:56:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/43158e50-bb1d-44cb-b7de-b0974a0e136b/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.10","requestID":"02910f1232afb48ac0c5c17f4c187741"} device-1 | {"level":"info","message":"POST /devices/43158e50-bb1d-44cb-b7de-b0974a0e136b/websocket 200 19ms","method":"POST","requestID":"02910f1232afb48ac0c5c17f4c187741","responseTime":19,"status":200,"url":"/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b' connected"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"13dc995c-747c-4491-a752-6ad052621a7c\" in room \"http://localhost/rooms/c051b74f-8b53-4a76-8dfc-76f6c8ea3da4\"","requestID":"e5aa37d0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"751d37ad-b0ec-4452-9519-91e6c40158db\" in room \"http://localhost/rooms/c051b74f-8b53-4a76-8dfc-76f6c8ea3da4\"","requestID":"e5aa85f0-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"208b1697f3f31df393477ec648ce70d9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"208b1697f3f31df393477ec648ce70d9","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd/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":"208b1697f3f31df393477ec648ce70d9"} device-1 | {"level":"info","message":"OPTIONS /devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd/websocket 200 1ms","method":"OPTIONS","requestID":"208b1697f3f31df393477ec648ce70d9","responseTime":1,"status":200,"url":"/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMn0.6Jbqq5_6r5NhsVh4ykLdrDR6FMR1-_yKhK6_ifogXQ8","level":"info","message":"auth send jwt","requestID":"f3e03c4f601cc8596e1bfa52c4323e03"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"f3e03c4f601cc8596e1bfa52c4323e03","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"f3e03c4f601cc8596e1bfa52c4323e03"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1289,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1289,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.110359,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f3e03c4f601cc8596e1bfa52c4323e03","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072612,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMn0.6Jbqq5_6r5NhsVh4ykLdrDR6FMR1-_yKhK6_ifogXQ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f3e03c4f601cc8596e1bfa52c4323e03","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"f3e03c4f601cc8596e1bfa52c4323e03"} gateway-1 | {"time_local":"16/Oct/2024:09:56:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd/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":"f3e03c4f601cc8596e1bfa52c4323e03"} device-1 | {"level":"info","message":"POST /devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd/websocket 200 21ms","method":"POST","requestID":"f3e03c4f601cc8596e1bfa52c4323e03","responseTime":21,"status":200,"url":"/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"897ac9400d725d4ba2f867d4dac636f2","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"897ac9400d725d4ba2f867d4dac636f2","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd? 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":"897ac9400d725d4ba2f867d4dac636f2"} device-1 | {"level":"info","message":"OPTIONS /devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd? 200 1ms","method":"OPTIONS","requestID":"897ac9400d725d4ba2f867d4dac636f2","responseTime":1,"status":200,"url":"/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMn0.6Jbqq5_6r5NhsVh4ykLdrDR6FMR1-_yKhK6_ifogXQ8","level":"info","message":"auth send jwt","requestID":"078c061076e8da599c6b62b9ca4566d4"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"078c061076e8da599c6b62b9ca4566d4","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"078c061076e8da599c6b62b9ca4566d4"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1290,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1290,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.678484,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"078c061076e8da599c6b62b9ca4566d4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072612,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMn0.6Jbqq5_6r5NhsVh4ykLdrDR6FMR1-_yKhK6_ifogXQ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"078c061076e8da599c6b62b9ca4566d4","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:50.331012681Z"}]},"request_id":"56520dfd-b567-4aaf-a2b6-6669b01fc79b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072612.452518} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"078c061076e8da599c6b62b9ca4566d4","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"deb29751-06c1-44c8-a223-47ae137615ab","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072612.4586744} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"078c061076e8da599c6b62b9ca4566d4","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:50.331012681Z"}]},"request_id":"b5dadfcb-b824-488d-b6c9-ab30205fc538","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072612.47232} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"078c061076e8da599c6b62b9ca4566d4","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"078c061076e8da599c6b62b9ca4566d4"} gateway-1 | {"time_local":"16/Oct/2024:09:56:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd? 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":"078c061076e8da599c6b62b9ca4566d4"} device-1 | {"level":"info","message":"PATCH /devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd? 200 35ms","method":"PATCH","requestID":"078c061076e8da599c6b62b9ca4566d4","responseTime":35,"status":200,"url":"/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMn0.6Jbqq5_6r5NhsVh4ykLdrDR6FMR1-_yKhK6_ifogXQ8","level":"info","message":"auth send jwt","requestID":"ccd280257da1b8fcca751eabfe66cb71"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ccd280257da1b8fcca751eabfe66cb71","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ccd280257da1b8fcca751eabfe66cb71"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1291,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1291,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.213722,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ccd280257da1b8fcca751eabfe66cb71","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072612,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMn0.6Jbqq5_6r5NhsVh4ykLdrDR6FMR1-_yKhK6_ifogXQ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ccd280257da1b8fcca751eabfe66cb71","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43158e50-bb1d-44cb-b7de-b0974a0e136b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43158e50-bb1d-44cb-b7de-b0974a0e136b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:50.283607963Z"}]},"request_id":"15056283-2a95-40c8-a350-8525a139feca","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072612.501088} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ccd280257da1b8fcca751eabfe66cb71","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ccd280257da1b8fcca751eabfe66cb71"} device-1 | {"level":"info","message":"GET /devices/43158e50-bb1d-44cb-b7de-b0974a0e136b? 200 16ms","method":"GET","requestID":"ccd280257da1b8fcca751eabfe66cb71","responseTime":16,"status":200,"url":"/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/43158e50-bb1d-44cb-b7de-b0974a0e136b? 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":"ccd280257da1b8fcca751eabfe66cb71"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMn0.6Jbqq5_6r5NhsVh4ykLdrDR6FMR1-_yKhK6_ifogXQ8","level":"info","message":"auth send jwt","requestID":"c2afae9d396bb10dd30b5eb67c583c2f"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c2afae9d396bb10dd30b5eb67c583c2f","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c2afae9d396bb10dd30b5eb67c583c2f"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1292,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1292,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.149832,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c2afae9d396bb10dd30b5eb67c583c2f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072612,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMn0.6Jbqq5_6r5NhsVh4ykLdrDR6FMR1-_yKhK6_ifogXQ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c2afae9d396bb10dd30b5eb67c583c2f","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:50.331012681Z"}]},"request_id":"45da5b5d-e2d2-43ec-853f-ef8cd60cc96d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072612.524958} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c2afae9d396bb10dd30b5eb67c583c2f","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c2afae9d396bb10dd30b5eb67c583c2f"} gateway-1 | {"time_local":"16/Oct/2024:09:56:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd? 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":"c2afae9d396bb10dd30b5eb67c583c2f"} device-1 | {"level":"info","message":"GET /devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd? 200 16ms","method":"GET","requestID":"c2afae9d396bb10dd30b5eb67c583c2f","responseTime":16,"status":200,"url":"/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMn0.6Jbqq5_6r5NhsVh4ykLdrDR6FMR1-_yKhK6_ifogXQ8","level":"info","message":"auth send jwt","requestID":"b36317e98e3eddabb3ff0b697502ec1a"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"b36317e98e3eddabb3ff0b697502ec1a","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"b36317e98e3eddabb3ff0b697502ec1a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1293,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1293,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.847839,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b36317e98e3eddabb3ff0b697502ec1a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072612,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMn0.6Jbqq5_6r5NhsVh4ykLdrDR6FMR1-_yKhK6_ifogXQ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b36317e98e3eddabb3ff0b697502ec1a","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7"},"level":"info","message":"Attempting to run experiment","requestID":"b36317e98e3eddabb3ff0b697502ec1a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7"},"level":"info","message":"Attempting to book experiment","requestID":"b36317e98e3eddabb3ff0b697502ec1a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7"},"level":"info","message":"Successfully booked experiment","requestID":"b36317e98e3eddabb3ff0b697502ec1a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f8242330-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f8244a40-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1294,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1294,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.617136,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f8242330-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072612,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMn0.6Jbqq5_6r5NhsVh4ykLdrDR6FMR1-_yKhK6_ifogXQ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f8242330-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Received request.","req_id":1295,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Sent response.","req_id":1295,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.002882,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f8244a40-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072612,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMn0.6Jbqq5_6r5NhsVh4ykLdrDR6FMR1-_yKhK6_ifogXQ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"f8244a40-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43158e50-bb1d-44cb-b7de-b0974a0e136b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43158e50-bb1d-44cb-b7de-b0974a0e136b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:50.283607963Z"}]},"request_id":"72661b31-0e98-46e7-a6c0-891a499fa842","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072612.587748} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f8242330-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:50.331012681Z"}]},"request_id":"dcac6e06-af25-4c98-bced-a778a22f194e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072612.5910978} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f8242330-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"f8244a40-8ba4-11ef-a62f-5f7f958aa687","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/43158e50-bb1d-44cb-b7de-b0974a0e136b? 200 13ms","method":"GET","requestID":"f8242330-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f8244a40-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd? 200 16ms","method":"GET","requestID":"f8244a40-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7"},"level":"info","message":"Setting up experiment","requestID":"b36317e98e3eddabb3ff0b697502ec1a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"b36317e98e3eddabb3ff0b697502ec1a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7"},"level":"info","message":"Successfully locked booking for experiment","requestID":"b36317e98e3eddabb3ff0b697502ec1a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"b36317e98e3eddabb3ff0b697502ec1a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"b36317e98e3eddabb3ff0b697502ec1a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7"},"level":"info","message":"Attempting to update booking for experiment","requestID":"b36317e98e3eddabb3ff0b697502ec1a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7"},"level":"info","message":"Successfully updated booking for experiment","requestID":"b36317e98e3eddabb3ff0b697502ec1a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7"},"level":"info","message":"Successfully set up experiment","requestID":"b36317e98e3eddabb3ff0b697502ec1a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f82e3550-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f82e8370-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f82ed190-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7"},"level":"info","message":"Successfully running experiment","requestID":"b36317e98e3eddabb3ff0b697502ec1a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1296,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1296,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.370271,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Received request.","req_id":1297,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f82e3550-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072612,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMn0.6Jbqq5_6r5NhsVh4ykLdrDR6FMR1-_yKhK6_ifogXQ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"f82e3550-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Sent response.","req_id":1297,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.67808,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f82e8370-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072612,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMn0.6Jbqq5_6r5NhsVh4ykLdrDR6FMR1-_yKhK6_ifogXQ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"f82e8370-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:40748","level":"info","msg":"Received request.","req_id":1298,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56: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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:50.331012681Z"}]},"request_id":"b3b4e471-8f25-4ce5-9c8f-351adf4547bf","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072612.6622152} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43158e50-bb1d-44cb-b7de-b0974a0e136b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"adba6b36-8891-4415-ba04-bba9b24f716e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072612.6623945} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f82e8370-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43158e50-bb1d-44cb-b7de-b0974a0e136b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43158e50-bb1d-44cb-b7de-b0974a0e136b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:50.283607963Z"}]},"request_id":"fa3071fe-5451-4db3-8f88-a17fde67a30f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072612.6638744} authorization-1 | {"client_addr":"127.0.0.1:40748","level":"info","msg":"Sent response.","req_id":1298,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.470705,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f82ed190-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 14ms","method":"POST","requestID":"f82ed190-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"f82e3550-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f82e8370-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd? 200 24ms","method":"GET","requestID":"f82e8370-8ba4-11ef-a62f-5f7f958aa687","responseTime":24,"status":200,"url":"/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f82ed190-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/43158e50-bb1d-44cb-b7de-b0974a0e136b/signaling 200 23ms","method":"POST","requestID":"f82ed190-8ba4-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f82e3550-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/43158e50-bb1d-44cb-b7de-b0974a0e136b? 200 29ms","method":"GET","requestID":"f82e3550-8ba4-11ef-a62f-5f7f958aa687","responseTime":29,"status":200,"url":"/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F3b8732ab-abcd-4343-bcc3-951bb6756bb7#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F3b8732ab-abcd-4343-bcc3-951bb6756bb7","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"a781a278-46c3-4bcf-bc24-72eaa4bc98f8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072612.6752303} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f832c930-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e31e6fc4-7462-46f4-9316-b8a093bf9df8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072612.675779} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f8331750-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"b36317e98e3eddabb3ff0b697502ec1a","responseTime":20,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1299,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Received request.","req_id":1300,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b4e15452-139f-48ae-a051-10eae87b06b8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072612.6818388} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1299,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.396909,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f832c930-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","object_type":"device","rebac_allow":false,"scope_allow":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":"f832c930-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"b36317e98e3eddabb3ff0b697502ec1a"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43158e50-bb1d-44cb-b7de-b0974a0e136b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0800bf43-bf01-451e-998d-2ed258b55b78","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072612.6828802} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Sent response.","req_id":1300,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.30675,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f8331750-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b","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 145ms","method":"POST","requestID":"b36317e98e3eddabb3ff0b697502ec1a","responseTime":145,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1216","request_time":"0.152","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b36317e98e3eddabb3ff0b697502ec1a"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f8331750-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f832c930-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd/signaling 200 13ms","method":"POST","requestID":"f832c930-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMn0.6Jbqq5_6r5NhsVh4ykLdrDR6FMR1-_yKhK6_ifogXQ8","level":"info","message":"auth send jwt","requestID":"30c2035b4a653c183ff456b6d3a73d6b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"30c2035b4a653c183ff456b6d3a73d6b","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f8331750-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/43158e50-bb1d-44cb-b7de-b0974a0e136b/signaling 200 12ms","method":"POST","requestID":"f8331750-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"30c2035b4a653c183ff456b6d3a73d6b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f8356140-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1301,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1301,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.748999,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Received request.","req_id":1302,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"30c2035b4a653c183ff456b6d3a73d6b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072612,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMn0.6Jbqq5_6r5NhsVh4ykLdrDR6FMR1-_yKhK6_ifogXQ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"30c2035b4a653c183ff456b6d3a73d6b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6f296c3f-2cc6-4761-ba63-c2dc16153408","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072612.696282} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Sent response.","req_id":1302,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.43248,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f8356140-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","object_type":"device","rebac_allow":false,"scope_allow":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":"f8356140-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43158e50-bb1d-44cb-b7de-b0974a0e136b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43158e50-bb1d-44cb-b7de-b0974a0e136b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:50.283607963Z"}]},"request_id":"79c1bd56-32bc-4abd-8f22-ed49e6edf4ec","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072612.6995888} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f8356140-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"30c2035b4a653c183ff456b6d3a73d6b","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"POST /devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd/signaling 200 8ms","method":"POST","requestID":"f8356140-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"b36317e98e3eddabb3ff0b697502ec1a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f8370ef0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f8373600-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"30c2035b4a653c183ff456b6d3a73d6b"} gateway-1 | {"time_local":"16/Oct/2024:09:56:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/43158e50-bb1d-44cb-b7de-b0974a0e136b? 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":"30c2035b4a653c183ff456b6d3a73d6b"} device-1 | {"level":"info","message":"GET /devices/43158e50-bb1d-44cb-b7de-b0974a0e136b? 200 16ms","method":"GET","requestID":"30c2035b4a653c183ff456b6d3a73d6b","responseTime":16,"status":200,"url":"/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1303,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1303,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.661735,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Received request.","req_id":1304,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f8370ef0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072612,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMn0.6Jbqq5_6r5NhsVh4ykLdrDR6FMR1-_yKhK6_ifogXQ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f8370ef0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Sent response.","req_id":1304,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.110125,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f8373600-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072612,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMn0.6Jbqq5_6r5NhsVh4ykLdrDR6FMR1-_yKhK6_ifogXQ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f8373600-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMn0.6Jbqq5_6r5NhsVh4ykLdrDR6FMR1-_yKhK6_ifogXQ8","level":"info","message":"auth send jwt","requestID":"799024f37bb664ce40b50b6d8a178565"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"799024f37bb664ce40b50b6d8a178565","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"799024f37bb664ce40b50b6d8a178565"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43158e50-bb1d-44cb-b7de-b0974a0e136b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43158e50-bb1d-44cb-b7de-b0974a0e136b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:50.283607963Z"}]},"request_id":"d72961f0-4f31-4ba2-a020-929a9673cc3e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072612.7106524} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"f8370ef0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:50.331012681Z"}]},"request_id":"47c705d4-6d64-4adf-aa7b-12b4e98e0c08","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072612.7114847} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f8373600-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f8370ef0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/43158e50-bb1d-44cb-b7de-b0974a0e136b? 200 12ms","method":"GET","requestID":"f8370ef0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f8373600-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1305,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1305,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.057165,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:52Z"} device-1 | {"level":"info","message":"GET /devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd? 200 13ms","method":"GET","requestID":"f8373600-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"799024f37bb664ce40b50b6d8a178565","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072612,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMn0.6Jbqq5_6r5NhsVh4ykLdrDR6FMR1-_yKhK6_ifogXQ8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7"},"level":"info","message":"Building connection plan","requestID":"b36317e98e3eddabb3ff0b697502ec1a"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"799024f37bb664ce40b50b6d8a178565","responseTime":5,"status":200,"url":"/authorize"} 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":"45fee073-a3c8-4454-a4f6-ebece6bcedc2"},{"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":"3a50189b-bbbb-48c5-ab4f-44c7c33f4b6f"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"e917c278-7fc5-4630-9254-75909b4531d2"}]},"level":"info","message":"Built pairwise service configurations","requestID":"b36317e98e3eddabb3ff0b697502ec1a"} 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/43158e50-bb1d-44cb-b7de-b0974a0e136b"},{"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/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"b36317e98e3eddabb3ff0b697502ec1a"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"f8397ff0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:50.331012681Z"}]},"request_id":"681ff205-5043-4627-96bb-c26b9a858c29","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072612.7204423} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"799024f37bb664ce40b50b6d8a178565","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1306,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1306,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.632035,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f8397ff0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072612,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxMn0.6Jbqq5_6r5NhsVh4ykLdrDR6FMR1-_yKhK6_ifogXQ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"f8397ff0-8ba4-11ef-a62f-5f7f958aa687","responseTime":2,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"799024f37bb664ce40b50b6d8a178565"} gateway-1 | {"time_local":"16/Oct/2024:09:56:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd? 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":"799024f37bb664ce40b50b6d8a178565"} device-1 | {"level":"info","message":"GET /devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd? 200 15ms","method":"GET","requestID":"799024f37bb664ce40b50b6d8a178565","responseTime":15,"status":200,"url":"/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"adb48547-adbc-4153-af00-4db3fbca8a1e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072612.7300646} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"91c1890f-1316-4fca-aa39-4695c24bafb8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072612.7302866} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"f8397ff0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"f8397ff0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"f8397ff0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/bc8c9d97-d5dc-4a0e-8c3a-646287f72b69'","requestID":"f8397ff0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/bc8c9d97-d5dc-4a0e-8c3a-646287f72b69'","requestID":"f8397ff0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"f8397ff0-8ba4-11ef-a62f-5f7f958aa687"} 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":"f8397ff0-8ba4-11ef-a62f-5f7f958aa687","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":"f8397ff0-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"b36317e98e3eddabb3ff0b697502ec1a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f8412110-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1307,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43158e50-bb1d-44cb-b7de-b0974a0e136b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"20cf326a-08f1-4819-96ac-81705f56c175","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072612.773307} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1307,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.536544,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f8412110-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b","object_type":"device","rebac_allow":false,"scope_allow":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":"f8412110-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f8412110-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/43158e50-bb1d-44cb-b7de-b0974a0e136b/signaling 200 8ms","method":"POST","requestID":"f8412110-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f84280a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1308,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:52Z"} device-1 | {"device":"c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"473df965-ab35-47c5-9b16-2f769e06491d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072612.7830997} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1308,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.632118,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:52Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f84280a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","object_type":"device","rebac_allow":false,"scope_allow":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":"f84280a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f84280a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd/signaling 200 9ms","method":"POST","requestID":"f84280a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 3026561090859014320 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:VzTt\r\na=ice-pwd:i4cfEsccR2Gm6UJ2/Go0k8x3\r\na=ice-options:trickle\r\na=fingerprint:sha-256 2F:78:43:DF:47:21:92:E5:B6:54:1A:56:AE:B1:A7:EB:41:30:B6:73:69:12:27:15:E2:94:E1:D7:2B:1A:F9:F4\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"device":"c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"feaa96a2-2d30-4c04-993a-28ef692124ef\" in room \"http://localhost/rooms/2dbca2f3-7163-4526-8c63-4fe5b1acff1e\"","requestID":"e7574b90-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"b21673cf-13db-4a75-8fed-1404fa55ab25\" in room \"http://localhost/rooms/2dbca2f3-7163-4526-8c63-4fe5b1acff1e\"","requestID":"e757c0c0-8ba4-11ef-a042-213954f0282b"} device-1 | {"device":"43158e50-bb1d-44cb-b7de-b0974a0e136b","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":"bc8c9d97-d5dc-4a0e-8c3a-646287f72b69","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"43158e50-bb1d-44cb-b7de-b0974a0e136b","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":"43158e50-bb1d-44cb-b7de-b0974a0e136b","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":"43158e50-bb1d-44cb-b7de-b0974a0e136b","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":"43158e50-bb1d-44cb-b7de-b0974a0e136b","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/bc8c9d97-d5dc-4a0e-8c3a-646287f72b69' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"bc8c9d97-d5dc-4a0e-8c3a-646287f72b69","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"81ed80cb85f739f06af2176961b2527a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"81ed80cb85f739f06af2176961b2527a","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":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b"},{"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/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/bc8c9d97-d5dc-4a0e-8c3a-646287f72b69"}}},"level":"info","message":"received a callback","requestID":"81ed80cb85f739f06af2176961b2527a"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 9ms","method":"POST","requestID":"81ed80cb85f739f06af2176961b2527a","responseTime":9,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56:54 +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":"81ed80cb85f739f06af2176961b2527a"} device-1 | {"content":{"candidate":"candidate:2503794154 1 udp 2113937151 6c30e192-b950-40b3-a66f-aa019b843cbd.local 39252 typ host generation 0 ufrag VzTt network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:286373781 1 udp 1677729535 141.24.211.56 39252 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag VzTt network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1109133342 1 udp 33562623 141.24.210.113 55072 typ relay raddr 141.24.211.56 rport 39252 generation 0 ufrag VzTt network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","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/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd'"} device-1 | {"data":{"peerconnection":"bc8c9d97-d5dc-4a0e-8c3a-646287f72b69","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"43158e50-bb1d-44cb-b7de-b0974a0e136b","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":"c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"43158e50-bb1d-44cb-b7de-b0974a0e136b","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":"bc8c9d97-d5dc-4a0e-8c3a-646287f72b69","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/bc8c9d97-d5dc-4a0e-8c3a-646287f72b69' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"bc8c9d97-d5dc-4a0e-8c3a-646287f72b69","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"19a6dcdef4670f466aef41557e5c682b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"19a6dcdef4670f466aef41557e5c682b","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/43158e50-bb1d-44cb-b7de-b0974a0e136b"},{"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/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/bc8c9d97-d5dc-4a0e-8c3a-646287f72b69"}}},"level":"info","message":"received a callback","requestID":"19a6dcdef4670f466aef41557e5c682b"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"f982c8d0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1309,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:54Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fbc8c9d97-d5dc-4a0e-8c3a-646287f72b69","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ad450112-61d3-4a17-a13f-bb2157ea0d5c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072614.883216} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1309,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.380001,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:54Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/bc8c9d97-d5dc-4a0e-8c3a-646287f72b69","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f982c8d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/bc8c9d97-d5dc-4a0e-8c3a-646287f72b69","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":"f982c8d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"f982c8d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/bc8c9d97-d5dc-4a0e-8c3a-646287f72b69 200 10ms","method":"GET","requestID":"f982c8d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/peerconnections/bc8c9d97-d5dc-4a0e-8c3a-646287f72b69"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 37ms","method":"POST","requestID":"19a6dcdef4670f466aef41557e5c682b","responseTime":37,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56:54 +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":"19a6dcdef4670f466aef41557e5c682b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f98783c0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1310,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:54Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43158e50-bb1d-44cb-b7de-b0974a0e136b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bf7e61bf-0394-4796-b817-350e71d708aa","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072614.9144046} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1310,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.855288,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:54Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f98783c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b","object_type":"device","rebac_allow":false,"scope_allow":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":"f98783c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f98783c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/43158e50-bb1d-44cb-b7de-b0974a0e136b/signaling 200 10ms","method":"POST","requestID":"f98783c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f9897f90-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1311,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:54Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"07b9aef4-462d-4136-9e8b-67c5ca3b2968","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072614.9267073} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1311,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.03547,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:54Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f9897f90-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","object_type":"device","rebac_allow":false,"scope_allow":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":"f9897f90-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f9897f90-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd/signaling 200 11ms","method":"POST","requestID":"f9897f90-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNH0.SAr4oTfFbLZpkZg0CRiB9QpjRpgY_uLsLpiCaO_FLnI","level":"info","message":"auth send jwt","requestID":"1b6978ee113764da5c12d35d8411700d"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"1b6978ee113764da5c12d35d8411700d","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7","requestID":"1b6978ee113764da5c12d35d8411700d"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1312,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:54Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1312,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.057545,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:54Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"1b6978ee113764da5c12d35d8411700d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072614,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNH0.SAr4oTfFbLZpkZg0CRiB9QpjRpgY_uLsLpiCaO_FLnI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1b6978ee113764da5c12d35d8411700d","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7","requestID":"1b6978ee113764da5c12d35d8411700d"} gateway-1 | {"time_local":"16/Oct/2024:09:56:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7 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":"1b6978ee113764da5c12d35d8411700d"} experiment-1 | {"level":"info","message":"GET /experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7 200 14ms","method":"GET","requestID":"1b6978ee113764da5c12d35d8411700d","responseTime":14,"status":200,"url":"/experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNH0.SAr4oTfFbLZpkZg0CRiB9QpjRpgY_uLsLpiCaO_FLnI","level":"info","message":"auth send jwt","requestID":"ed812a0cf91519211593558fc1161a88"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"ed812a0cf91519211593558fc1161a88","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7","requestID":"ed812a0cf91519211593558fc1161a88"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1313,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:54Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1313,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.70533,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:54Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ed812a0cf91519211593558fc1161a88","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072614,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNH0.SAr4oTfFbLZpkZg0CRiB9QpjRpgY_uLsLpiCaO_FLnI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ed812a0cf91519211593558fc1161a88","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7"},"level":"info","message":"Attempting to finish experiment","requestID":"ed812a0cf91519211593558fc1161a88"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"f99650d0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1314,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1314,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.139349,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/bc8c9d97-d5dc-4a0e-8c3a-646287f72b69","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f99650d0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/bc8c9d97-d5dc-4a0e-8c3a-646287f72b69","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072614,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNH0.SAr4oTfFbLZpkZg0CRiB9QpjRpgY_uLsLpiCaO_FLnI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f99650d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/bc8c9d97-d5dc-4a0e-8c3a-646287f72b69","device":"c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"43158e50-bb1d-44cb-b7de-b0974a0e136b","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":"43158e50-bb1d-44cb-b7de-b0974a0e136b","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":"43158e50-bb1d-44cb-b7de-b0974a0e136b","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/bc8c9d97-d5dc-4a0e-8c3a-646287f72b69' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/bc8c9d97-d5dc-4a0e-8c3a-646287f72b69' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"bc8c9d97-d5dc-4a0e-8c3a-646287f72b69","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fbc8c9d97-d5dc-4a0e-8c3a-646287f72b69': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fbc8c9d97-d5dc-4a0e-8c3a-646287f72b69","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"5ceec867-1805-4a75-85a7-409fd5bd1ee1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.0271966} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5ad5139c-2a7c-42b3-8df0-2cd1d9df58cb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.0277076} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"f99650d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4a9989e8d8caaa2ffb7093ac7e0e7377","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"4a9989e8d8caaa2ffb7093ac7e0e7377","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":"closed","url":"http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b"},{"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/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/bc8c9d97-d5dc-4a0e-8c3a-646287f72b69"}}},"level":"info","message":"received a callback","requestID":"4a9989e8d8caaa2ffb7093ac7e0e7377"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a3396778e0d124040881b3e0cb34ca61","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"a3396778e0d124040881b3e0cb34ca61","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/43158e50-bb1d-44cb-b7de-b0974a0e136b"},{"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/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/bc8c9d97-d5dc-4a0e-8c3a-646287f72b69"}}},"level":"info","message":"received a callback","requestID":"a3396778e0d124040881b3e0cb34ca61"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"f99650d0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/bc8c9d97-d5dc-4a0e-8c3a-646287f72b69 204 36ms","method":"DELETE","requestID":"f99650d0-8ba4-11ef-a62f-5f7f958aa687","responseTime":36,"status":204,"url":"/peerconnections/bc8c9d97-d5dc-4a0e-8c3a-646287f72b69"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7"},"level":"info","message":"Successfully finished experiment","requestID":"ed812a0cf91519211593558fc1161a88"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f99e1900-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1315,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43158e50-bb1d-44cb-b7de-b0974a0e136b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"235a113c-92d8-4831-bb81-3448ab65abcd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.0627596} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1315,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.574079,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f99e1900-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b","object_type":"device","rebac_allow":false,"scope_allow":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":"f99e1900-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f99e1900-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/43158e50-bb1d-44cb-b7de-b0974a0e136b/signaling 200 13ms","method":"POST","requestID":"f99e1900-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F3b8732ab-abcd-4343-bcc3-951bb6756bb7': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F3b8732ab-abcd-4343-bcc3-951bb6756bb7","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"24131dcd-f553-4b39-a074-2e01ca94f650","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.071925} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"efbd9048-e18d-4d9a-b6ed-3f8b7b52acbe","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.072237} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f9a08a00-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"ed812a0cf91519211593558fc1161a88","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1316,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cb9ee921-6a42-45e7-8f9f-2f9e392dca63","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.0807536} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1316,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.768162,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f9a08a00-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd","object_type":"device","rebac_allow":false,"scope_allow":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":"f9a08a00-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f9a08a00-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd/signaling 200 14ms","method":"POST","requestID":"f9a08a00-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7","requestID":"ed812a0cf91519211593558fc1161a88"} gateway-1 | {"time_local":"16/Oct/2024:09:56:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.145","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ed812a0cf91519211593558fc1161a88"} gateway-1 | {"time_local":"16/Oct/2024:09:56:55 +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.266","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"e141a88caa0a76f3ef8c1fc39601ff05"} experiment-1 | {"level":"info","message":"DELETE /experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7 204 143ms","method":"DELETE","requestID":"ed812a0cf91519211593558fc1161a88","responseTime":143,"status":204,"url":"/experiments/3b8732ab-abcd-4343-bcc3-951bb6756bb7"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 107ms","method":"POST","requestID":"4a9989e8d8caaa2ffb7093ac7e0e7377","responseTime":107,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.110","http_referrer":"","http_user_agent":"node-fetch","requestID":"4a9989e8d8caaa2ffb7093ac7e0e7377"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 106ms","method":"POST","requestID":"a3396778e0d124040881b3e0cb34ca61","responseTime":106,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.112","http_referrer":"","http_user_agent":"node-fetch","requestID":"a3396778e0d124040881b3e0cb34ca61"} device-1 | {"level":"info","message":"postDevices called","requestID":"6ebfc15203581d19f02b4fa933cb0ce6"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNX0._ia24qR9qUBKp6dU6i4iWJxM-6H78HtxGPXG8_S0Phw","level":"info","message":"auth send jwt","requestID":"6ebfc15203581d19f02b4fa933cb0ce6"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"6ebfc15203581d19f02b4fa933cb0ce6","responseTime":4,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:56:55 +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.753","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"f819ead2d5314286d5264c862a6925e3"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/43158e50-bb1d-44cb-b7de-b0974a0e136b' closed"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1317,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1317,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.305889,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"6ebfc15203581d19f02b4fa933cb0ce6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072615,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNX0._ia24qR9qUBKp6dU6i4iWJxM-6H78HtxGPXG8_S0Phw"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"6ebfc15203581d19f02b4fa933cb0ce6","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/c63bcda1-bcc9-4efc-9adf-3e64fbbe8ddd' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f1999e5-56b6-406f-ba8e-734eaef240a8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ef43170f-b6c2-44b6-954a-6beaf744a7d1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.168858} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6ebfc15203581d19f02b4fa933cb0ce6","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"92838652-56b2-4267-8339-38027a76cfc7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.1741579} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"6ebfc15203581d19f02b4fa933cb0ce6","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f1999e5-56b6-406f-ba8e-734eaef240a8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"c3e393c0-6e8e-44bc-b140-e08eb134cc1b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.1843853} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"809fa5c0-6c5b-435b-940a-b3db6b5669ee","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.1846914} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"6ebfc15203581d19f02b4fa933cb0ce6","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f1999e5-56b6-406f-ba8e-734eaef240a8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f1999e5-56b6-406f-ba8e-734eaef240a8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:55.184337010Z"}]},"request_id":"ed507446-f245-434f-8a15-7c6e5db7d8d7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.1887436} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"6ebfc15203581d19f02b4fa933cb0ce6","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"6ebfc15203581d19f02b4fa933cb0ce6"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.055","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6ebfc15203581d19f02b4fa933cb0ce6"} device-1 | {"level":"info","message":"POST /devices? 201 48ms","method":"POST","requestID":"6ebfc15203581d19f02b4fa933cb0ce6","responseTime":48,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNX0._ia24qR9qUBKp6dU6i4iWJxM-6H78HtxGPXG8_S0Phw","level":"info","message":"auth send jwt","requestID":"edc36d5899050d29236b924702a6ea87"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"edc36d5899050d29236b924702a6ea87","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"edc36d5899050d29236b924702a6ea87"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1318,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1318,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.728746,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"edc36d5899050d29236b924702a6ea87","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072615,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNX0._ia24qR9qUBKp6dU6i4iWJxM-6H78HtxGPXG8_S0Phw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"edc36d5899050d29236b924702a6ea87","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff304530f-af61-482b-adbd-98c4d742be3f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"78f393ae-324b-4a90-b3af-b8557309c003","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.2102613} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"edc36d5899050d29236b924702a6ea87","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8f4d29a6-f71b-484b-a490-1c222548d7ac","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.21498} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"edc36d5899050d29236b924702a6ea87","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff304530f-af61-482b-adbd-98c4d742be3f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"cca5d50b-28df-4872-9197-5470cb0aaa66","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.230603} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"26320317-9220-4e6d-b47c-c58df98f629b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.2306879} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"edc36d5899050d29236b924702a6ea87","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff304530f-af61-482b-adbd-98c4d742be3f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff304530f-af61-482b-adbd-98c4d742be3f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:55.230561460Z"}]},"request_id":"72192ef3-0d89-4d7c-ac21-4dee40464d3f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.2345624} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"edc36d5899050d29236b924702a6ea87","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"edc36d5899050d29236b924702a6ea87"} gateway-1 | {"time_local":"16/Oct/2024:09:56: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.044","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"edc36d5899050d29236b924702a6ea87"} device-1 | {"level":"info","message":"POST /devices? 201 41ms","method":"POST","requestID":"edc36d5899050d29236b924702a6ea87","responseTime":41,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNX0._ia24qR9qUBKp6dU6i4iWJxM-6H78HtxGPXG8_S0Phw","level":"info","message":"auth send jwt","requestID":"cc8dfa8471064b878b7da636a3254f1c"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"cc8dfa8471064b878b7da636a3254f1c","responseTime":7,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNX0._ia24qR9qUBKp6dU6i4iWJxM-6H78HtxGPXG8_S0Phw","level":"info","message":"auth send jwt","requestID":"36b67864d93ab1d33ae4fe9b03abe1d0"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"36b67864d93ab1d33ae4fe9b03abe1d0","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"cc8dfa8471064b878b7da636a3254f1c"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"36b67864d93ab1d33ae4fe9b03abe1d0"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1319,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1319,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.619076,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Received request.","req_id":1320,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cc8dfa8471064b878b7da636a3254f1c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072615,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNX0._ia24qR9qUBKp6dU6i4iWJxM-6H78HtxGPXG8_S0Phw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"cc8dfa8471064b878b7da636a3254f1c","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Sent response.","req_id":1320,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.134175,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f304530f-af61-482b-adbd-98c4d742be3f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"36b67864d93ab1d33ae4fe9b03abe1d0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f304530f-af61-482b-adbd-98c4d742be3f","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072615,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNX0._ia24qR9qUBKp6dU6i4iWJxM-6H78HtxGPXG8_S0Phw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"36b67864d93ab1d33ae4fe9b03abe1d0","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f1999e5-56b6-406f-ba8e-734eaef240a8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f1999e5-56b6-406f-ba8e-734eaef240a8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:55.184337010Z"}]},"request_id":"96fc9f3a-ee0c-42d9-bbc0-acb7bc212346","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.7109063} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"cc8dfa8471064b878b7da636a3254f1c","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff304530f-af61-482b-adbd-98c4d742be3f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff304530f-af61-482b-adbd-98c4d742be3f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:55.230561460Z"}]},"request_id":"f29ac134-a5fd-402f-95bf-519649ec605d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.711457} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"36b67864d93ab1d33ae4fe9b03abe1d0","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3f1c75f3-0f42-4af7-838d-7def007c4120","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.7147083} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"cc8dfa8471064b878b7da636a3254f1c","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c22245a3-1f1d-4e20-878f-e60714a03719","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.7160845} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"36b67864d93ab1d33ae4fe9b03abe1d0","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff304530f-af61-482b-adbd-98c4d742be3f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff304530f-af61-482b-adbd-98c4d742be3f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:55.230561460Z"}]},"request_id":"23323fc6-f5d3-4be8-9dfc-65898f5a04cc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.719963} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"36b67864d93ab1d33ae4fe9b03abe1d0","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"36b67864d93ab1d33ae4fe9b03abe1d0"} gateway-1 | {"time_local":"16/Oct/2024:09:56:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/f304530f-af61-482b-adbd-98c4d742be3f HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.029","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"36b67864d93ab1d33ae4fe9b03abe1d0"} device-1 | {"level":"info","message":"PATCH /devices/f304530f-af61-482b-adbd-98c4d742be3f 200 20ms","method":"PATCH","requestID":"36b67864d93ab1d33ae4fe9b03abe1d0","responseTime":20,"status":200,"url":"/devices/f304530f-af61-482b-adbd-98c4d742be3f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNX0._ia24qR9qUBKp6dU6i4iWJxM-6H78HtxGPXG8_S0Phw","level":"info","message":"auth send jwt","requestID":"3633d50d70ebf8f15616d187c13b5aa9"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3633d50d70ebf8f15616d187c13b5aa9","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"3633d50d70ebf8f15616d187c13b5aa9"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f1999e5-56b6-406f-ba8e-734eaef240a8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f1999e5-56b6-406f-ba8e-734eaef240a8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:55.184337010Z"}]},"request_id":"e911ae41-f85e-4ecb-adda-6a09da5e6dea","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.7298112} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"cc8dfa8471064b878b7da636a3254f1c","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1321,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1321,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.662237,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:55Z"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"cc8dfa8471064b878b7da636a3254f1c"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f304530f-af61-482b-adbd-98c4d742be3f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3633d50d70ebf8f15616d187c13b5aa9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f304530f-af61-482b-adbd-98c4d742be3f","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072615,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNX0._ia24qR9qUBKp6dU6i4iWJxM-6H78HtxGPXG8_S0Phw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3633d50d70ebf8f15616d187c13b5aa9","responseTime":3,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:56:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/6f1999e5-56b6-406f-ba8e-734eaef240a8 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.039","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"cc8dfa8471064b878b7da636a3254f1c"} device-1 | {"level":"info","message":"PATCH /devices/6f1999e5-56b6-406f-ba8e-734eaef240a8 200 31ms","method":"PATCH","requestID":"cc8dfa8471064b878b7da636a3254f1c","responseTime":31,"status":200,"url":"/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNX0._ia24qR9qUBKp6dU6i4iWJxM-6H78HtxGPXG8_S0Phw","level":"info","message":"auth send jwt","requestID":"27fe1c84aca291a6aabff770361e52cb"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"27fe1c84aca291a6aabff770361e52cb","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"27fe1c84aca291a6aabff770361e52cb"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1322,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1322,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.173257,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"27fe1c84aca291a6aabff770361e52cb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072615,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNX0._ia24qR9qUBKp6dU6i4iWJxM-6H78HtxGPXG8_S0Phw"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"3633d50d70ebf8f15616d187c13b5aa9"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"27fe1c84aca291a6aabff770361e52cb","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:56:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/f304530f-af61-482b-adbd-98c4d742be3f/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.10","requestID":"3633d50d70ebf8f15616d187c13b5aa9"} device-1 | {"level":"info","message":"POST /devices/f304530f-af61-482b-adbd-98c4d742be3f/websocket 200 16ms","method":"POST","requestID":"3633d50d70ebf8f15616d187c13b5aa9","responseTime":16,"status":200,"url":"/devices/f304530f-af61-482b-adbd-98c4d742be3f/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"27fe1c84aca291a6aabff770361e52cb"} gateway-1 | {"time_local":"16/Oct/2024:09:56:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/6f1999e5-56b6-406f-ba8e-734eaef240a8/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.10","requestID":"27fe1c84aca291a6aabff770361e52cb"} device-1 | {"level":"info","message":"POST /devices/6f1999e5-56b6-406f-ba8e-734eaef240a8/websocket 200 20ms","method":"POST","requestID":"27fe1c84aca291a6aabff770361e52cb","responseTime":20,"status":200,"url":"/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/f304530f-af61-482b-adbd-98c4d742be3f' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNX0._ia24qR9qUBKp6dU6i4iWJxM-6H78HtxGPXG8_S0Phw","level":"info","message":"auth send jwt","requestID":"66806fe255b23de40939e66ba52315e7"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"66806fe255b23de40939e66ba52315e7","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"66806fe255b23de40939e66ba52315e7"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1323,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1323,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.672847,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"66806fe255b23de40939e66ba52315e7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072615,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNX0._ia24qR9qUBKp6dU6i4iWJxM-6H78HtxGPXG8_S0Phw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"66806fe255b23de40939e66ba52315e7","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f1999e5-56b6-406f-ba8e-734eaef240a8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f1999e5-56b6-406f-ba8e-734eaef240a8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:55.184337010Z"}]},"request_id":"dbb22f73-0f3a-461f-94ba-c796f3ca10ac","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.7966866} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"66806fe255b23de40939e66ba52315e7","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"66806fe255b23de40939e66ba52315e7"} gateway-1 | {"time_local":"16/Oct/2024:09:56:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6f1999e5-56b6-406f-ba8e-734eaef240a8? 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":"66806fe255b23de40939e66ba52315e7"} device-1 | {"level":"info","message":"GET /devices/6f1999e5-56b6-406f-ba8e-734eaef240a8? 200 13ms","method":"GET","requestID":"66806fe255b23de40939e66ba52315e7","responseTime":13,"status":200,"url":"/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNX0._ia24qR9qUBKp6dU6i4iWJxM-6H78HtxGPXG8_S0Phw","level":"info","message":"auth send jwt","requestID":"71e29523b318bbb6956fb5a3d2f049ba"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"71e29523b318bbb6956fb5a3d2f049ba","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"71e29523b318bbb6956fb5a3d2f049ba"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1324,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1324,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.844867,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f304530f-af61-482b-adbd-98c4d742be3f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"71e29523b318bbb6956fb5a3d2f049ba","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f304530f-af61-482b-adbd-98c4d742be3f","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072615,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNX0._ia24qR9qUBKp6dU6i4iWJxM-6H78HtxGPXG8_S0Phw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"71e29523b318bbb6956fb5a3d2f049ba","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff304530f-af61-482b-adbd-98c4d742be3f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff304530f-af61-482b-adbd-98c4d742be3f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:55.230561460Z"}]},"request_id":"b29d4a16-4461-4ac3-99f0-9583f3891476","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.8193638} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"71e29523b318bbb6956fb5a3d2f049ba","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"71e29523b318bbb6956fb5a3d2f049ba"} device-1 | {"level":"info","message":"GET /devices/f304530f-af61-482b-adbd-98c4d742be3f? 200 15ms","method":"GET","requestID":"71e29523b318bbb6956fb5a3d2f049ba","responseTime":15,"status":200,"url":"/devices/f304530f-af61-482b-adbd-98c4d742be3f?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f304530f-af61-482b-adbd-98c4d742be3f? 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":"71e29523b318bbb6956fb5a3d2f049ba"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNX0._ia24qR9qUBKp6dU6i4iWJxM-6H78HtxGPXG8_S0Phw","level":"info","message":"auth send jwt","requestID":"193b623b932dba308a2b2ccb8deeb2ee"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"193b623b932dba308a2b2ccb8deeb2ee","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"193b623b932dba308a2b2ccb8deeb2ee"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1325,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1325,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.334849,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"193b623b932dba308a2b2ccb8deeb2ee","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072615,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNX0._ia24qR9qUBKp6dU6i4iWJxM-6H78HtxGPXG8_S0Phw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"193b623b932dba308a2b2ccb8deeb2ee","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e8bd7042-7642-46ef-a5e8-260d865a700d"},"level":"info","message":"Attempting to run experiment","requestID":"193b623b932dba308a2b2ccb8deeb2ee"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e8bd7042-7642-46ef-a5e8-260d865a700d"},"level":"info","message":"Attempting to book experiment","requestID":"193b623b932dba308a2b2ccb8deeb2ee"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e8bd7042-7642-46ef-a5e8-260d865a700d"},"level":"info","message":"Successfully booked experiment","requestID":"193b623b932dba308a2b2ccb8deeb2ee"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fa1aea20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fa1b3840-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1326,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1326,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.923766,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Received request.","req_id":1327,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fa1aea20-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072615,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNX0._ia24qR9qUBKp6dU6i4iWJxM-6H78HtxGPXG8_S0Phw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"fa1aea20-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Sent response.","req_id":1327,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.188801,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f304530f-af61-482b-adbd-98c4d742be3f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fa1b3840-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f304530f-af61-482b-adbd-98c4d742be3f","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072615,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNX0._ia24qR9qUBKp6dU6i4iWJxM-6H78HtxGPXG8_S0Phw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"fa1b3840-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f1999e5-56b6-406f-ba8e-734eaef240a8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f1999e5-56b6-406f-ba8e-734eaef240a8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:55.184337010Z"}]},"request_id":"31b4ab66-3bc0-4649-aac8-34215fa81151","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.8843153} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"fa1aea20-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff304530f-af61-482b-adbd-98c4d742be3f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff304530f-af61-482b-adbd-98c4d742be3f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:55.230561460Z"}]},"request_id":"96f629c3-1056-4bbf-9200-3c8830db9e70","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.885413} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"fa1b3840-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fa1aea20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/6f1999e5-56b6-406f-ba8e-734eaef240a8? 200 16ms","method":"GET","requestID":"fa1aea20-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fa1b3840-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/f304530f-af61-482b-adbd-98c4d742be3f? 200 15ms","method":"GET","requestID":"fa1b3840-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/f304530f-af61-482b-adbd-98c4d742be3f?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e8bd7042-7642-46ef-a5e8-260d865a700d"},"level":"info","message":"Setting up experiment","requestID":"193b623b932dba308a2b2ccb8deeb2ee"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e8bd7042-7642-46ef-a5e8-260d865a700d"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"193b623b932dba308a2b2ccb8deeb2ee"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e8bd7042-7642-46ef-a5e8-260d865a700d"},"level":"info","message":"Successfully locked booking for experiment","requestID":"193b623b932dba308a2b2ccb8deeb2ee"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e8bd7042-7642-46ef-a5e8-260d865a700d"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"193b623b932dba308a2b2ccb8deeb2ee"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e8bd7042-7642-46ef-a5e8-260d865a700d"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"193b623b932dba308a2b2ccb8deeb2ee"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e8bd7042-7642-46ef-a5e8-260d865a700d"},"level":"info","message":"Attempting to update booking for experiment","requestID":"193b623b932dba308a2b2ccb8deeb2ee"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e8bd7042-7642-46ef-a5e8-260d865a700d"},"level":"info","message":"Successfully updated booking for experiment","requestID":"193b623b932dba308a2b2ccb8deeb2ee"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e8bd7042-7642-46ef-a5e8-260d865a700d"},"level":"info","message":"Successfully set up experiment","requestID":"193b623b932dba308a2b2ccb8deeb2ee"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fa24ae20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fa24fc40-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fa257170-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1328,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1328,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.300441,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Received request.","req_id":1329,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:55Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e8bd7042-7642-46ef-a5e8-260d865a700d"},"level":"info","message":"Successfully running experiment","requestID":"193b623b932dba308a2b2ccb8deeb2ee"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fa24ae20-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072615,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNX0._ia24qR9qUBKp6dU6i4iWJxM-6H78HtxGPXG8_S0Phw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"fa24ae20-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Sent response.","req_id":1329,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.957433,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f304530f-af61-482b-adbd-98c4d742be3f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fa24fc40-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f304530f-af61-482b-adbd-98c4d742be3f","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072615,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNX0._ia24qR9qUBKp6dU6i4iWJxM-6H78HtxGPXG8_S0Phw"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"fa24fc40-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1330,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f1999e5-56b6-406f-ba8e-734eaef240a8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b870b623-f26d-41cd-a441-6b5e8d215684","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.9492655} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1330,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.605179,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56: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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f1999e5-56b6-406f-ba8e-734eaef240a8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f1999e5-56b6-406f-ba8e-734eaef240a8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:55.184337010Z"}]},"request_id":"2167bd6f-809d-47b0-9de5-c553caa0ddbc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.9524992} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fa257170-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8","object_type":"device","rebac_allow":false,"scope_allow":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":"fa257170-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"fa24ae20-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff304530f-af61-482b-adbd-98c4d742be3f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff304530f-af61-482b-adbd-98c4d742be3f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:55.230561460Z"}]},"request_id":"3a8f1ed7-5189-4870-84b6-110f1ac3e26b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.9545128} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"fa24fc40-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fa257170-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/6f1999e5-56b6-406f-ba8e-734eaef240a8/signaling 200 20ms","method":"POST","requestID":"fa257170-8ba4-11ef-a62f-5f7f958aa687","responseTime":20,"status":200,"url":"/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fa24ae20-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/6f1999e5-56b6-406f-ba8e-734eaef240a8? 200 27ms","method":"GET","requestID":"fa24ae20-8ba4-11ef-a62f-5f7f958aa687","responseTime":27,"status":200,"url":"/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fa24fc40-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/f304530f-af61-482b-adbd-98c4d742be3f? 200 27ms","method":"GET","requestID":"fa24fc40-8ba4-11ef-a62f-5f7f958aa687","responseTime":27,"status":200,"url":"/devices/f304530f-af61-482b-adbd-98c4d742be3f?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fa294200-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe8bd7042-7642-46ef-a5e8-260d865a700d#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe8bd7042-7642-46ef-a5e8-260d865a700d","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"d75ba4b3-4221-4097-b6dd-86c1d29890e6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.9689128} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"16f35cd4-f233-4c61-a284-3943156f498f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.9692261} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fa299020-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"193b623b932dba308a2b2ccb8deeb2ee","responseTime":23,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1331,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Received request.","req_id":1332,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff304530f-af61-482b-adbd-98c4d742be3f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5f6c16ec-ce02-4791-90bd-d070ab759b28","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.977738} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f1999e5-56b6-406f-ba8e-734eaef240a8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"42787e50-6a74-4c57-b795-97ea563a6c9a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.9777937} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1331,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":6.317998,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Sent response.","req_id":1332,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.680256,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:55Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/e8bd7042-7642-46ef-a5e8-260d865a700d","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"193b623b932dba308a2b2ccb8deeb2ee"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f304530f-af61-482b-adbd-98c4d742be3f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fa294200-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f304530f-af61-482b-adbd-98c4d742be3f","object_type":"device","rebac_allow":false,"scope_allow":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":"fa294200-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"POST /experiments? 201 148ms","method":"POST","requestID":"193b623b932dba308a2b2ccb8deeb2ee","responseTime":148,"status":201,"url":"/experiments?"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fa299020-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8","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":"16/Oct/2024:09:56:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1220","request_time":"0.154","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"193b623b932dba308a2b2ccb8deeb2ee"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"fa299020-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fa294200-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f304530f-af61-482b-adbd-98c4d742be3f/signaling 200 18ms","method":"POST","requestID":"fa294200-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/f304530f-af61-482b-adbd-98c4d742be3f/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fa299020-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNX0._ia24qR9qUBKp6dU6i4iWJxM-6H78HtxGPXG8_S0Phw","level":"info","message":"auth send jwt","requestID":"7a4bd4a7962fc678c72ae8e370574b46"} device-1 | {"level":"info","message":"POST /devices/6f1999e5-56b6-406f-ba8e-734eaef240a8/signaling 200 17ms","method":"POST","requestID":"fa299020-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8/signaling"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"7a4bd4a7962fc678c72ae8e370574b46","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7a4bd4a7962fc678c72ae8e370574b46"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fa2c9d60-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1333,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1333,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.113076,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Received request.","req_id":1334,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"7a4bd4a7962fc678c72ae8e370574b46","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072615,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNX0._ia24qR9qUBKp6dU6i4iWJxM-6H78HtxGPXG8_S0Phw"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7a4bd4a7962fc678c72ae8e370574b46","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff304530f-af61-482b-adbd-98c4d742be3f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5cff4c16-1a8c-4df7-b2f1-9f15f4dd2a6b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.9958582} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Sent response.","req_id":1334,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.707692,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:55Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f304530f-af61-482b-adbd-98c4d742be3f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fa2c9d60-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f304530f-af61-482b-adbd-98c4d742be3f","object_type":"device","rebac_allow":false,"scope_allow":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":"fa2c9d60-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f1999e5-56b6-406f-ba8e-734eaef240a8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f1999e5-56b6-406f-ba8e-734eaef240a8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:55.184337010Z"}]},"request_id":"71cd9c77-78ed-4ac1-af59-8c4f403183a2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072615.998456} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"7a4bd4a7962fc678c72ae8e370574b46","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fa2c9d60-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f304530f-af61-482b-adbd-98c4d742be3f/signaling 200 13ms","method":"POST","requestID":"fa2c9d60-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/f304530f-af61-482b-adbd-98c4d742be3f/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7a4bd4a7962fc678c72ae8e370574b46"} gateway-1 | {"time_local":"16/Oct/2024:09:56:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6f1999e5-56b6-406f-ba8e-734eaef240a8? 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":"7a4bd4a7962fc678c72ae8e370574b46"} device-1 | {"level":"info","message":"GET /devices/6f1999e5-56b6-406f-ba8e-734eaef240a8? 200 16ms","method":"GET","requestID":"7a4bd4a7962fc678c72ae8e370574b46","responseTime":16,"status":200,"url":"/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e8bd7042-7642-46ef-a5e8-260d865a700d"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"193b623b932dba308a2b2ccb8deeb2ee"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fa2ee750-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fa2f0e60-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1335,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:56Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1335,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.902202,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:56Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fa2ee750-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072615,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNX0._ia24qR9qUBKp6dU6i4iWJxM-6H78HtxGPXG8_S0Phw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"fa2ee750-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNn0.gWQXKsqqOcegAZP2Jh8ztyTXM5_FnKawxYjwsXzElD0","level":"info","message":"auth send jwt","requestID":"b37044ef9ad41a5642730d5bf630486f"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Received request.","req_id":1336,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:56Z"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Sent response.","req_id":1336,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.805433,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:56Z"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"b37044ef9ad41a5642730d5bf630486f","responseTime":5,"status":200,"url":"/auth"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f304530f-af61-482b-adbd-98c4d742be3f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fa2f0e60-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f304530f-af61-482b-adbd-98c4d742be3f","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072615,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNX0._ia24qR9qUBKp6dU6i4iWJxM-6H78HtxGPXG8_S0Phw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"fa2f0e60-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b37044ef9ad41a5642730d5bf630486f"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f1999e5-56b6-406f-ba8e-734eaef240a8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f1999e5-56b6-406f-ba8e-734eaef240a8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:55.184337010Z"}]},"request_id":"2d11c618-c368-411a-98b1-7172ebd9e15a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072616.0152128} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"fa2ee750-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff304530f-af61-482b-adbd-98c4d742be3f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff304530f-af61-482b-adbd-98c4d742be3f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:55.230561460Z"}]},"request_id":"e219105d-f230-48e3-91c8-3a4fb5fe9dff","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072616.0166461} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"fa2f0e60-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fa2ee750-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1337,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:56Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1337,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.660611,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:56Z"} device-1 | {"level":"info","message":"GET /devices/6f1999e5-56b6-406f-ba8e-734eaef240a8? 200 15ms","method":"GET","requestID":"fa2ee750-8ba4-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f304530f-af61-482b-adbd-98c4d742be3f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b37044ef9ad41a5642730d5bf630486f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/f304530f-af61-482b-adbd-98c4d742be3f","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072616,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNn0.gWQXKsqqOcegAZP2Jh8ztyTXM5_FnKawxYjwsXzElD0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b37044ef9ad41a5642730d5bf630486f","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fa2f0e60-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/f304530f-af61-482b-adbd-98c4d742be3f? 200 19ms","method":"GET","requestID":"fa2f0e60-8ba4-11ef-a62f-5f7f958aa687","responseTime":19,"status":200,"url":"/devices/f304530f-af61-482b-adbd-98c4d742be3f?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff304530f-af61-482b-adbd-98c4d742be3f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff304530f-af61-482b-adbd-98c4d742be3f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:55.230561460Z"}]},"request_id":"b3235999-b87c-483a-b47d-b9c9cbb29646","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072616.0258744} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e8bd7042-7642-46ef-a5e8-260d865a700d"},"level":"info","message":"Building connection plan","requestID":"193b623b932dba308a2b2ccb8deeb2ee"} 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":"fac44ad0-d5be-4c73-8df6-bbdd60df0255"},{"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":"e524ab29-55ed-469b-bead-e5b0176c0262"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"835edabe-a0ff-4bc9-9951-91d158b77e8e"}]},"level":"info","message":"Built pairwise service configurations","requestID":"193b623b932dba308a2b2ccb8deeb2ee"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b37044ef9ad41a5642730d5bf630486f","responseTime":3,"status":200,"url":"/relations/query"} 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":["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/f304530f-af61-482b-adbd-98c4d742be3f"},{"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/6f1999e5-56b6-406f-ba8e-734eaef240a8"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"193b623b932dba308a2b2ccb8deeb2ee"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"fa3269c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b37044ef9ad41a5642730d5bf630486f"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1338,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:56Z"} gateway-1 | {"time_local":"16/Oct/2024:09:56:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f304530f-af61-482b-adbd-98c4d742be3f? 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":"b37044ef9ad41a5642730d5bf630486f"} device-1 | {"level":"info","message":"GET /devices/f304530f-af61-482b-adbd-98c4d742be3f? 200 17ms","method":"GET","requestID":"b37044ef9ad41a5642730d5bf630486f","responseTime":17,"status":200,"url":"/devices/f304530f-af61-482b-adbd-98c4d742be3f?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1338,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.816103,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:56Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fa3269c0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072615,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxNX0._ia24qR9qUBKp6dU6i4iWJxM-6H78HtxGPXG8_S0Phw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"fa3269c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"9c4fbfe6-42c8-4e8d-8383-5a277ba9e714","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072616.0405142} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"19f52e2f-28fc-4621-86ab-6895a1eff64e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072616.0406528} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"fa3269c0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"fa3269c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"fa3269c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/b2ec02a4-f675-4ece-af70-5ed33c6d7355'","requestID":"fa3269c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/b2ec02a4-f675-4ece-af70-5ed33c6d7355'","requestID":"fa3269c0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"fa3269c0-8ba4-11ef-a62f-5f7f958aa687"} 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":"fa3269c0-8ba4-11ef-a62f-5f7f958aa687","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":"fa3269c0-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e8bd7042-7642-46ef-a5e8-260d865a700d"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"193b623b932dba308a2b2ccb8deeb2ee"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fa3a5900-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1339,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:56Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f1999e5-56b6-406f-ba8e-734eaef240a8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b5ba6d5b-80ac-4318-9853-7dc5a2135453","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072616.084638} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1339,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.581191,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:56Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fa3a5900-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8","object_type":"device","rebac_allow":false,"scope_allow":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":"fa3a5900-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fa3a5900-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/6f1999e5-56b6-406f-ba8e-734eaef240a8/signaling 200 8ms","method":"POST","requestID":"fa3a5900-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fa3bdfa0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1340,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:56Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff304530f-af61-482b-adbd-98c4d742be3f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2468176f-3899-44dc-a3cb-9ea0c273eda8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072616.0941308} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1340,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.112651,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:56Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f304530f-af61-482b-adbd-98c4d742be3f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fa3bdfa0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f304530f-af61-482b-adbd-98c4d742be3f","object_type":"device","rebac_allow":false,"scope_allow":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":"fa3bdfa0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fa3bdfa0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f304530f-af61-482b-adbd-98c4d742be3f/signaling 200 8ms","method":"POST","requestID":"fa3bdfa0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/f304530f-af61-482b-adbd-98c4d742be3f/signaling"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"0ad3fd0c-e3ab-4aa8-b62f-8a2e68e93eaf\" in room \"http://localhost/rooms/667347e0-c108-4bf5-8aeb-c72ac65b7328\"","requestID":"e904d480-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"9d8e3707-243f-4422-b3de-b63c566cd972\" in room \"http://localhost/rooms/667347e0-c108-4bf5-8aeb-c72ac65b7328\"","requestID":"e90549b0-8ba4-11ef-a042-213954f0282b"} device-1 | {"device":"6f1999e5-56b6-406f-ba8e-734eaef240a8","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":"b2ec02a4-f675-4ece-af70-5ed33c6d7355","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"f304530f-af61-482b-adbd-98c4d742be3f","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":"b2ec02a4-f675-4ece-af70-5ed33c6d7355","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"f304530f-af61-482b-adbd-98c4d742be3f","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":"f304530f-af61-482b-adbd-98c4d742be3f","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":"f304530f-af61-482b-adbd-98c4d742be3f","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":"f304530f-af61-482b-adbd-98c4d742be3f","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/b2ec02a4-f675-4ece-af70-5ed33c6d7355' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b2ec02a4-f675-4ece-af70-5ed33c6d7355","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2e4074b9a545ae54a63550790120003c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"2e4074b9a545ae54a63550790120003c","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":["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/f304530f-af61-482b-adbd-98c4d742be3f"},{"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/6f1999e5-56b6-406f-ba8e-734eaef240a8"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/b2ec02a4-f675-4ece-af70-5ed33c6d7355"}}},"level":"info","message":"received a callback","requestID":"2e4074b9a545ae54a63550790120003c"} device-1 | {"device":"6f1999e5-56b6-406f-ba8e-734eaef240a8","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":"6f1999e5-56b6-406f-ba8e-734eaef240a8","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":"6f1999e5-56b6-406f-ba8e-734eaef240a8","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 11ms","method":"POST","requestID":"2e4074b9a545ae54a63550790120003c","responseTime":11,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56:58 +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":"2e4074b9a545ae54a63550790120003c"} device-1 | {"data":{"peerconnection":"b2ec02a4-f675-4ece-af70-5ed33c6d7355","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"f304530f-af61-482b-adbd-98c4d742be3f","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":"6f1999e5-56b6-406f-ba8e-734eaef240a8","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":"6f1999e5-56b6-406f-ba8e-734eaef240a8","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":"f304530f-af61-482b-adbd-98c4d742be3f","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":"b2ec02a4-f675-4ece-af70-5ed33c6d7355","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/b2ec02a4-f675-4ece-af70-5ed33c6d7355' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b2ec02a4-f675-4ece-af70-5ed33c6d7355","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"79878d7f4d20194a6113430584a6e56a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"79878d7f4d20194a6113430584a6e56a","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":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/f304530f-af61-482b-adbd-98c4d742be3f"},{"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/6f1999e5-56b6-406f-ba8e-734eaef240a8"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/b2ec02a4-f675-4ece-af70-5ed33c6d7355"}}},"level":"info","message":"received a callback","requestID":"79878d7f4d20194a6113430584a6e56a"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"fb77e210-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1341,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:58Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb2ec02a4-f675-4ece-af70-5ed33c6d7355","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9a150a5d-9585-4104-9c37-bde2a0c608f0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072618.1671884} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1341,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.529195,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b2ec02a4-f675-4ece-af70-5ed33c6d7355","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fb77e210-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/b2ec02a4-f675-4ece-af70-5ed33c6d7355","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":"fb77e210-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"fb77e210-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/b2ec02a4-f675-4ece-af70-5ed33c6d7355 200 11ms","method":"GET","requestID":"fb77e210-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/peerconnections/b2ec02a4-f675-4ece-af70-5ed33c6d7355"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 43ms","method":"POST","requestID":"79878d7f4d20194a6113430584a6e56a","responseTime":43,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56:58 +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":"79878d7f4d20194a6113430584a6e56a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fb7dae70-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1342,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:58Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff304530f-af61-482b-adbd-98c4d742be3f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b35735d6-1068-43a0-9144-9119e2e930ad","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072618.2062504} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1342,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.2727,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:58Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f304530f-af61-482b-adbd-98c4d742be3f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fb7dae70-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f304530f-af61-482b-adbd-98c4d742be3f","object_type":"device","rebac_allow":false,"scope_allow":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":"fb7dae70-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fb7dae70-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f304530f-af61-482b-adbd-98c4d742be3f/signaling 200 14ms","method":"POST","requestID":"fb7dae70-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/f304530f-af61-482b-adbd-98c4d742be3f/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fb804680-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1343,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:58Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f1999e5-56b6-406f-ba8e-734eaef240a8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c0713c5d-b75b-402f-ad5c-e1f36bcb9b09","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072618.222892} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1343,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.769674,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:58Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fb804680-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8","object_type":"device","rebac_allow":false,"scope_allow":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":"fb804680-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fb804680-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/6f1999e5-56b6-406f-ba8e-734eaef240a8/signaling 200 13ms","method":"POST","requestID":"fb804680-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOH0.BL_HzkSNqwliO1tNKwy1DQeUZTlSgglCX9NmPIiiNuY","level":"info","message":"auth send jwt","requestID":"8d731e6bb8e3be0a6bfc76f1c8549e82"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"8d731e6bb8e3be0a6bfc76f1c8549e82","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/e8bd7042-7642-46ef-a5e8-260d865a700d","requestID":"8d731e6bb8e3be0a6bfc76f1c8549e82"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1344,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:58Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1344,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.23278,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/e8bd7042-7642-46ef-a5e8-260d865a700d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"8d731e6bb8e3be0a6bfc76f1c8549e82","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/e8bd7042-7642-46ef-a5e8-260d865a700d","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072618,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOH0.BL_HzkSNqwliO1tNKwy1DQeUZTlSgglCX9NmPIiiNuY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8d731e6bb8e3be0a6bfc76f1c8549e82","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/e8bd7042-7642-46ef-a5e8-260d865a700d","requestID":"8d731e6bb8e3be0a6bfc76f1c8549e82"} gateway-1 | {"time_local":"16/Oct/2024:09:56:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/e8bd7042-7642-46ef-a5e8-260d865a700d HTTP/1.1","status": "200","body_bytes_sent":"1293","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8d731e6bb8e3be0a6bfc76f1c8549e82"} experiment-1 | {"level":"info","message":"GET /experiments/e8bd7042-7642-46ef-a5e8-260d865a700d 200 14ms","method":"GET","requestID":"8d731e6bb8e3be0a6bfc76f1c8549e82","responseTime":14,"status":200,"url":"/experiments/e8bd7042-7642-46ef-a5e8-260d865a700d"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOH0.BL_HzkSNqwliO1tNKwy1DQeUZTlSgglCX9NmPIiiNuY","level":"info","message":"auth send jwt","requestID":"0d43747ce51b6457c0e0e88e112548c6"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0d43747ce51b6457c0e0e88e112548c6","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/e8bd7042-7642-46ef-a5e8-260d865a700d","requestID":"0d43747ce51b6457c0e0e88e112548c6"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1345,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:58Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1345,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.256845,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:58Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/e8bd7042-7642-46ef-a5e8-260d865a700d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0d43747ce51b6457c0e0e88e112548c6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/e8bd7042-7642-46ef-a5e8-260d865a700d","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072618,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOH0.BL_HzkSNqwliO1tNKwy1DQeUZTlSgglCX9NmPIiiNuY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0d43747ce51b6457c0e0e88e112548c6","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e8bd7042-7642-46ef-a5e8-260d865a700d"},"level":"info","message":"Attempting to finish experiment","requestID":"0d43747ce51b6457c0e0e88e112548c6"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"fb8c7b80-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1346,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:58Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1346,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.257227,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:58Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b2ec02a4-f675-4ece-af70-5ed33c6d7355","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fb8c7b80-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/b2ec02a4-f675-4ece-af70-5ed33c6d7355","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072618,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOH0.BL_HzkSNqwliO1tNKwy1DQeUZTlSgglCX9NmPIiiNuY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"fb8c7b80-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"device":"f304530f-af61-482b-adbd-98c4d742be3f","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":"f304530f-af61-482b-adbd-98c4d742be3f","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":"f304530f-af61-482b-adbd-98c4d742be3f","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":"6f1999e5-56b6-406f-ba8e-734eaef240a8","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":"6f1999e5-56b6-406f-ba8e-734eaef240a8","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":"6f1999e5-56b6-406f-ba8e-734eaef240a8","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/b2ec02a4-f675-4ece-af70-5ed33c6d7355' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/b2ec02a4-f675-4ece-af70-5ed33c6d7355' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b2ec02a4-f675-4ece-af70-5ed33c6d7355","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d65236af4a0eb7fe6fa723c496aa2c3b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"d65236af4a0eb7fe6fa723c496aa2c3b","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ec20d6f062ad37fe113d9b0e74a1f244","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":["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/f304530f-af61-482b-adbd-98c4d742be3f"},{"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/6f1999e5-56b6-406f-ba8e-734eaef240a8"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/b2ec02a4-f675-4ece-af70-5ed33c6d7355"}}},"level":"info","message":"received a callback","requestID":"d65236af4a0eb7fe6fa723c496aa2c3b"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb2ec02a4-f675-4ece-af70-5ed33c6d7355': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb2ec02a4-f675-4ece-af70-5ed33c6d7355","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"35417b80-ceb1-4007-992e-be860dfdc500","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072618.320435} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ec20d6f062ad37fe113d9b0e74a1f244","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f2dc9b6a-9524-4be8-945c-c85ac8b51043","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072618.3211174} 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":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/f304530f-af61-482b-adbd-98c4d742be3f"},{"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/6f1999e5-56b6-406f-ba8e-734eaef240a8"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/b2ec02a4-f675-4ece-af70-5ed33c6d7355"}}},"level":"info","message":"received a callback","requestID":"ec20d6f062ad37fe113d9b0e74a1f244"} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"fb8c7b80-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"b2ec02a4-f675-4ece-af70-5ed33c6d7355","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"d7331036-405e-42d8-b0ae-b2e129bb29c5\" in room \"http://localhost/rooms/b17f2d4e-473f-44c8-a462-c576d5a7e07e\"","requestID":"e9b2c7c0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"974dd4d0-53ae-4927-98fd-5cdb0bed76b3\" in room \"http://localhost/rooms/b17f2d4e-473f-44c8-a462-c576d5a7e07e\"","requestID":"e9b2eed0-8ba4-11ef-a042-213954f0282b"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"fb8c7b80-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/b2ec02a4-f675-4ece-af70-5ed33c6d7355 204 55ms","method":"DELETE","requestID":"fb8c7b80-8ba4-11ef-a62f-5f7f958aa687","responseTime":55,"status":204,"url":"/peerconnections/b2ec02a4-f675-4ece-af70-5ed33c6d7355"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e8bd7042-7642-46ef-a5e8-260d865a700d"},"level":"info","message":"Successfully finished experiment","requestID":"0d43747ce51b6457c0e0e88e112548c6"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fb98b080-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1347,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:58Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff304530f-af61-482b-adbd-98c4d742be3f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b9798583-7caf-468f-9253-5df4a3e98dea","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072618.383052} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1347,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.951018,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:58Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f304530f-af61-482b-adbd-98c4d742be3f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fb98b080-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f304530f-af61-482b-adbd-98c4d742be3f","object_type":"device","rebac_allow":false,"scope_allow":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":"fb98b080-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fb98b080-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/f304530f-af61-482b-adbd-98c4d742be3f/signaling 200 13ms","method":"POST","requestID":"fb98b080-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/f304530f-af61-482b-adbd-98c4d742be3f/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe8bd7042-7642-46ef-a5e8-260d865a700d': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe8bd7042-7642-46ef-a5e8-260d865a700d","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"7f5135a3-6279-4aa7-8ee4-52754022517d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072618.3920908} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fb9b2180-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"841d7b6e-4cf6-43c0-83f0-e9efc0067725","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072618.3925283} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"0d43747ce51b6457c0e0e88e112548c6","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1348,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:58Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6f1999e5-56b6-406f-ba8e-734eaef240a8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"513aa200-f37e-4532-986b-7365def79ad5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072618.398981} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1348,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.838978,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:58Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fb9b2180-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8","object_type":"device","rebac_allow":false,"scope_allow":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":"fb9b2180-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fb9b2180-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/6f1999e5-56b6-406f-ba8e-734eaef240a8/signaling 200 12ms","method":"POST","requestID":"fb9b2180-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/6f1999e5-56b6-406f-ba8e-734eaef240a8/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/e8bd7042-7642-46ef-a5e8-260d865a700d","requestID":"0d43747ce51b6457c0e0e88e112548c6"} gateway-1 | {"time_local":"16/Oct/2024:09:56:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/e8bd7042-7642-46ef-a5e8-260d865a700d 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":"0d43747ce51b6457c0e0e88e112548c6"} experiment-1 | {"level":"info","message":"DELETE /experiments/e8bd7042-7642-46ef-a5e8-260d865a700d 204 181ms","method":"DELETE","requestID":"0d43747ce51b6457c0e0e88e112548c6","responseTime":181,"status":204,"url":"/experiments/e8bd7042-7642-46ef-a5e8-260d865a700d"} gateway-1 | {"time_local":"16/Oct/2024:09:56:58 +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.716","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"f698c94fcd6044a006a42a2ed50d22c1"} gateway-1 | {"time_local":"16/Oct/2024:09:56:58 +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.702","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"f69e4be2e74fecaf63a33ee1b471b029"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 139ms","method":"POST","requestID":"d65236af4a0eb7fe6fa723c496aa2c3b","responseTime":139,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56:58 +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.144","http_referrer":"","http_user_agent":"node-fetch","requestID":"d65236af4a0eb7fe6fa723c496aa2c3b"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 137ms","method":"POST","requestID":"ec20d6f062ad37fe113d9b0e74a1f244","responseTime":137,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:56:58 +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.144","http_referrer":"","http_user_agent":"node-fetch","requestID":"ec20d6f062ad37fe113d9b0e74a1f244"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOH0.BL_HzkSNqwliO1tNKwy1DQeUZTlSgglCX9NmPIiiNuY","level":"info","message":"auth send jwt","requestID":"96801d62d83d2e4ac49c277cfcfa2459"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"96801d62d83d2e4ac49c277cfcfa2459","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/6f1999e5-56b6-406f-ba8e-734eaef240a8' closed"} device-1 | {"level":"info","message":"postDevices called","requestID":"96801d62d83d2e4ac49c277cfcfa2459"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1349,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:58Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1349,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.169337,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:58Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"96801d62d83d2e4ac49c277cfcfa2459","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072618,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOH0.BL_HzkSNqwliO1tNKwy1DQeUZTlSgglCX9NmPIiiNuY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"96801d62d83d2e4ac49c277cfcfa2459","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/f304530f-af61-482b-adbd-98c4d742be3f' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc03de4d9-6c5f-4301-b552-4906f71be397","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"168f477d-6d1b-4cb8-b121-1fd6bff0d54e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072618.4907312} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"96801d62d83d2e4ac49c277cfcfa2459","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cf61967b-985b-4370-8469-a5d9067ec500","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072618.4963536} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"96801d62d83d2e4ac49c277cfcfa2459","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc03de4d9-6c5f-4301-b552-4906f71be397","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"f77a6d69-891d-45bb-a57d-c453173fe900","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072618.5080328} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"257bae93-446d-4baf-90d9-fe1080336b17","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072618.5083332} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"96801d62d83d2e4ac49c277cfcfa2459","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc03de4d9-6c5f-4301-b552-4906f71be397","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc03de4d9-6c5f-4301-b552-4906f71be397","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:58.507995273Z"}]},"request_id":"eae4e8f1-2588-4dcb-98ac-785b2a363696","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072618.5130851} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"96801d62d83d2e4ac49c277cfcfa2459","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"96801d62d83d2e4ac49c277cfcfa2459"} gateway-1 | {"time_local":"16/Oct/2024:09:56:58 +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":"96801d62d83d2e4ac49c277cfcfa2459"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"96801d62d83d2e4ac49c277cfcfa2459","responseTime":46,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOH0.BL_HzkSNqwliO1tNKwy1DQeUZTlSgglCX9NmPIiiNuY","level":"info","message":"auth send jwt","requestID":"8ab708971ddf30ba0afc4902a1e8e6c1"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8ab708971ddf30ba0afc4902a1e8e6c1","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"8ab708971ddf30ba0afc4902a1e8e6c1"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1350,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:58Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1350,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.745201,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:58Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"8ab708971ddf30ba0afc4902a1e8e6c1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072618,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOH0.BL_HzkSNqwliO1tNKwy1DQeUZTlSgglCX9NmPIiiNuY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8ab708971ddf30ba0afc4902a1e8e6c1","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F312e64d6-b422-459d-b024-c1b98ef948b7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"e49975c7-a0e6-4e26-8b47-e6f254f0c922","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072618.5372152} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8ab708971ddf30ba0afc4902a1e8e6c1","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"22661fc4-ffa0-42be-ac4e-a44daa4308af","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072618.5420206} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"8ab708971ddf30ba0afc4902a1e8e6c1","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F312e64d6-b422-459d-b024-c1b98ef948b7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"4f4155e3-aed5-49f4-97c5-8ebd40ee16d6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072618.5586178} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1805e328-3d78-4e04-aa1a-6765b38ddd5f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072618.558818} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"8ab708971ddf30ba0afc4902a1e8e6c1","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F312e64d6-b422-459d-b024-c1b98ef948b7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F312e64d6-b422-459d-b024-c1b98ef948b7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:58.558578301Z"}]},"request_id":"9cbc502c-b875-43ce-bf29-b49b0e0f0681","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072618.5630772} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8ab708971ddf30ba0afc4902a1e8e6c1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"8ab708971ddf30ba0afc4902a1e8e6c1"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"8ab708971ddf30ba0afc4902a1e8e6c1","responseTime":45,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:58 +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":"8ab708971ddf30ba0afc4902a1e8e6c1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOX0.KrPXbqKIs-rePYH5r3ubA81WOAey9eIkclzx9PEVzBI","level":"info","message":"auth send jwt","requestID":"ccc121bf522781b7c864feacff1c1150"} authentication-1 | {"level":"info","message":"GET /auth 200 8ms","method":"GET","requestID":"ccc121bf522781b7c864feacff1c1150","responseTime":8,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOX0.KrPXbqKIs-rePYH5r3ubA81WOAey9eIkclzx9PEVzBI","level":"info","message":"auth send jwt","requestID":"765881876122da6099da320b986cd4c7"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"765881876122da6099da320b986cd4c7","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"ccc121bf522781b7c864feacff1c1150"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"765881876122da6099da320b986cd4c7"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1351,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1351,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.666543,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Received request.","req_id":1352,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/312e64d6-b422-459d-b024-c1b98ef948b7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ccc121bf522781b7c864feacff1c1150","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/312e64d6-b422-459d-b024-c1b98ef948b7","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072619,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOX0.KrPXbqKIs-rePYH5r3ubA81WOAey9eIkclzx9PEVzBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ccc121bf522781b7c864feacff1c1150","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Sent response.","req_id":1352,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.636886,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c03de4d9-6c5f-4301-b552-4906f71be397","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"765881876122da6099da320b986cd4c7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c03de4d9-6c5f-4301-b552-4906f71be397","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072619,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOX0.KrPXbqKIs-rePYH5r3ubA81WOAey9eIkclzx9PEVzBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"765881876122da6099da320b986cd4c7","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F312e64d6-b422-459d-b024-c1b98ef948b7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F312e64d6-b422-459d-b024-c1b98ef948b7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:58.558578301Z"}]},"request_id":"6e1b1e9d-e688-45f9-81d9-4412dc58684d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072619.047735} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ccc121bf522781b7c864feacff1c1150","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc03de4d9-6c5f-4301-b552-4906f71be397","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc03de4d9-6c5f-4301-b552-4906f71be397","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:58.507995273Z"}]},"request_id":"74b4595a-c59c-46de-961a-06062ce89b04","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072619.0485682} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"765881876122da6099da320b986cd4c7","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7749ea85-8e45-4a9e-a343-7690923cbfe4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072619.0526059} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"ccc121bf522781b7c864feacff1c1150","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"022885ca-1f31-4926-ae5b-e72fe7d85421","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072619.0544016} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"765881876122da6099da320b986cd4c7","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc03de4d9-6c5f-4301-b552-4906f71be397","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc03de4d9-6c5f-4301-b552-4906f71be397","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:58.507995273Z"}]},"request_id":"75fbedcc-e8c0-4b43-98f8-1271fe0f6de2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072619.0575347} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"765881876122da6099da320b986cd4c7","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"765881876122da6099da320b986cd4c7"} gateway-1 | {"time_local":"16/Oct/2024:09:56:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/c03de4d9-6c5f-4301-b552-4906f71be397 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.033","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"765881876122da6099da320b986cd4c7"} device-1 | {"level":"info","message":"PATCH /devices/c03de4d9-6c5f-4301-b552-4906f71be397 200 22ms","method":"PATCH","requestID":"765881876122da6099da320b986cd4c7","responseTime":22,"status":200,"url":"/devices/c03de4d9-6c5f-4301-b552-4906f71be397"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOX0.KrPXbqKIs-rePYH5r3ubA81WOAey9eIkclzx9PEVzBI","level":"info","message":"auth send jwt","requestID":"066ab0873da351ec19c4dfa36343ae16"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"066ab0873da351ec19c4dfa36343ae16","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"066ab0873da351ec19c4dfa36343ae16"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1353,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1353,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.099636,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c03de4d9-6c5f-4301-b552-4906f71be397","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"066ab0873da351ec19c4dfa36343ae16","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c03de4d9-6c5f-4301-b552-4906f71be397","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072619,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOX0.KrPXbqKIs-rePYH5r3ubA81WOAey9eIkclzx9PEVzBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"066ab0873da351ec19c4dfa36343ae16","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F312e64d6-b422-459d-b024-c1b98ef948b7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F312e64d6-b422-459d-b024-c1b98ef948b7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:58.558578301Z"}]},"request_id":"a3727f57-4419-4fe8-95c3-e21e71529482","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072619.0703976} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ccc121bf522781b7c864feacff1c1150","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"ccc121bf522781b7c864feacff1c1150"} device-1 | {"level":"info","message":"PATCH /devices/312e64d6-b422-459d-b024-c1b98ef948b7 200 37ms","method":"PATCH","requestID":"ccc121bf522781b7c864feacff1c1150","responseTime":37,"status":200,"url":"/devices/312e64d6-b422-459d-b024-c1b98ef948b7"} gateway-1 | {"time_local":"16/Oct/2024:09:56:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/312e64d6-b422-459d-b024-c1b98ef948b7 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.047","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"ccc121bf522781b7c864feacff1c1150"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOX0.KrPXbqKIs-rePYH5r3ubA81WOAey9eIkclzx9PEVzBI","level":"info","message":"auth send jwt","requestID":"115ada6028f4cfd9e633936d925d5c5c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"115ada6028f4cfd9e633936d925d5c5c","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"115ada6028f4cfd9e633936d925d5c5c"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1354,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1354,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.377983,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:59Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"066ab0873da351ec19c4dfa36343ae16"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/312e64d6-b422-459d-b024-c1b98ef948b7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"115ada6028f4cfd9e633936d925d5c5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/312e64d6-b422-459d-b024-c1b98ef948b7","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072619,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOX0.KrPXbqKIs-rePYH5r3ubA81WOAey9eIkclzx9PEVzBI"} gateway-1 | {"time_local":"16/Oct/2024:09:56:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/c03de4d9-6c5f-4301-b552-4906f71be397/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.10","requestID":"066ab0873da351ec19c4dfa36343ae16"} device-1 | {"level":"info","message":"POST /devices/c03de4d9-6c5f-4301-b552-4906f71be397/websocket 200 19ms","method":"POST","requestID":"066ab0873da351ec19c4dfa36343ae16","responseTime":19,"status":200,"url":"/devices/c03de4d9-6c5f-4301-b552-4906f71be397/websocket"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"115ada6028f4cfd9e633936d925d5c5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"115ada6028f4cfd9e633936d925d5c5c"} gateway-1 | {"time_local":"16/Oct/2024:09:56:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/312e64d6-b422-459d-b024-c1b98ef948b7/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.10","requestID":"115ada6028f4cfd9e633936d925d5c5c"} device-1 | {"level":"info","message":"POST /devices/312e64d6-b422-459d-b024-c1b98ef948b7/websocket 200 15ms","method":"POST","requestID":"115ada6028f4cfd9e633936d925d5c5c","responseTime":15,"status":200,"url":"/devices/312e64d6-b422-459d-b024-c1b98ef948b7/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/c03de4d9-6c5f-4301-b552-4906f71be397' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/312e64d6-b422-459d-b024-c1b98ef948b7' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOX0.KrPXbqKIs-rePYH5r3ubA81WOAey9eIkclzx9PEVzBI","level":"info","message":"auth send jwt","requestID":"f0c8861d56044c26f1e9bb7cf0c051d1"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"f0c8861d56044c26f1e9bb7cf0c051d1","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f0c8861d56044c26f1e9bb7cf0c051d1"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1355,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1355,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.698158,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c03de4d9-6c5f-4301-b552-4906f71be397","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f0c8861d56044c26f1e9bb7cf0c051d1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c03de4d9-6c5f-4301-b552-4906f71be397","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072619,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOX0.KrPXbqKIs-rePYH5r3ubA81WOAey9eIkclzx9PEVzBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f0c8861d56044c26f1e9bb7cf0c051d1","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc03de4d9-6c5f-4301-b552-4906f71be397","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc03de4d9-6c5f-4301-b552-4906f71be397","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:58.507995273Z"}]},"request_id":"08621970-8856-4881-9ff8-986dc7adf55d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072619.1266186} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"f0c8861d56044c26f1e9bb7cf0c051d1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f0c8861d56044c26f1e9bb7cf0c051d1"} gateway-1 | {"time_local":"16/Oct/2024:09:56:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c03de4d9-6c5f-4301-b552-4906f71be397? 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":"f0c8861d56044c26f1e9bb7cf0c051d1"} device-1 | {"level":"info","message":"GET /devices/c03de4d9-6c5f-4301-b552-4906f71be397? 200 10ms","method":"GET","requestID":"f0c8861d56044c26f1e9bb7cf0c051d1","responseTime":10,"status":200,"url":"/devices/c03de4d9-6c5f-4301-b552-4906f71be397?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOX0.KrPXbqKIs-rePYH5r3ubA81WOAey9eIkclzx9PEVzBI","level":"info","message":"auth send jwt","requestID":"f84a41733138de26636644be1273e742"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"f84a41733138de26636644be1273e742","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f84a41733138de26636644be1273e742"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1356,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1356,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.651478,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/312e64d6-b422-459d-b024-c1b98ef948b7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f84a41733138de26636644be1273e742","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/312e64d6-b422-459d-b024-c1b98ef948b7","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072619,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOX0.KrPXbqKIs-rePYH5r3ubA81WOAey9eIkclzx9PEVzBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f84a41733138de26636644be1273e742","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F312e64d6-b422-459d-b024-c1b98ef948b7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F312e64d6-b422-459d-b024-c1b98ef948b7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:58.558578301Z"}]},"request_id":"579a03ef-a621-46e0-b0cd-25a6219b0a1d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072619.1411512} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"f84a41733138de26636644be1273e742","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f84a41733138de26636644be1273e742"} device-1 | {"level":"info","message":"GET /devices/312e64d6-b422-459d-b024-c1b98ef948b7? 200 10ms","method":"GET","requestID":"f84a41733138de26636644be1273e742","responseTime":10,"status":200,"url":"/devices/312e64d6-b422-459d-b024-c1b98ef948b7?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/312e64d6-b422-459d-b024-c1b98ef948b7? 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":"f84a41733138de26636644be1273e742"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOX0.KrPXbqKIs-rePYH5r3ubA81WOAey9eIkclzx9PEVzBI","level":"info","message":"auth send jwt","requestID":"bda8564f605f200cd466b8e0c0b7d8b4"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"bda8564f605f200cd466b8e0c0b7d8b4","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"bda8564f605f200cd466b8e0c0b7d8b4"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1357,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1357,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.087171,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bda8564f605f200cd466b8e0c0b7d8b4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072619,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOX0.KrPXbqKIs-rePYH5r3ubA81WOAey9eIkclzx9PEVzBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"bda8564f605f200cd466b8e0c0b7d8b4","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df"},"level":"info","message":"Attempting to run experiment","requestID":"bda8564f605f200cd466b8e0c0b7d8b4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df"},"level":"info","message":"Attempting to book experiment","requestID":"bda8564f605f200cd466b8e0c0b7d8b4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df"},"level":"info","message":"Successfully booked experiment","requestID":"bda8564f605f200cd466b8e0c0b7d8b4"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fc14e560-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fc150c70-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1358,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1358,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.008485,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Received request.","req_id":1359,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c03de4d9-6c5f-4301-b552-4906f71be397","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fc14e560-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c03de4d9-6c5f-4301-b552-4906f71be397","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072619,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOX0.KrPXbqKIs-rePYH5r3ubA81WOAey9eIkclzx9PEVzBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"fc14e560-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Sent response.","req_id":1359,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.045847,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/312e64d6-b422-459d-b024-c1b98ef948b7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fc150c70-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/312e64d6-b422-459d-b024-c1b98ef948b7","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072619,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOX0.KrPXbqKIs-rePYH5r3ubA81WOAey9eIkclzx9PEVzBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"fc150c70-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc03de4d9-6c5f-4301-b552-4906f71be397","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc03de4d9-6c5f-4301-b552-4906f71be397","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:58.507995273Z"}]},"request_id":"fe264651-92e1-4d6d-97b8-9463a27d57a2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072619.1981864} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"fc14e560-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F312e64d6-b422-459d-b024-c1b98ef948b7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F312e64d6-b422-459d-b024-c1b98ef948b7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:58.558578301Z"}]},"request_id":"62688247-019a-4beb-8f68-5b082fa25eb5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072619.199195} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"fc150c70-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fc14e560-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/c03de4d9-6c5f-4301-b552-4906f71be397? 200 13ms","method":"GET","requestID":"fc14e560-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/c03de4d9-6c5f-4301-b552-4906f71be397?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fc150c70-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/312e64d6-b422-459d-b024-c1b98ef948b7? 200 13ms","method":"GET","requestID":"fc150c70-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/312e64d6-b422-459d-b024-c1b98ef948b7?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df"},"level":"info","message":"Setting up experiment","requestID":"bda8564f605f200cd466b8e0c0b7d8b4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"bda8564f605f200cd466b8e0c0b7d8b4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df"},"level":"info","message":"Successfully locked booking for experiment","requestID":"bda8564f605f200cd466b8e0c0b7d8b4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"bda8564f605f200cd466b8e0c0b7d8b4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"bda8564f605f200cd466b8e0c0b7d8b4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df"},"level":"info","message":"Attempting to update booking for experiment","requestID":"bda8564f605f200cd466b8e0c0b7d8b4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df"},"level":"info","message":"Successfully updated booking for experiment","requestID":"bda8564f605f200cd466b8e0c0b7d8b4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df"},"level":"info","message":"Successfully set up experiment","requestID":"bda8564f605f200cd466b8e0c0b7d8b4"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fc1e3430-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fc1e8250-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df"},"level":"info","message":"Successfully running experiment","requestID":"bda8564f605f200cd466b8e0c0b7d8b4"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fc1ea960-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1360,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1360,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.920959,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Received request.","req_id":1361,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c03de4d9-6c5f-4301-b552-4906f71be397","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fc1e3430-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c03de4d9-6c5f-4301-b552-4906f71be397","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072619,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOX0.KrPXbqKIs-rePYH5r3ubA81WOAey9eIkclzx9PEVzBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"fc1e3430-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Sent response.","req_id":1361,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.662223,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/312e64d6-b422-459d-b024-c1b98ef948b7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fc1e8250-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/312e64d6-b422-459d-b024-c1b98ef948b7","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072619,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOX0.KrPXbqKIs-rePYH5r3ubA81WOAey9eIkclzx9PEVzBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"fc1e8250-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:40764","level":"info","msg":"Received request.","req_id":1362,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc03de4d9-6c5f-4301-b552-4906f71be397","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc03de4d9-6c5f-4301-b552-4906f71be397","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:58.507995273Z"}]},"request_id":"1628f1be-6ed0-4722-a500-37492e03b254","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072619.2628593} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc03de4d9-6c5f-4301-b552-4906f71be397","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7f361a7f-e7b1-4106-8fca-f3abcc6c12bc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072619.2638993} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"fc1e3430-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F312e64d6-b422-459d-b024-c1b98ef948b7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F312e64d6-b422-459d-b024-c1b98ef948b7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:58.558578301Z"}]},"request_id":"40f38a39-895d-4cf5-b1fa-1f629f08c7ee","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072619.264496} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"fc1e8250-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:40764","level":"info","msg":"Sent response.","req_id":1362,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.006251,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c03de4d9-6c5f-4301-b552-4906f71be397","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fc1ea960-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c03de4d9-6c5f-4301-b552-4906f71be397","object_type":"device","rebac_allow":false,"scope_allow":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":"fc1ea960-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fc1e3430-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/c03de4d9-6c5f-4301-b552-4906f71be397? 200 18ms","method":"GET","requestID":"fc1e3430-8ba4-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/c03de4d9-6c5f-4301-b552-4906f71be397?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fc1e8250-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/312e64d6-b422-459d-b024-c1b98ef948b7? 200 17ms","method":"GET","requestID":"fc1e8250-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/312e64d6-b422-459d-b024-c1b98ef948b7?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fc1ea960-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c03de4d9-6c5f-4301-b552-4906f71be397/signaling 200 17ms","method":"POST","requestID":"fc1ea960-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/c03de4d9-6c5f-4301-b552-4906f71be397/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fc216880-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fc218f90-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1363,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1363,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.567377,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Received request.","req_id":1364,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc03de4d9-6c5f-4301-b552-4906f71be397","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e5615074-fd97-495c-a273-41a4a32ffdd2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072619.278173} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F02ca8bc6-818f-45ea-81f7-05c49acfb2df#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F02ca8bc6-818f-45ea-81f7-05c49acfb2df","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"ceec408f-55cb-42bf-846b-0653be0a6e6f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072619.2786193} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d9314e03-bd14-4d98-b9a1-6cdecfb68bf4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072619.2794375} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c03de4d9-6c5f-4301-b552-4906f71be397","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fc216880-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c03de4d9-6c5f-4301-b552-4906f71be397","object_type":"device","rebac_allow":false,"scope_allow":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":"fc216880-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F312e64d6-b422-459d-b024-c1b98ef948b7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2d695679-5975-4d3c-a462-8993e5cf0437","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072619.28187} authorization-1 | {"level":"info","message":"POST /relations/update 200 25ms","method":"POST","requestID":"bda8564f605f200cd466b8e0c0b7d8b4","responseTime":25,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Sent response.","req_id":1364,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.372111,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/312e64d6-b422-459d-b024-c1b98ef948b7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fc218f90-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/312e64d6-b422-459d-b024-c1b98ef948b7","object_type":"device","rebac_allow":false,"scope_allow":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":"fc218f90-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fc216880-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c03de4d9-6c5f-4301-b552-4906f71be397/signaling 200 13ms","method":"POST","requestID":"fc216880-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/c03de4d9-6c5f-4301-b552-4906f71be397/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fc218f90-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/312e64d6-b422-459d-b024-c1b98ef948b7/signaling 200 14ms","method":"POST","requestID":"fc218f90-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/312e64d6-b422-459d-b024-c1b98ef948b7/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fc240090-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"bda8564f605f200cd466b8e0c0b7d8b4"} gateway-1 | {"time_local":"16/Oct/2024:09:56:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1220","request_time":"0.146","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"bda8564f605f200cd466b8e0c0b7d8b4"} experiment-1 | {"level":"info","message":"POST /experiments? 201 142ms","method":"POST","requestID":"bda8564f605f200cd466b8e0c0b7d8b4","responseTime":142,"status":201,"url":"/experiments?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1365,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F312e64d6-b422-459d-b024-c1b98ef948b7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fcbf96cf-8468-4946-9941-677f4a2bf66e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072619.2943594} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1365,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.066428,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/312e64d6-b422-459d-b024-c1b98ef948b7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fc240090-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/312e64d6-b422-459d-b024-c1b98ef948b7","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.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOX0.KrPXbqKIs-rePYH5r3ubA81WOAey9eIkclzx9PEVzBI","level":"info","message":"auth send jwt","requestID":"6eb41ed0fd92c969d170164dfd9d1d3c"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"fc240090-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"6eb41ed0fd92c969d170164dfd9d1d3c","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6eb41ed0fd92c969d170164dfd9d1d3c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fc240090-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/312e64d6-b422-459d-b024-c1b98ef948b7/signaling 200 10ms","method":"POST","requestID":"fc240090-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/312e64d6-b422-459d-b024-c1b98ef948b7/signaling"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1366,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1366,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.815899,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:59Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"bda8564f605f200cd466b8e0c0b7d8b4"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c03de4d9-6c5f-4301-b552-4906f71be397","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"6eb41ed0fd92c969d170164dfd9d1d3c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c03de4d9-6c5f-4301-b552-4906f71be397","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072619,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOX0.KrPXbqKIs-rePYH5r3ubA81WOAey9eIkclzx9PEVzBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"6eb41ed0fd92c969d170164dfd9d1d3c","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fc25d550-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fc25fc60-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1367,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1367,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.62021,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c03de4d9-6c5f-4301-b552-4906f71be397","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fc25d550-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/c03de4d9-6c5f-4301-b552-4906f71be397","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072619,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOX0.KrPXbqKIs-rePYH5r3ubA81WOAey9eIkclzx9PEVzBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"fc25d550-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Received request.","req_id":1368,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Sent response.","req_id":1368,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.704683,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/312e64d6-b422-459d-b024-c1b98ef948b7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fc25fc60-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/312e64d6-b422-459d-b024-c1b98ef948b7","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072619,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOX0.KrPXbqKIs-rePYH5r3ubA81WOAey9eIkclzx9PEVzBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"fc25fc60-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc03de4d9-6c5f-4301-b552-4906f71be397","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc03de4d9-6c5f-4301-b552-4906f71be397","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:58.507995273Z"}]},"request_id":"cd4411b6-7a58-4069-acba-247f3a8a2b92","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072619.306006} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6eb41ed0fd92c969d170164dfd9d1d3c","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc03de4d9-6c5f-4301-b552-4906f71be397","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc03de4d9-6c5f-4301-b552-4906f71be397","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:58.507995273Z"}]},"request_id":"2d0cff36-fd7d-408d-becc-3acd645b9853","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072619.3092198} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6eb41ed0fd92c969d170164dfd9d1d3c"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"fc25d550-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F312e64d6-b422-459d-b024-c1b98ef948b7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F312e64d6-b422-459d-b024-c1b98ef948b7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:58.558578301Z"}]},"request_id":"1bbbc961-c8e3-44e8-95a8-1cf87ef2a2c0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072619.3097603} gateway-1 | {"time_local":"16/Oct/2024:09:56:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c03de4d9-6c5f-4301-b552-4906f71be397? 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":"6eb41ed0fd92c969d170164dfd9d1d3c"} device-1 | {"level":"info","message":"GET /devices/c03de4d9-6c5f-4301-b552-4906f71be397? 200 12ms","method":"GET","requestID":"6eb41ed0fd92c969d170164dfd9d1d3c","responseTime":12,"status":200,"url":"/devices/c03de4d9-6c5f-4301-b552-4906f71be397?"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"fc25fc60-8ba4-11ef-a62f-5f7f958aa687","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fc25d550-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/c03de4d9-6c5f-4301-b552-4906f71be397? 200 12ms","method":"GET","requestID":"fc25d550-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/c03de4d9-6c5f-4301-b552-4906f71be397?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fc25fc60-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/312e64d6-b422-459d-b024-c1b98ef948b7? 200 12ms","method":"GET","requestID":"fc25fc60-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/312e64d6-b422-459d-b024-c1b98ef948b7?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOX0.KrPXbqKIs-rePYH5r3ubA81WOAey9eIkclzx9PEVzBI","level":"info","message":"auth send jwt","requestID":"94797cabfc21bf6bb5468364f51b5084"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df"},"level":"info","message":"Building connection plan","requestID":"bda8564f605f200cd466b8e0c0b7d8b4"} 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":"e3d36ded-eeb3-4d97-acc2-3142fd7d0c45"},{"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":"f89a7d23-d292-44df-ac9e-5a0bd43d1d9f"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"c8efbbaf-8590-4dfd-8bf3-ddf236fe3ff5"}]},"level":"info","message":"Built pairwise service configurations","requestID":"bda8564f605f200cd466b8e0c0b7d8b4"} 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":["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/312e64d6-b422-459d-b024-c1b98ef948b7"},{"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/c03de4d9-6c5f-4301-b552-4906f71be397"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"bda8564f605f200cd466b8e0c0b7d8b4"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"94797cabfc21bf6bb5468364f51b5084","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"94797cabfc21bf6bb5468364f51b5084"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"fc284650-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1369,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1369,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.619201,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Received request.","req_id":1370,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/312e64d6-b422-459d-b024-c1b98ef948b7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"94797cabfc21bf6bb5468364f51b5084","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/312e64d6-b422-459d-b024-c1b98ef948b7","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072619,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOX0.KrPXbqKIs-rePYH5r3ubA81WOAey9eIkclzx9PEVzBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"94797cabfc21bf6bb5468364f51b5084","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:40746","level":"info","msg":"Sent response.","req_id":1370,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.62363,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fc284650-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072619,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYxOX0.KrPXbqKIs-rePYH5r3ubA81WOAey9eIkclzx9PEVzBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"fc284650-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F312e64d6-b422-459d-b024-c1b98ef948b7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F312e64d6-b422-459d-b024-c1b98ef948b7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:56:58.558578301Z"}]},"request_id":"99285eb6-3318-4dde-b890-67fc6dc49654","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072619.3241339} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"94797cabfc21bf6bb5468364f51b5084","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"94797cabfc21bf6bb5468364f51b5084"} device-1 | {"level":"info","message":"GET /devices/312e64d6-b422-459d-b024-c1b98ef948b7? 200 11ms","method":"GET","requestID":"94797cabfc21bf6bb5468364f51b5084","responseTime":11,"status":200,"url":"/devices/312e64d6-b422-459d-b024-c1b98ef948b7?"} gateway-1 | {"time_local":"16/Oct/2024:09:56:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/312e64d6-b422-459d-b024-c1b98ef948b7? 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":"94797cabfc21bf6bb5468364f51b5084"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"d3378793-5f5c-47f7-bc4d-aa49105a1d4c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072619.328063} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3a90029c-6999-4cc1-822b-a48418d4f809","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072619.3282523} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"fc284650-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"fc284650-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"fc284650-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/ff21983e-dbcb-4ae6-ac78-2e5af3a366a1'","requestID":"fc284650-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/ff21983e-dbcb-4ae6-ac78-2e5af3a366a1'","requestID":"fc284650-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"fc284650-8ba4-11ef-a62f-5f7f958aa687"} 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":"fc284650-8ba4-11ef-a62f-5f7f958aa687","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":"fc284650-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"bda8564f605f200cd466b8e0c0b7d8b4"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fc2fc060-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1371,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc03de4d9-6c5f-4301-b552-4906f71be397","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ef53874c-ad9e-49b1-82c5-412b24b906ee","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072619.3714225} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1371,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.301004,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c03de4d9-6c5f-4301-b552-4906f71be397","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fc2fc060-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c03de4d9-6c5f-4301-b552-4906f71be397","object_type":"device","rebac_allow":false,"scope_allow":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":"fc2fc060-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fc2fc060-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c03de4d9-6c5f-4301-b552-4906f71be397/signaling 200 9ms","method":"POST","requestID":"fc2fc060-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/c03de4d9-6c5f-4301-b552-4906f71be397/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fc316e10-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1372,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F312e64d6-b422-459d-b024-c1b98ef948b7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cb0cd68d-0649-4317-9a6a-2ed8f8b04c24","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072619.3825579} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1372,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.203181,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:56:59Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/312e64d6-b422-459d-b024-c1b98ef948b7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fc316e10-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/312e64d6-b422-459d-b024-c1b98ef948b7","object_type":"device","rebac_allow":false,"scope_allow":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":"fc316e10-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fc316e10-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/312e64d6-b422-459d-b024-c1b98ef948b7/signaling 200 9ms","method":"POST","requestID":"fc316e10-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/312e64d6-b422-459d-b024-c1b98ef948b7/signaling"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"f43315a7-7671-4ebd-9a40-f8400d508672\" in room \"http://localhost/rooms/8ce38637-ed01-4d3c-9424-ff19059173a9\"","requestID":"ea68aa40-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"c1736887-4a84-45a9-9437-4272970a6ad3\" in room \"http://localhost/rooms/8ce38637-ed01-4d3c-9424-ff19059173a9\"","requestID":"ea68d150-8ba4-11ef-a042-213954f0282b"} device-1 | {"device":"c03de4d9-6c5f-4301-b552-4906f71be397","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":"ff21983e-dbcb-4ae6-ac78-2e5af3a366a1","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"312e64d6-b422-459d-b024-c1b98ef948b7","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":"ff21983e-dbcb-4ae6-ac78-2e5af3a366a1","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"312e64d6-b422-459d-b024-c1b98ef948b7","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":"312e64d6-b422-459d-b024-c1b98ef948b7","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":"312e64d6-b422-459d-b024-c1b98ef948b7","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":"312e64d6-b422-459d-b024-c1b98ef948b7","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/ff21983e-dbcb-4ae6-ac78-2e5af3a366a1' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"ff21983e-dbcb-4ae6-ac78-2e5af3a366a1","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e7062a62d2cc4919ac5edf1396be2164","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"e7062a62d2cc4919ac5edf1396be2164","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":["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/312e64d6-b422-459d-b024-c1b98ef948b7"},{"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/c03de4d9-6c5f-4301-b552-4906f71be397"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/ff21983e-dbcb-4ae6-ac78-2e5af3a366a1"}}},"level":"info","message":"received a callback","requestID":"e7062a62d2cc4919ac5edf1396be2164"} device-1 | {"device":"c03de4d9-6c5f-4301-b552-4906f71be397","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":"c03de4d9-6c5f-4301-b552-4906f71be397","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":"c03de4d9-6c5f-4301-b552-4906f71be397","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 9ms","method":"POST","requestID":"e7062a62d2cc4919ac5edf1396be2164","responseTime":9,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.013","http_referrer":"","http_user_agent":"node-fetch","requestID":"e7062a62d2cc4919ac5edf1396be2164"} device-1 | {"data":{"peerconnection":"ff21983e-dbcb-4ae6-ac78-2e5af3a366a1","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"312e64d6-b422-459d-b024-c1b98ef948b7","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":"c03de4d9-6c5f-4301-b552-4906f71be397","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":"312e64d6-b422-459d-b024-c1b98ef948b7","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":"c03de4d9-6c5f-4301-b552-4906f71be397","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":"ff21983e-dbcb-4ae6-ac78-2e5af3a366a1","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/ff21983e-dbcb-4ae6-ac78-2e5af3a366a1' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"ff21983e-dbcb-4ae6-ac78-2e5af3a366a1","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7ac6c773a781122dd9dfa1b088b8f46d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"7ac6c773a781122dd9dfa1b088b8f46d","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":["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/312e64d6-b422-459d-b024-c1b98ef948b7"},{"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/c03de4d9-6c5f-4301-b552-4906f71be397"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/ff21983e-dbcb-4ae6-ac78-2e5af3a366a1"}}},"level":"info","message":"received a callback","requestID":"7ac6c773a781122dd9dfa1b088b8f46d"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"fd6dbea0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1373,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:01Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fff21983e-dbcb-4ae6-ac78-2e5af3a366a1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"369f073a-2c44-4700-903a-3ced736b91b9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072621.4572194} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1373,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.672473,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/ff21983e-dbcb-4ae6-ac78-2e5af3a366a1","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fd6dbea0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/ff21983e-dbcb-4ae6-ac78-2e5af3a366a1","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":"fd6dbea0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"fd6dbea0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/ff21983e-dbcb-4ae6-ac78-2e5af3a366a1 200 12ms","method":"GET","requestID":"fd6dbea0-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/peerconnections/ff21983e-dbcb-4ae6-ac78-2e5af3a366a1"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 47ms","method":"POST","requestID":"7ac6c773a781122dd9dfa1b088b8f46d","responseTime":47,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.051","http_referrer":"","http_user_agent":"node-fetch","requestID":"7ac6c773a781122dd9dfa1b088b8f46d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fd740030-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1374,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:01Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F312e64d6-b422-459d-b024-c1b98ef948b7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8e7fe0fd-502d-4455-a5fd-001c45f2549d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072621.4970045} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1374,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.762128,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/312e64d6-b422-459d-b024-c1b98ef948b7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fd740030-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/312e64d6-b422-459d-b024-c1b98ef948b7","object_type":"device","rebac_allow":false,"scope_allow":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":"fd740030-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fd740030-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/312e64d6-b422-459d-b024-c1b98ef948b7/signaling 200 11ms","method":"POST","requestID":"fd740030-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/312e64d6-b422-459d-b024-c1b98ef948b7/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fd762310-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1375,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:01Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc03de4d9-6c5f-4301-b552-4906f71be397","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"70574a12-bd8f-4d7c-8023-6b9281a77ebb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072621.5116796} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1375,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.694565,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c03de4d9-6c5f-4301-b552-4906f71be397","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fd762310-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c03de4d9-6c5f-4301-b552-4906f71be397","object_type":"device","rebac_allow":false,"scope_allow":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":"fd762310-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fd762310-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c03de4d9-6c5f-4301-b552-4906f71be397/signaling 200 13ms","method":"POST","requestID":"fd762310-8ba4-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/c03de4d9-6c5f-4301-b552-4906f71be397/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyMX0.pOrfv-tMZSGjziZ07fHIs37KP84duWuyG77DxcZJD6c","level":"info","message":"auth send jwt","requestID":"e40a4f913842fc4684b63104b687d2fc"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e40a4f913842fc4684b63104b687d2fc","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df","requestID":"e40a4f913842fc4684b63104b687d2fc"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1376,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1376,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.205789,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e40a4f913842fc4684b63104b687d2fc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072621,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyMX0.pOrfv-tMZSGjziZ07fHIs37KP84duWuyG77DxcZJD6c"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e40a4f913842fc4684b63104b687d2fc","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df","requestID":"e40a4f913842fc4684b63104b687d2fc"} gateway-1 | {"time_local":"16/Oct/2024:09:57:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df 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":"e40a4f913842fc4684b63104b687d2fc"} experiment-1 | {"level":"info","message":"GET /experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df 200 14ms","method":"GET","requestID":"e40a4f913842fc4684b63104b687d2fc","responseTime":14,"status":200,"url":"/experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyMX0.pOrfv-tMZSGjziZ07fHIs37KP84duWuyG77DxcZJD6c","level":"info","message":"auth send jwt","requestID":"0bc1071d2b0ec140cfdddaf16c24717d"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"0bc1071d2b0ec140cfdddaf16c24717d","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df","requestID":"0bc1071d2b0ec140cfdddaf16c24717d"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1377,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1377,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.33732,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:01Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0bc1071d2b0ec140cfdddaf16c24717d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072621,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyMX0.pOrfv-tMZSGjziZ07fHIs37KP84duWuyG77DxcZJD6c"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0bc1071d2b0ec140cfdddaf16c24717d","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df"},"level":"info","message":"Attempting to finish experiment","requestID":"0bc1071d2b0ec140cfdddaf16c24717d"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"fd81bbd0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1378,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1378,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":2.781671,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:01Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/ff21983e-dbcb-4ae6-ac78-2e5af3a366a1","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fd81bbd0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/ff21983e-dbcb-4ae6-ac78-2e5af3a366a1","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072621,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyMX0.pOrfv-tMZSGjziZ07fHIs37KP84duWuyG77DxcZJD6c"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"fd81bbd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"device":"c03de4d9-6c5f-4301-b552-4906f71be397","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":"c03de4d9-6c5f-4301-b552-4906f71be397","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":"c03de4d9-6c5f-4301-b552-4906f71be397","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":"312e64d6-b422-459d-b024-c1b98ef948b7","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":"312e64d6-b422-459d-b024-c1b98ef948b7","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":"312e64d6-b422-459d-b024-c1b98ef948b7","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/ff21983e-dbcb-4ae6-ac78-2e5af3a366a1' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/ff21983e-dbcb-4ae6-ac78-2e5af3a366a1' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"ff21983e-dbcb-4ae6-ac78-2e5af3a366a1","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fff21983e-dbcb-4ae6-ac78-2e5af3a366a1': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fff21983e-dbcb-4ae6-ac78-2e5af3a366a1","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"55ce4752-0109-4c0f-a45c-af1eaf8b6c48","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072621.6073625} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"91f7cbd0-9d62-42e3-ac08-511a42303334","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072621.608042} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ea0e0abcb09e9be3ac0ed4ad078aacf9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"fd81bbd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"ea0e0abcb09e9be3ac0ed4ad078aacf9","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":["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/312e64d6-b422-459d-b024-c1b98ef948b7"},{"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/c03de4d9-6c5f-4301-b552-4906f71be397"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/ff21983e-dbcb-4ae6-ac78-2e5af3a366a1"}}},"level":"info","message":"received a callback","requestID":"ea0e0abcb09e9be3ac0ed4ad078aacf9"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"467b2adcae6d60770cd07db7b3959097","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"467b2adcae6d60770cd07db7b3959097","responseTime":2,"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":["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/312e64d6-b422-459d-b024-c1b98ef948b7"},{"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/c03de4d9-6c5f-4301-b552-4906f71be397"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/ff21983e-dbcb-4ae6-ac78-2e5af3a366a1"}}},"level":"info","message":"received a callback","requestID":"467b2adcae6d60770cd07db7b3959097"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"fd81bbd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/ff21983e-dbcb-4ae6-ac78-2e5af3a366a1 204 52ms","method":"DELETE","requestID":"fd81bbd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":52,"status":204,"url":"/peerconnections/ff21983e-dbcb-4ae6-ac78-2e5af3a366a1"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/312e64d6-b422-459d-b024-c1b98ef948b7'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df"},"level":"info","message":"Successfully finished experiment","requestID":"0bc1071d2b0ec140cfdddaf16c24717d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fd8d0670-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1379,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:01Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F312e64d6-b422-459d-b024-c1b98ef948b7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"95039cfe-9804-4ab5-a9e7-3a8de80dd76e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072621.6633883} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1379,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.499815,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/312e64d6-b422-459d-b024-c1b98ef948b7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fd8d0670-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/312e64d6-b422-459d-b024-c1b98ef948b7","object_type":"device","rebac_allow":false,"scope_allow":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":"fd8d0670-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F02ca8bc6-818f-45ea-81f7-05c49acfb2df': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F02ca8bc6-818f-45ea-81f7-05c49acfb2df","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"9407587d-7eb5-46a9-b6c3-f78a486e5edd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072621.6697483} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fd8d0670-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/312e64d6-b422-459d-b024-c1b98ef948b7/signaling 200 16ms","method":"POST","requestID":"fd8d0670-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/312e64d6-b422-459d-b024-c1b98ef948b7/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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a7c5c884-c0c3-46e4-a323-db560837aca9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072621.6703942} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"0bc1071d2b0ec140cfdddaf16c24717d","responseTime":19,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fd8feca0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1380,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:01Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc03de4d9-6c5f-4301-b552-4906f71be397","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bae8eb69-8d79-4145-809b-1f4723fea07d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072621.68172} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1380,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.188511,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c03de4d9-6c5f-4301-b552-4906f71be397","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fd8feca0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c03de4d9-6c5f-4301-b552-4906f71be397","object_type":"device","rebac_allow":false,"scope_allow":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":"fd8feca0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fd8feca0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/c03de4d9-6c5f-4301-b552-4906f71be397/signaling 200 14ms","method":"POST","requestID":"fd8feca0-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/c03de4d9-6c5f-4301-b552-4906f71be397/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df","requestID":"0bc1071d2b0ec140cfdddaf16c24717d"} gateway-1 | {"time_local":"16/Oct/2024:09:57:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df 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":"0bc1071d2b0ec140cfdddaf16c24717d"} experiment-1 | {"level":"info","message":"DELETE /experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df 204 178ms","method":"DELETE","requestID":"0bc1071d2b0ec140cfdddaf16c24717d","responseTime":178,"status":204,"url":"/experiments/02ca8bc6-818f-45ea-81f7-05c49acfb2df"} gateway-1 | {"time_local":"16/Oct/2024:09:57:01 +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.659","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"d61c94ad6b4eb3987548a0bd1df7eb05"} gateway-1 | {"time_local":"16/Oct/2024:09:57:01 +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.650","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"2aa45d4d517e6627a9d3c836a63dda64"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 134ms","method":"POST","requestID":"ea0e0abcb09e9be3ac0ed4ad078aacf9","responseTime":134,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.139","http_referrer":"","http_user_agent":"node-fetch","requestID":"ea0e0abcb09e9be3ac0ed4ad078aacf9"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 133ms","method":"POST","requestID":"467b2adcae6d60770cd07db7b3959097","responseTime":133,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.140","http_referrer":"","http_user_agent":"node-fetch","requestID":"467b2adcae6d60770cd07db7b3959097"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/312e64d6-b422-459d-b024-c1b98ef948b7' closed"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyMX0.pOrfv-tMZSGjziZ07fHIs37KP84duWuyG77DxcZJD6c","level":"info","message":"auth send jwt","requestID":"2a15f83a1dd503492218cb262ed09934"} authentication-1 | {"level":"info","message":"GET /auth 200 8ms","method":"GET","requestID":"2a15f83a1dd503492218cb262ed09934","responseTime":8,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"2a15f83a1dd503492218cb262ed09934"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1381,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1381,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.150077,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:01Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"2a15f83a1dd503492218cb262ed09934","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072621,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyMX0.pOrfv-tMZSGjziZ07fHIs37KP84duWuyG77DxcZJD6c"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2a15f83a1dd503492218cb262ed09934","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/c03de4d9-6c5f-4301-b552-4906f71be397' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5658bdd-5b51-4986-99d8-a10dae555cb7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"5d14666a-c418-4006-b7f8-1bbeee1ac295","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072621.7729797} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2a15f83a1dd503492218cb262ed09934","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"98a8776e-abbf-41dc-875f-fd813ab20f45","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072621.7784746} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"2a15f83a1dd503492218cb262ed09934","responseTime":10,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5658bdd-5b51-4986-99d8-a10dae555cb7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"d38e7768-dcda-47c0-8737-ff73bd7a54d9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072621.7886932} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2a3aaba4-3233-47a3-a38f-aea836792866","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072621.7894356} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"2a15f83a1dd503492218cb262ed09934","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5658bdd-5b51-4986-99d8-a10dae555cb7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5658bdd-5b51-4986-99d8-a10dae555cb7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:01.788645956Z"}]},"request_id":"67665211-0bdf-47c9-8f5b-e91281b0ceba","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072621.7956932} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"2a15f83a1dd503492218cb262ed09934","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"2a15f83a1dd503492218cb262ed09934"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"2a15f83a1dd503492218cb262ed09934","responseTime":44,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.053","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2a15f83a1dd503492218cb262ed09934"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyMX0.pOrfv-tMZSGjziZ07fHIs37KP84duWuyG77DxcZJD6c","level":"info","message":"auth send jwt","requestID":"211b6706e68a7613eb294ad0a9eb0ccf"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"211b6706e68a7613eb294ad0a9eb0ccf","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"211b6706e68a7613eb294ad0a9eb0ccf"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1382,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:01Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1382,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.247318,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:01Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"211b6706e68a7613eb294ad0a9eb0ccf","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072621,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyMX0.pOrfv-tMZSGjziZ07fHIs37KP84duWuyG77DxcZJD6c"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"211b6706e68a7613eb294ad0a9eb0ccf","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"98e205c2-b1a0-4767-a63d-d5e82ae017b9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072621.8236609} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"211b6706e68a7613eb294ad0a9eb0ccf","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d1819b2b-d9b7-498d-9110-32698dce6eea","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072621.8286002} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"211b6706e68a7613eb294ad0a9eb0ccf","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"011f6ed1-6626-4846-b707-98907ab8dcdd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072621.8444076} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e79dfe16-8401-46d3-85d2-335b928e2d35","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072621.8446944} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"211b6706e68a7613eb294ad0a9eb0ccf","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:01.844374300Z"}]},"request_id":"d9fac94a-0346-4455-b1f6-eec4bd17516e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072621.8485382} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"211b6706e68a7613eb294ad0a9eb0ccf","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"211b6706e68a7613eb294ad0a9eb0ccf"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"211b6706e68a7613eb294ad0a9eb0ccf","responseTime":44,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.050","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"211b6706e68a7613eb294ad0a9eb0ccf"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1ecb72e85fad80dc3a91443deb894982","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"1ecb72e85fad80dc3a91443deb894982","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:57:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151/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":"1ecb72e85fad80dc3a91443deb894982"} device-1 | {"level":"info","message":"OPTIONS /devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151/websocket 200 1ms","method":"OPTIONS","requestID":"1ecb72e85fad80dc3a91443deb894982","responseTime":1,"status":200,"url":"/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151/websocket"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d8cb22e99b44de728479417302366253","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"d8cb22e99b44de728479417302366253","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:57:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/e5658bdd-5b51-4986-99d8-a10dae555cb7/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":"d8cb22e99b44de728479417302366253"} device-1 | {"level":"info","message":"OPTIONS /devices/e5658bdd-5b51-4986-99d8-a10dae555cb7/websocket 200 1ms","method":"OPTIONS","requestID":"d8cb22e99b44de728479417302366253","responseTime":1,"status":200,"url":"/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyM30.fKAf0dsh6Mk8EemCoIz24CYroQfuftAwV3EeCrB3MVE","level":"info","message":"auth send jwt","requestID":"d3d404108f9ddc99245c779c70f5f900"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"d3d404108f9ddc99245c779c70f5f900","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"d3d404108f9ddc99245c779c70f5f900"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1383,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:03Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1383,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.493932,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:03Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d3d404108f9ddc99245c779c70f5f900","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072623,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyM30.fKAf0dsh6Mk8EemCoIz24CYroQfuftAwV3EeCrB3MVE"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d3d404108f9ddc99245c779c70f5f900","responseTime":6,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyM30.fKAf0dsh6Mk8EemCoIz24CYroQfuftAwV3EeCrB3MVE","level":"info","message":"auth send jwt","requestID":"bdeb6f4d87c70882ad902e98c76baa80"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"bdeb6f4d87c70882ad902e98c76baa80","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"bdeb6f4d87c70882ad902e98c76baa80"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1384,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:03Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1384,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.113521,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:03Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"bdeb6f4d87c70882ad902e98c76baa80","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072623,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyM30.fKAf0dsh6Mk8EemCoIz24CYroQfuftAwV3EeCrB3MVE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"bdeb6f4d87c70882ad902e98c76baa80","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"d3d404108f9ddc99245c779c70f5f900"} gateway-1 | {"time_local":"16/Oct/2024:09:57:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151/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":"d3d404108f9ddc99245c779c70f5f900"} device-1 | {"level":"info","message":"POST /devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151/websocket 200 26ms","method":"POST","requestID":"d3d404108f9ddc99245c779c70f5f900","responseTime":26,"status":200,"url":"/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"bdeb6f4d87c70882ad902e98c76baa80"} device-1 | {"level":"info","message":"POST /devices/e5658bdd-5b51-4986-99d8-a10dae555cb7/websocket 200 29ms","method":"POST","requestID":"bdeb6f4d87c70882ad902e98c76baa80","responseTime":29,"status":200,"url":"/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:57:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/e5658bdd-5b51-4986-99d8-a10dae555cb7/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":"bdeb6f4d87c70882ad902e98c76baa80"} device-1 | {"level":"info","message":"device 'http://localhost/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"863a5e564f66173f601dd85f8c65d16e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"863a5e564f66173f601dd85f8c65d16e","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:57:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151? 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":"863a5e564f66173f601dd85f8c65d16e"} device-1 | {"level":"info","message":"OPTIONS /devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151? 200 1ms","method":"OPTIONS","requestID":"863a5e564f66173f601dd85f8c65d16e","responseTime":1,"status":200,"url":"/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e403173639667048fff480b72296a0a2","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"e403173639667048fff480b72296a0a2","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:57:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/e5658bdd-5b51-4986-99d8-a10dae555cb7? 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":"e403173639667048fff480b72296a0a2"} device-1 | {"level":"info","message":"OPTIONS /devices/e5658bdd-5b51-4986-99d8-a10dae555cb7? 200 1ms","method":"OPTIONS","requestID":"e403173639667048fff480b72296a0a2","responseTime":1,"status":200,"url":"/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyM30.fKAf0dsh6Mk8EemCoIz24CYroQfuftAwV3EeCrB3MVE","level":"info","message":"auth send jwt","requestID":"2cdc5ccd469608b1aeb1b4c9fb46547e"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"2cdc5ccd469608b1aeb1b4c9fb46547e","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"2cdc5ccd469608b1aeb1b4c9fb46547e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1385,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:03Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyM30.fKAf0dsh6Mk8EemCoIz24CYroQfuftAwV3EeCrB3MVE","level":"info","message":"auth send jwt","requestID":"b8711956b414b2ff71c2a4e6f02a8028"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b8711956b414b2ff71c2a4e6f02a8028","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1385,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.902345,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:03Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"2cdc5ccd469608b1aeb1b4c9fb46547e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072623,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyM30.fKAf0dsh6Mk8EemCoIz24CYroQfuftAwV3EeCrB3MVE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"2cdc5ccd469608b1aeb1b4c9fb46547e","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"b8711956b414b2ff71c2a4e6f02a8028"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1386,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:03Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1386,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.722563,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:03Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b8711956b414b2ff71c2a4e6f02a8028","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072623,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyM30.fKAf0dsh6Mk8EemCoIz24CYroQfuftAwV3EeCrB3MVE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b8711956b414b2ff71c2a4e6f02a8028","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:01.844374300Z"}]},"request_id":"2e71057c-5534-40ac-8983-7ab2b39b95d7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072623.927312} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2cdc5ccd469608b1aeb1b4c9fb46547e","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5658bdd-5b51-4986-99d8-a10dae555cb7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5658bdd-5b51-4986-99d8-a10dae555cb7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:01.788645956Z"}]},"request_id":"c9a1c8f9-d62d-4323-b44a-a81a08b08281","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072623.9320385} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b8711956b414b2ff71c2a4e6f02a8028","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"533bbabd-5ae4-4362-88a3-d540ee126af3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072623.9356747} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"2cdc5ccd469608b1aeb1b4c9fb46547e","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"24542156-fda8-4940-9438-a4d1e0c74507","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072623.9379447} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"b8711956b414b2ff71c2a4e6f02a8028","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5658bdd-5b51-4986-99d8-a10dae555cb7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5658bdd-5b51-4986-99d8-a10dae555cb7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:01.788645956Z"}]},"request_id":"fb8411fe-8d96-44e9-99e0-b8c13659b34b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072623.954492} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"b8711956b414b2ff71c2a4e6f02a8028","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:01.844374300Z"}]},"request_id":"6d62304c-6315-4055-a220-5395cafab3c4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072623.955086} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"b8711956b414b2ff71c2a4e6f02a8028"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"2cdc5ccd469608b1aeb1b4c9fb46547e","responseTime":2,"status":200,"url":"/relations/query"} gateway-1 | {"time_local":"16/Oct/2024:09:57:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/e5658bdd-5b51-4986-99d8-a10dae555cb7? 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":"b8711956b414b2ff71c2a4e6f02a8028"} device-1 | {"level":"info","message":"PATCH /devices/e5658bdd-5b51-4986-99d8-a10dae555cb7? 200 36ms","method":"PATCH","requestID":"b8711956b414b2ff71c2a4e6f02a8028","responseTime":36,"status":200,"url":"/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7?"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"2cdc5ccd469608b1aeb1b4c9fb46547e"} gateway-1 | {"time_local":"16/Oct/2024:09:57:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151? HTTP/1.1","status": "200","body_bytes_sent":"1007","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":"2cdc5ccd469608b1aeb1b4c9fb46547e"} device-1 | {"level":"info","message":"PATCH /devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151? 200 43ms","method":"PATCH","requestID":"2cdc5ccd469608b1aeb1b4c9fb46547e","responseTime":43,"status":200,"url":"/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyM30.fKAf0dsh6Mk8EemCoIz24CYroQfuftAwV3EeCrB3MVE","level":"info","message":"auth send jwt","requestID":"34d5f5efb7878a98c51be26a2e922fe0"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"34d5f5efb7878a98c51be26a2e922fe0","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"34d5f5efb7878a98c51be26a2e922fe0"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1387,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:03Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1387,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.844573,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:03Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"34d5f5efb7878a98c51be26a2e922fe0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072623,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyM30.fKAf0dsh6Mk8EemCoIz24CYroQfuftAwV3EeCrB3MVE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"34d5f5efb7878a98c51be26a2e922fe0","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5658bdd-5b51-4986-99d8-a10dae555cb7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5658bdd-5b51-4986-99d8-a10dae555cb7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:01.788645956Z"}]},"request_id":"156191ff-0c5b-490c-9ea9-de36a8713324","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072623.9755824} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"34d5f5efb7878a98c51be26a2e922fe0","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"34d5f5efb7878a98c51be26a2e922fe0"} gateway-1 | {"time_local":"16/Oct/2024:09:57:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/e5658bdd-5b51-4986-99d8-a10dae555cb7? 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":"34d5f5efb7878a98c51be26a2e922fe0"} device-1 | {"level":"info","message":"GET /devices/e5658bdd-5b51-4986-99d8-a10dae555cb7? 200 11ms","method":"GET","requestID":"34d5f5efb7878a98c51be26a2e922fe0","responseTime":11,"status":200,"url":"/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyM30.fKAf0dsh6Mk8EemCoIz24CYroQfuftAwV3EeCrB3MVE","level":"info","message":"auth send jwt","requestID":"c968bd082abae3bc1fd02a6dc0857c5a"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"c968bd082abae3bc1fd02a6dc0857c5a","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c968bd082abae3bc1fd02a6dc0857c5a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1388,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:03Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1388,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.926305,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:03Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c968bd082abae3bc1fd02a6dc0857c5a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072623,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyM30.fKAf0dsh6Mk8EemCoIz24CYroQfuftAwV3EeCrB3MVE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c968bd082abae3bc1fd02a6dc0857c5a","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:01.844374300Z"}]},"request_id":"8277a492-c35a-4e04-b53b-cd037617fdc1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072623.993649} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"c968bd082abae3bc1fd02a6dc0857c5a","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c968bd082abae3bc1fd02a6dc0857c5a"} device-1 | {"level":"info","message":"GET /devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151? 200 12ms","method":"GET","requestID":"c968bd082abae3bc1fd02a6dc0857c5a","responseTime":12,"status":200,"url":"/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151?"} gateway-1 | {"time_local":"16/Oct/2024:09:57:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151? 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":"c968bd082abae3bc1fd02a6dc0857c5a"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNH0.cp0dUTM3b0murnO9wUJkaiImvVkhBHE2KBnyhXcQGV0","level":"info","message":"auth send jwt","requestID":"d66c204fa8c9358079a11afda127f90b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d66c204fa8c9358079a11afda127f90b","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"d66c204fa8c9358079a11afda127f90b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1389,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1389,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.139574,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d66c204fa8c9358079a11afda127f90b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072624,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNH0.cp0dUTM3b0murnO9wUJkaiImvVkhBHE2KBnyhXcQGV0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d66c204fa8c9358079a11afda127f90b","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720"},"level":"info","message":"Attempting to run experiment","requestID":"d66c204fa8c9358079a11afda127f90b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720"},"level":"info","message":"Attempting to book experiment","requestID":"d66c204fa8c9358079a11afda127f90b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720"},"level":"info","message":"Successfully booked experiment","requestID":"d66c204fa8c9358079a11afda127f90b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fefa5210-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fefa7920-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1390,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1390,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.639682,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fefa5210-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072624,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNH0.cp0dUTM3b0murnO9wUJkaiImvVkhBHE2KBnyhXcQGV0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"fefa5210-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1391,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1391,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.887822,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fefa7920-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072624,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNH0.cp0dUTM3b0murnO9wUJkaiImvVkhBHE2KBnyhXcQGV0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"fefa7920-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5658bdd-5b51-4986-99d8-a10dae555cb7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5658bdd-5b51-4986-99d8-a10dae555cb7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:01.788645956Z"}]},"request_id":"e54a7e2e-0694-490f-80fd-0be315b83cfc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.055816} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"fefa5210-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:01.844374300Z"}]},"request_id":"e187a3c2-2c93-4689-a309-78ef323e2511","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.0587597} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fefa5210-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"fefa7920-8ba4-11ef-a62f-5f7f958aa687","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/e5658bdd-5b51-4986-99d8-a10dae555cb7? 200 10ms","method":"GET","requestID":"fefa5210-8ba4-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fefa7920-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151? 200 11ms","method":"GET","requestID":"fefa7920-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720"},"level":"info","message":"Setting up experiment","requestID":"d66c204fa8c9358079a11afda127f90b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"d66c204fa8c9358079a11afda127f90b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720"},"level":"info","message":"Successfully locked booking for experiment","requestID":"d66c204fa8c9358079a11afda127f90b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"d66c204fa8c9358079a11afda127f90b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"d66c204fa8c9358079a11afda127f90b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720"},"level":"info","message":"Attempting to update booking for experiment","requestID":"d66c204fa8c9358079a11afda127f90b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720"},"level":"info","message":"Successfully updated booking for experiment","requestID":"d66c204fa8c9358079a11afda127f90b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720"},"level":"info","message":"Successfully set up experiment","requestID":"d66c204fa8c9358079a11afda127f90b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ff03a0e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ff03c7f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ff03ef00-8ba4-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720"},"level":"info","message":"Successfully running experiment","requestID":"d66c204fa8c9358079a11afda127f90b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1392,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1393,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1392,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.899902,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1393,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.852876,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ff03a0e0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072624,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNH0.cp0dUTM3b0murnO9wUJkaiImvVkhBHE2KBnyhXcQGV0"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"ff03a0e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ff03c7f0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072624,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNH0.cp0dUTM3b0murnO9wUJkaiImvVkhBHE2KBnyhXcQGV0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ff03c7f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51902","level":"info","msg":"Received request.","req_id":1394,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5658bdd-5b51-4986-99d8-a10dae555cb7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9659eb12-0414-49c6-a1dd-ad5d43182b22","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.1214483} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:01.844374300Z"}]},"request_id":"5126a204-d126-4c2d-9397-669a79cfb24d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.1225317} authorization-1 | {"client_addr":"127.0.0.1:51902","level":"info","msg":"Sent response.","req_id":1394,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.925446,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ff03ef00-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7","object_type":"device","rebac_allow":false,"scope_allow":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":"ff03ef00-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"ff03c7f0-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5658bdd-5b51-4986-99d8-a10dae555cb7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5658bdd-5b51-4986-99d8-a10dae555cb7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:01.788645956Z"}]},"request_id":"d4d9626a-37e2-430c-8c8f-9cd9f79c4fb4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.1243505} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"ff03a0e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ff03ef00-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/e5658bdd-5b51-4986-99d8-a10dae555cb7/signaling 200 17ms","method":"POST","requestID":"ff03ef00-8ba4-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ff03c7f0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151? 200 19ms","method":"GET","requestID":"ff03c7f0-8ba4-11ef-a62f-5f7f958aa687","responseTime":19,"status":200,"url":"/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ff03a0e0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/e5658bdd-5b51-4986-99d8-a10dae555cb7? 200 21ms","method":"GET","requestID":"ff03a0e0-8ba4-11ef-a62f-5f7f958aa687","responseTime":21,"status":200,"url":"/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ff06fc40-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ff072350-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"12ca935e-b893-4254-8992-57567d8e9cc0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.134071} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F53985f51-d078-43ff-8ed7-4bcea0cc7720#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F53985f51-d078-43ff-8ed7-4bcea0cc7720","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"a6e218b3-ccc6-4472-a143-1ae67e483886","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.1344566} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"d66c204fa8c9358079a11afda127f90b","responseTime":23,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fa6d1aab-4260-462b-9e8c-eb5f192e6f18","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.137202} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1395,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1395,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.770161,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1396,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ff06fc40-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","object_type":"device","rebac_allow":false,"scope_allow":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":"ff06fc40-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5658bdd-5b51-4986-99d8-a10dae555cb7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1369bacf-0f59-41b9-93e2-838470af87b3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.1402528} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1396,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.827583,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ff072350-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7","object_type":"device","rebac_allow":false,"scope_allow":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":"ff072350-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ff06fc40-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151/signaling 200 12ms","method":"POST","requestID":"ff06fc40-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151/signaling"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"d66c204fa8c9358079a11afda127f90b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ff072350-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/e5658bdd-5b51-4986-99d8-a10dae555cb7/signaling 200 12ms","method":"POST","requestID":"ff072350-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7/signaling"} gateway-1 | {"time_local":"16/Oct/2024:09:57:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1212","request_time":"0.145","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d66c204fa8c9358079a11afda127f90b"} experiment-1 | {"level":"info","message":"POST /experiments? 201 139ms","method":"POST","requestID":"d66c204fa8c9358079a11afda127f90b","responseTime":139,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ff096d40-8ba4-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNH0.cp0dUTM3b0murnO9wUJkaiImvVkhBHE2KBnyhXcQGV0","level":"info","message":"auth send jwt","requestID":"46133d97811e6d6eff223b6f817e1f59"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1397,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:04Z"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"46133d97811e6d6eff223b6f817e1f59","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"46133d97811e6d6eff223b6f817e1f59"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"858e9aec-e5ca-4b2b-af5b-8dd644c84e8b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.1532488} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1397,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.370693,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ff096d40-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","object_type":"device","rebac_allow":false,"scope_allow":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":"ff096d40-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1398,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1398,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.142307,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"46133d97811e6d6eff223b6f817e1f59","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072624,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNH0.cp0dUTM3b0murnO9wUJkaiImvVkhBHE2KBnyhXcQGV0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"46133d97811e6d6eff223b6f817e1f59","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ff096d40-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151/signaling 200 11ms","method":"POST","requestID":"ff096d40-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151/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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5658bdd-5b51-4986-99d8-a10dae555cb7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5658bdd-5b51-4986-99d8-a10dae555cb7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:01.788645956Z"}]},"request_id":"64cfc26b-56a4-4c90-a207-5ae70b2e182e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.1600459} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"d66c204fa8c9358079a11afda127f90b"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"46133d97811e6d6eff223b6f817e1f59","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ff0b9020-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ff0bde40-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"46133d97811e6d6eff223b6f817e1f59"} device-1 | {"level":"info","message":"GET /devices/e5658bdd-5b51-4986-99d8-a10dae555cb7? 200 14ms","method":"GET","requestID":"46133d97811e6d6eff223b6f817e1f59","responseTime":14,"status":200,"url":"/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7?"} gateway-1 | {"time_local":"16/Oct/2024:09:57:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/e5658bdd-5b51-4986-99d8-a10dae555cb7? 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":"46133d97811e6d6eff223b6f817e1f59"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1399,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1399,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.690439,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1400,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ff0b9020-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072624,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNH0.cp0dUTM3b0murnO9wUJkaiImvVkhBHE2KBnyhXcQGV0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ff0b9020-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1400,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.828033,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ff0bde40-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072624,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNH0.cp0dUTM3b0murnO9wUJkaiImvVkhBHE2KBnyhXcQGV0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ff0bde40-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNH0.cp0dUTM3b0murnO9wUJkaiImvVkhBHE2KBnyhXcQGV0","level":"info","message":"auth send jwt","requestID":"4e9e911b069bfe4c39215f6c9c1bb6df"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"4e9e911b069bfe4c39215f6c9c1bb6df","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5658bdd-5b51-4986-99d8-a10dae555cb7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5658bdd-5b51-4986-99d8-a10dae555cb7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:01.788645956Z"}]},"request_id":"f2e1f483-506c-4c0c-ac13-bfab940c0092","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.1706269} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4e9e911b069bfe4c39215f6c9c1bb6df"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ff0b9020-8ba4-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:01.844374300Z"}]},"request_id":"cc282cdf-54f5-4ce7-b52b-43738ab5fc4e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.1718717} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ff0bde40-8ba4-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1401,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1401,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.667372,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"4e9e911b069bfe4c39215f6c9c1bb6df","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072624,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNH0.cp0dUTM3b0murnO9wUJkaiImvVkhBHE2KBnyhXcQGV0"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ff0b9020-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"4e9e911b069bfe4c39215f6c9c1bb6df","responseTime":2,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"GET /devices/e5658bdd-5b51-4986-99d8-a10dae555cb7? 200 14ms","method":"GET","requestID":"ff0b9020-8ba4-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ff0bde40-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151? 200 12ms","method":"GET","requestID":"ff0bde40-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720"},"level":"info","message":"Building connection plan","requestID":"d66c204fa8c9358079a11afda127f90b"} 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":"72ace764-7f9c-4e57-a394-8ef1f93ddcc6"},{"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":"f74c1700-62bd-4184-99a4-f1a98261770a"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"f7bb8470-3738-4ed2-83e9-7aee82476cad"}]},"level":"info","message":"Built pairwise service configurations","requestID":"d66c204fa8c9358079a11afda127f90b"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"ff0e2830-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"ff0e2830-8ba4-11ef-a042-213954f0282b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:01.844374300Z"}]},"request_id":"e5706643-737e-4d7e-99e5-6bb41c18ed3d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.179668} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"ff0e2830-8ba4-11ef-a042-213954f0282b","responseTime":1,"status":201,"url":"/rooms"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4e9e911b069bfe4c39215f6c9c1bb6df","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/6b58e7e9-b3a8-4211-92cf-63704239df3e?id=96677710-c35e-4e9d-8f50-7f40d045538c","ws://localhost/rooms/6b58e7e9-b3a8-4211-92cf-63704239df3e?id=fdcd5e4b-9437-4dda-8542-63ed339f8b8a"]},"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/e5658bdd-5b51-4986-99d8-a10dae555cb7"},{"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/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"d66c204fa8c9358079a11afda127f90b"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"ff0e9d60-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4e9e911b069bfe4c39215f6c9c1bb6df"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1402,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:04Z"} gateway-1 | {"time_local":"16/Oct/2024:09:57:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151? 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":"4e9e911b069bfe4c39215f6c9c1bb6df"} device-1 | {"level":"info","message":"GET /devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151? 200 14ms","method":"GET","requestID":"4e9e911b069bfe4c39215f6c9c1bb6df","responseTime":14,"status":200,"url":"/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1402,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":2.338265,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ff0e9d60-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072624,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNH0.cp0dUTM3b0murnO9wUJkaiImvVkhBHE2KBnyhXcQGV0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ff0e9d60-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"89463b25-1c1d-4839-9688-b8f9d4422359","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.1956148} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0cc81b57-5252-4084-8509-de70ca8be9ad","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.195831} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"ff0e9d60-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"ff0e9d60-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"ff0e9d60-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/d4b3662c-6c60-4c8d-b5f2-849014184bda'","requestID":"ff0e9d60-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/d4b3662c-6c60-4c8d-b5f2-849014184bda'","requestID":"ff0e9d60-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"ff0e9d60-8ba4-11ef-a62f-5f7f958aa687"} 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":"ff0e9d60-8ba4-11ef-a62f-5f7f958aa687","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":"ff0e9d60-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/d4b3662c-6c60-4c8d-b5f2-849014184bda' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d4b3662c-6c60-4c8d-b5f2-849014184bda","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"ff141ba0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"fdcd5e4b-9437-4dda-8542-63ed339f8b8a\" in room \"http://localhost/rooms/6b58e7e9-b3a8-4211-92cf-63704239df3e\"","requestID":"ff141ba0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"ff141ba0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"ff1442b0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"96677710-c35e-4e9d-8f50-7f40d045538c\" in room \"http://localhost/rooms/6b58e7e9-b3a8-4211-92cf-63704239df3e\"","requestID":"ff1442b0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"ff1442b0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"fdcd5e4b-9437-4dda-8542-63ed339f8b8a\" in room \"http://localhost/rooms/6b58e7e9-b3a8-4211-92cf-63704239df3e\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"fdcd5e4b-9437-4dda-8542-63ed339f8b8a\" in room \"http://localhost/rooms/6b58e7e9-b3a8-4211-92cf-63704239df3e\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"fdcd5e4b-9437-4dda-8542-63ed339f8b8a\" in room \"http://localhost/rooms/6b58e7e9-b3a8-4211-92cf-63704239df3e\""} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d149c207941d597ed06f4bc97e200f45","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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 \"fdcd5e4b-9437-4dda-8542-63ed339f8b8a\" in room \"http://localhost/rooms/6b58e7e9-b3a8-4211-92cf-63704239df3e\""} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d149c207941d597ed06f4bc97e200f45","responseTime":4,"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":"new","url":"http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7"},{"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/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/d4b3662c-6c60-4c8d-b5f2-849014184bda"}}},"level":"info","message":"received a callback","requestID":"d149c207941d597ed06f4bc97e200f45"} device-1 | {"data":{"peerconnection":"d4b3662c-6c60-4c8d-b5f2-849014184bda","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 6ms","method":"POST","requestID":"d149c207941d597ed06f4bc97e200f45","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57:04 +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":"d149c207941d597ed06f4bc97e200f45"} device-1 | {"data":{"peerconnection":"d4b3662c-6c60-4c8d-b5f2-849014184bda","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"d66c204fa8c9358079a11afda127f90b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ff188870-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1403,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:04Z"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/d4b3662c-6c60-4c8d-b5f2-849014184bda' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d4b3662c-6c60-4c8d-b5f2-849014184bda","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5658bdd-5b51-4986-99d8-a10dae555cb7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a2d2678d-bc62-48d5-8cf0-1dd278dbf00d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.2523808} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1403,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.725541,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ff188870-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7","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":"e8a8f6b19bf6a9dfc12341af801ebec4","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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 /authorize 200 5ms","method":"POST","requestID":"ff188870-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"e8a8f6b19bf6a9dfc12341af801ebec4","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":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7"},{"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/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/d4b3662c-6c60-4c8d-b5f2-849014184bda"}}},"level":"info","message":"received a callback","requestID":"e8a8f6b19bf6a9dfc12341af801ebec4"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"ff1a5d30-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1404,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:04Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ff188870-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/e5658bdd-5b51-4986-99d8-a10dae555cb7/signaling 200 16ms","method":"POST","requestID":"ff188870-8ba4-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd4b3662c-6c60-4c8d-b5f2-849014184bda","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"99b1b82d-3140-4bf1-a573-1c8e7a9d5b6c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.2630787} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1404,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.507332,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/d4b3662c-6c60-4c8d-b5f2-849014184bda","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ff1a5d30-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/d4b3662c-6c60-4c8d-b5f2-849014184bda","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":"ff1a5d30-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ff1b4790-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1405,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:04Z"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"ff1a5d30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/d4b3662c-6c60-4c8d-b5f2-849014184bda 200 9ms","method":"GET","requestID":"ff1a5d30-8ba4-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/peerconnections/d4b3662c-6c60-4c8d-b5f2-849014184bda"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7ea4b734-3fc3-4e4b-9518-824ca009ac86","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.2689874} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1405,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.305396,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ff1b4790-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","object_type":"device","rebac_allow":false,"scope_allow":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":"ff1b4790-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ff1b4790-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151/signaling 200 8ms","method":"POST","requestID":"ff1b4790-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151/signaling"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 26ms","method":"POST","requestID":"e8a8f6b19bf6a9dfc12341af801ebec4","responseTime":26,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57:04 +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":"e8a8f6b19bf6a9dfc12341af801ebec4"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ff1ddfa0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1406,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5658bdd-5b51-4986-99d8-a10dae555cb7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"418b523a-24d1-4e88-83bc-ff3f8f07c6da","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.2864296} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1406,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.129093,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ff1ddfa0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7","object_type":"device","rebac_allow":false,"scope_allow":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":"ff1ddfa0-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ff1ddfa0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/e5658bdd-5b51-4986-99d8-a10dae555cb7/signaling 200 8ms","method":"POST","requestID":"ff1ddfa0-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ff1f3f30-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1407,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b2c09ffd-ff42-46a6-8485-274b8cc33a03","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.295824} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1407,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.244423,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ff1f3f30-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","object_type":"device","rebac_allow":false,"scope_allow":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":"ff1f3f30-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ff1f3f30-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151/signaling 200 8ms","method":"POST","requestID":"ff1f3f30-8ba4-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNH0.cp0dUTM3b0murnO9wUJkaiImvVkhBHE2KBnyhXcQGV0","level":"info","message":"auth send jwt","requestID":"0b633aedec194ffa73dd410737f5d3da"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"0b633aedec194ffa73dd410737f5d3da","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720","requestID":"0b633aedec194ffa73dd410737f5d3da"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1408,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1408,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.773488,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0b633aedec194ffa73dd410737f5d3da","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072624,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNH0.cp0dUTM3b0murnO9wUJkaiImvVkhBHE2KBnyhXcQGV0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0b633aedec194ffa73dd410737f5d3da","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720","requestID":"0b633aedec194ffa73dd410737f5d3da"} experiment-1 | {"level":"info","message":"GET /experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720 200 9ms","method":"GET","requestID":"0b633aedec194ffa73dd410737f5d3da","responseTime":9,"status":200,"url":"/experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720"} gateway-1 | {"time_local":"16/Oct/2024:09:57:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720 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":"0b633aedec194ffa73dd410737f5d3da"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNH0.cp0dUTM3b0murnO9wUJkaiImvVkhBHE2KBnyhXcQGV0","level":"info","message":"auth send jwt","requestID":"cb49a348ad2862d991be6a91319dea84"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"cb49a348ad2862d991be6a91319dea84","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720","requestID":"cb49a348ad2862d991be6a91319dea84"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1409,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1409,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.8491,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cb49a348ad2862d991be6a91319dea84","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072624,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNH0.cp0dUTM3b0murnO9wUJkaiImvVkhBHE2KBnyhXcQGV0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"cb49a348ad2862d991be6a91319dea84","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720"},"level":"info","message":"Attempting to finish experiment","requestID":"cb49a348ad2862d991be6a91319dea84"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"ff290330-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1410,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1410,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.780323,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/d4b3662c-6c60-4c8d-b5f2-849014184bda","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ff290330-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/d4b3662c-6c60-4c8d-b5f2-849014184bda","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072624,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNH0.cp0dUTM3b0murnO9wUJkaiImvVkhBHE2KBnyhXcQGV0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ff290330-8ba4-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/d4b3662c-6c60-4c8d-b5f2-849014184bda","device":"e5658bdd-5b51-4986-99d8-a10dae555cb7","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} gateway-1 | {"time_local":"16/Oct/2024:09:57:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/6b58e7e9-b3a8-4211-92cf-63704239df3e?id=96677710-c35e-4e9d-8f50-7f40d045538c HTTP/1.1","status": "101","body_bytes_sent":"2","request_time":"0.153","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"3973d1ef397456d4b6aec018d98d911f"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/d4b3662c-6c60-4c8d-b5f2-849014184bda","device":"00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} gateway-1 | {"time_local":"16/Oct/2024:09:57:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/6b58e7e9-b3a8-4211-92cf-63704239df3e?id=fdcd5e4b-9437-4dda-8542-63ed339f8b8a HTTP/1.1","status": "101","body_bytes_sent":"438","request_time":"0.154","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"4905d9cf5e844d809bdda75e90aa3916"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"96677710-c35e-4e9d-8f50-7f40d045538c\" in room \"http://localhost/rooms/6b58e7e9-b3a8-4211-92cf-63704239df3e\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"96677710-c35e-4e9d-8f50-7f40d045538c\" from room \"http://localhost/rooms/6b58e7e9-b3a8-4211-92cf-63704239df3e\", code: 1005, reason: "} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/d4b3662c-6c60-4c8d-b5f2-849014184bda' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/d4b3662c-6c60-4c8d-b5f2-849014184bda' to 'http://localhost/callbacks/experiment'"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"fdcd5e4b-9437-4dda-8542-63ed339f8b8a\" in room \"http://localhost/rooms/6b58e7e9-b3a8-4211-92cf-63704239df3e\""} device-1 | {"data":{"peerconnection":"d4b3662c-6c60-4c8d-b5f2-849014184bda","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"fdcd5e4b-9437-4dda-8542-63ed339f8b8a\" from room \"http://localhost/rooms/6b58e7e9-b3a8-4211-92cf-63704239df3e\", code: 1005, reason: "} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"eff8c703e553917e5874dcbdf375ac95","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"eff8c703e553917e5874dcbdf375ac95","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"03b98ddce10843fa90f965a52161d64a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7"},{"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/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/d4b3662c-6c60-4c8d-b5f2-849014184bda"}}},"level":"info","message":"received a callback","requestID":"eff8c703e553917e5874dcbdf375ac95"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"03b98ddce10843fa90f965a52161d64a","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/e5658bdd-5b51-4986-99d8-a10dae555cb7"},{"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/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/d4b3662c-6c60-4c8d-b5f2-849014184bda"}}},"level":"info","message":"received a callback","requestID":"03b98ddce10843fa90f965a52161d64a"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd4b3662c-6c60-4c8d-b5f2-849014184bda': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd4b3662c-6c60-4c8d-b5f2-849014184bda","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"d236f98f-aef4-4202-965d-5c6772668c0c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.3784473} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"31f8f8bc-5c6a-49b9-b80a-537faf554756","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.379524} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"ff290330-8ba4-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"d4b3662c-6c60-4c8d-b5f2-849014184bda","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"ff290330-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/d4b3662c-6c60-4c8d-b5f2-849014184bda 204 43ms","method":"DELETE","requestID":"ff290330-8ba4-11ef-a62f-5f7f958aa687","responseTime":43,"status":204,"url":"/peerconnections/d4b3662c-6c60-4c8d-b5f2-849014184bda"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7'"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720"},"level":"info","message":"Successfully finished experiment","requestID":"cb49a348ad2862d991be6a91319dea84"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ff31dcd0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1411,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5658bdd-5b51-4986-99d8-a10dae555cb7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"10ac6b35-3602-4211-aebe-ff7c277ea49a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.4186428} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1411,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.710219,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ff31dcd0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7","object_type":"device","rebac_allow":false,"scope_allow":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":"ff31dcd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ff31dcd0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/e5658bdd-5b51-4986-99d8-a10dae555cb7/signaling 200 11ms","method":"POST","requestID":"ff31dcd0-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F53985f51-d078-43ff-8ed7-4bcea0cc7720': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F53985f51-d078-43ff-8ed7-4bcea0cc7720","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"9d7e9b9e-1ebf-4ba1-bf94-2e1787527e7c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.425418} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"093282a4-bbc4-4d83-83fc-31124e74322c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.4256017} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ff33d8a0-8ba4-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"cb49a348ad2862d991be6a91319dea84","responseTime":18,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1412,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"58480777-418d-449d-a08b-36c079b4a30a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.4322834} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1412,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.241394,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ff33d8a0-8ba4-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151","object_type":"device","rebac_allow":false,"scope_allow":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":"ff33d8a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ff33d8a0-8ba4-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151/signaling 200 11ms","method":"POST","requestID":"ff33d8a0-8ba4-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720","requestID":"cb49a348ad2862d991be6a91319dea84"} gateway-1 | {"time_local":"16/Oct/2024:09:57:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.148","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"cb49a348ad2862d991be6a91319dea84"} experiment-1 | {"level":"info","message":"DELETE /experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720 204 146ms","method":"DELETE","requestID":"cb49a348ad2862d991be6a91319dea84","responseTime":146,"status":204,"url":"/experiments/53985f51-d078-43ff-8ed7-4bcea0cc7720"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 114ms","method":"POST","requestID":"eff8c703e553917e5874dcbdf375ac95","responseTime":114,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57:04 +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":"eff8c703e553917e5874dcbdf375ac95"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 114ms","method":"POST","requestID":"03b98ddce10843fa90f965a52161d64a","responseTime":114,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57:04 +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":"03b98ddce10843fa90f965a52161d64a"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNH0.cp0dUTM3b0murnO9wUJkaiImvVkhBHE2KBnyhXcQGV0","level":"info","message":"auth send jwt","requestID":"41a33d2e862cb42f3b2cf18fdd66f522"} device-1 | {"level":"info","message":"postDevices called","requestID":"41a33d2e862cb42f3b2cf18fdd66f522"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"41a33d2e862cb42f3b2cf18fdd66f522","responseTime":4,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:57:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1743","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":"abb327996fa089c8671afc82078bd9f6"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1413,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1413,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.704139,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"41a33d2e862cb42f3b2cf18fdd66f522","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072624,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNH0.cp0dUTM3b0murnO9wUJkaiImvVkhBHE2KBnyhXcQGV0"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"41a33d2e862cb42f3b2cf18fdd66f522","responseTime":7,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:57:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1746","request_time":"0.621","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"0a7f772d41e5668cb8d5f8e19de68d67"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/00c3ce81-3bf0-4dbd-a9ac-d4e5d4667151' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f6f221b-a081-4b49-a004-6946b2fcefaf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"939dc015-2440-4584-8c3e-6764e2e776fa","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.516674} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"41a33d2e862cb42f3b2cf18fdd66f522","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"46a7bc6d-0ce9-46be-a2b8-1bb52194ab8c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.520612} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"41a33d2e862cb42f3b2cf18fdd66f522","responseTime":3,"status":200,"url":"/relations/update"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/e5658bdd-5b51-4986-99d8-a10dae555cb7' closed"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f6f221b-a081-4b49-a004-6946b2fcefaf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"23f685b6-1860-4ea1-ab21-4856598f9dce","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.5299642} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7708dfda-4e9a-4ff3-968c-a17306cefec6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.530162} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"41a33d2e862cb42f3b2cf18fdd66f522","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f6f221b-a081-4b49-a004-6946b2fcefaf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f6f221b-a081-4b49-a004-6946b2fcefaf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:04.529931294Z"}]},"request_id":"ed095859-d1e6-481c-853d-760b7227d925","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.5333252} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"41a33d2e862cb42f3b2cf18fdd66f522","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"41a33d2e862cb42f3b2cf18fdd66f522"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.047","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"41a33d2e862cb42f3b2cf18fdd66f522"} device-1 | {"level":"info","message":"POST /devices? 201 42ms","method":"POST","requestID":"41a33d2e862cb42f3b2cf18fdd66f522","responseTime":42,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNH0.cp0dUTM3b0murnO9wUJkaiImvVkhBHE2KBnyhXcQGV0","level":"info","message":"auth send jwt","requestID":"d7257d608f28607b576f186e27646201"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"d7257d608f28607b576f186e27646201","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"d7257d608f28607b576f186e27646201"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1414,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1414,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.725143,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:04Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d7257d608f28607b576f186e27646201","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072624,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNH0.cp0dUTM3b0murnO9wUJkaiImvVkhBHE2KBnyhXcQGV0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d7257d608f28607b576f186e27646201","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26adc41d-29b8-4816-aa8f-68ab68737ba8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"2299f296-f658-495b-a9b9-53dda4b3c0b8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.5608625} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d7257d608f28607b576f186e27646201","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b11191ed-5469-40c4-9805-89b51c6e76e2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.5642755} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"d7257d608f28607b576f186e27646201","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26adc41d-29b8-4816-aa8f-68ab68737ba8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"b319e059-5416-423c-aee4-7157f1ba3f3c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.5745306} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4393395f-1d94-4e9a-b0bc-986ab5089057","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.574668} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"d7257d608f28607b576f186e27646201","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26adc41d-29b8-4816-aa8f-68ab68737ba8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26adc41d-29b8-4816-aa8f-68ab68737ba8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:04.574503827Z"}]},"request_id":"61729788-2bcc-48e9-b0c0-ee3dfcdb38bd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072624.5775762} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"d7257d608f28607b576f186e27646201","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"d7257d608f28607b576f186e27646201"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.043","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d7257d608f28607b576f186e27646201"} device-1 | {"level":"info","message":"POST /devices? 201 40ms","method":"POST","requestID":"d7257d608f28607b576f186e27646201","responseTime":40,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"561f20cae611d7d6a864726d7b4421ee","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"561f20cae611d7d6a864726d7b4421ee","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:57:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/4f6f221b-a081-4b49-a004-6946b2fcefaf/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":"561f20cae611d7d6a864726d7b4421ee"} device-1 | {"level":"info","message":"OPTIONS /devices/4f6f221b-a081-4b49-a004-6946b2fcefaf/websocket 200 1ms","method":"OPTIONS","requestID":"561f20cae611d7d6a864726d7b4421ee","responseTime":1,"status":200,"url":"/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNn0.s1c66kNmm_sh_hT0wRIAQI1Ylb_Crv9ebqtaDD6hd88","level":"info","message":"auth send jwt","requestID":"9418d8f6c9e331ce45ef178ec2210a22"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"9418d8f6c9e331ce45ef178ec2210a22","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"9418d8f6c9e331ce45ef178ec2210a22"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0ff69ad53dc0ef50de85e05bd5a4b2f4","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"0ff69ad53dc0ef50de85e05bd5a4b2f4","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:57:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/26adc41d-29b8-4816-aa8f-68ab68737ba8/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","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":"0ff69ad53dc0ef50de85e05bd5a4b2f4"} device-1 | {"level":"info","message":"OPTIONS /devices/26adc41d-29b8-4816-aa8f-68ab68737ba8/websocket 200 1ms","method":"OPTIONS","requestID":"0ff69ad53dc0ef50de85e05bd5a4b2f4","responseTime":1,"status":200,"url":"/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8/websocket"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1415,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1415,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.678969,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"9418d8f6c9e331ce45ef178ec2210a22","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072626,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNn0.s1c66kNmm_sh_hT0wRIAQI1Ylb_Crv9ebqtaDD6hd88"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9418d8f6c9e331ce45ef178ec2210a22","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNn0.s1c66kNmm_sh_hT0wRIAQI1Ylb_Crv9ebqtaDD6hd88","level":"info","message":"auth send jwt","requestID":"b795cc24e19cd113c90576bd3cb3631a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b795cc24e19cd113c90576bd3cb3631a","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"b795cc24e19cd113c90576bd3cb3631a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1416,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1416,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.904215,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b795cc24e19cd113c90576bd3cb3631a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072626,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNn0.s1c66kNmm_sh_hT0wRIAQI1Ylb_Crv9ebqtaDD6hd88"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b795cc24e19cd113c90576bd3cb3631a","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"9418d8f6c9e331ce45ef178ec2210a22"} gateway-1 | {"time_local":"16/Oct/2024:09:57:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/4f6f221b-a081-4b49-a004-6946b2fcefaf/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":"9418d8f6c9e331ce45ef178ec2210a22"} device-1 | {"level":"info","message":"POST /devices/4f6f221b-a081-4b49-a004-6946b2fcefaf/websocket 200 20ms","method":"POST","requestID":"9418d8f6c9e331ce45ef178ec2210a22","responseTime":20,"status":200,"url":"/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"b795cc24e19cd113c90576bd3cb3631a"} gateway-1 | {"time_local":"16/Oct/2024:09:57:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/26adc41d-29b8-4816-aa8f-68ab68737ba8/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":"b795cc24e19cd113c90576bd3cb3631a"} device-1 | {"level":"info","message":"POST /devices/26adc41d-29b8-4816-aa8f-68ab68737ba8/websocket 200 23ms","method":"POST","requestID":"b795cc24e19cd113c90576bd3cb3631a","responseTime":23,"status":200,"url":"/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a0ed65a06fdcecd260fd20adb85a0ee2","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"a0ed65a06fdcecd260fd20adb85a0ee2","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:57:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/4f6f221b-a081-4b49-a004-6946b2fcefaf? 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":"a0ed65a06fdcecd260fd20adb85a0ee2"} device-1 | {"level":"info","message":"OPTIONS /devices/4f6f221b-a081-4b49-a004-6946b2fcefaf? 200 1ms","method":"OPTIONS","requestID":"a0ed65a06fdcecd260fd20adb85a0ee2","responseTime":1,"status":200,"url":"/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e7fe9b27eb0e10a1d4ccc4883b4489b7","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"e7fe9b27eb0e10a1d4ccc4883b4489b7","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:57:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/26adc41d-29b8-4816-aa8f-68ab68737ba8? 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":"e7fe9b27eb0e10a1d4ccc4883b4489b7"} device-1 | {"level":"info","message":"OPTIONS /devices/26adc41d-29b8-4816-aa8f-68ab68737ba8? 200 1ms","method":"OPTIONS","requestID":"e7fe9b27eb0e10a1d4ccc4883b4489b7","responseTime":1,"status":200,"url":"/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNn0.s1c66kNmm_sh_hT0wRIAQI1Ylb_Crv9ebqtaDD6hd88","level":"info","message":"auth send jwt","requestID":"7c31c048a3a4f39fc7afa0dcee264675"} authentication-1 | {"level":"info","message":"GET /auth 200 8ms","method":"GET","requestID":"7c31c048a3a4f39fc7afa0dcee264675","responseTime":8,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"7c31c048a3a4f39fc7afa0dcee264675"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1417,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1417,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.832729,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:06Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNn0.s1c66kNmm_sh_hT0wRIAQI1Ylb_Crv9ebqtaDD6hd88","level":"info","message":"auth send jwt","requestID":"9b694ebfc5c0637cc2ae5a3de4496690"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9b694ebfc5c0637cc2ae5a3de4496690","responseTime":4,"status":200,"url":"/auth"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"7c31c048a3a4f39fc7afa0dcee264675","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072626,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNn0.s1c66kNmm_sh_hT0wRIAQI1Ylb_Crv9ebqtaDD6hd88"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7c31c048a3a4f39fc7afa0dcee264675","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"9b694ebfc5c0637cc2ae5a3de4496690"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1418,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1418,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.889503,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"9b694ebfc5c0637cc2ae5a3de4496690","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072626,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNn0.s1c66kNmm_sh_hT0wRIAQI1Ylb_Crv9ebqtaDD6hd88"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9b694ebfc5c0637cc2ae5a3de4496690","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f6f221b-a081-4b49-a004-6946b2fcefaf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f6f221b-a081-4b49-a004-6946b2fcefaf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:04.529931294Z"}]},"request_id":"9d717433-5633-4644-af73-91ad71cb131d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.630296} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7c31c048a3a4f39fc7afa0dcee264675","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26adc41d-29b8-4816-aa8f-68ab68737ba8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26adc41d-29b8-4816-aa8f-68ab68737ba8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:04.574503827Z"}]},"request_id":"393618dd-18c4-4956-ba8b-eeeba8b5d41f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.6335604} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9b694ebfc5c0637cc2ae5a3de4496690","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ace4d42f-99e3-465c-895b-92adedb5abd8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.635627} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"7c31c048a3a4f39fc7afa0dcee264675","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e5b796da-25f2-4573-b16f-2cc121861a20","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.6405377} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"9b694ebfc5c0637cc2ae5a3de4496690","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f6f221b-a081-4b49-a004-6946b2fcefaf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f6f221b-a081-4b49-a004-6946b2fcefaf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:04.529931294Z"}]},"request_id":"7c5aacf8-0472-44ba-ac60-bdb3721595e9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.6505058} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7c31c048a3a4f39fc7afa0dcee264675","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"7c31c048a3a4f39fc7afa0dcee264675"} device-1 | {"level":"info","message":"PATCH /devices/4f6f221b-a081-4b49-a004-6946b2fcefaf? 200 34ms","method":"PATCH","requestID":"7c31c048a3a4f39fc7afa0dcee264675","responseTime":34,"status":200,"url":"/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf?"} gateway-1 | {"time_local":"16/Oct/2024:09:57:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/4f6f221b-a081-4b49-a004-6946b2fcefaf? 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":"7c31c048a3a4f39fc7afa0dcee264675"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26adc41d-29b8-4816-aa8f-68ab68737ba8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26adc41d-29b8-4816-aa8f-68ab68737ba8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:04.574503827Z"}]},"request_id":"aeaf2a85-c43a-4f56-96f1-509c6701fd04","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.661236} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9b694ebfc5c0637cc2ae5a3de4496690","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"9b694ebfc5c0637cc2ae5a3de4496690"} device-1 | {"level":"info","message":"PATCH /devices/26adc41d-29b8-4816-aa8f-68ab68737ba8? 200 41ms","method":"PATCH","requestID":"9b694ebfc5c0637cc2ae5a3de4496690","responseTime":41,"status":200,"url":"/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8?"} gateway-1 | {"time_local":"16/Oct/2024:09:57:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/26adc41d-29b8-4816-aa8f-68ab68737ba8? HTTP/1.1","status": "200","body_bytes_sent":"1007","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":"9b694ebfc5c0637cc2ae5a3de4496690"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNn0.s1c66kNmm_sh_hT0wRIAQI1Ylb_Crv9ebqtaDD6hd88","level":"info","message":"auth send jwt","requestID":"5ec3fdc2a406fa8e2a9df747c399b940"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"5ec3fdc2a406fa8e2a9df747c399b940","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5ec3fdc2a406fa8e2a9df747c399b940"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1419,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1419,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.809681,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"5ec3fdc2a406fa8e2a9df747c399b940","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072626,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNn0.s1c66kNmm_sh_hT0wRIAQI1Ylb_Crv9ebqtaDD6hd88"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5ec3fdc2a406fa8e2a9df747c399b940","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f6f221b-a081-4b49-a004-6946b2fcefaf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f6f221b-a081-4b49-a004-6946b2fcefaf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:04.529931294Z"}]},"request_id":"b1d8e485-96e9-4375-a506-c2ac97bc101e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.680825} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"5ec3fdc2a406fa8e2a9df747c399b940","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5ec3fdc2a406fa8e2a9df747c399b940"} device-1 | {"level":"info","message":"GET /devices/4f6f221b-a081-4b49-a004-6946b2fcefaf? 200 9ms","method":"GET","requestID":"5ec3fdc2a406fa8e2a9df747c399b940","responseTime":9,"status":200,"url":"/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf?"} gateway-1 | {"time_local":"16/Oct/2024:09:57:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/4f6f221b-a081-4b49-a004-6946b2fcefaf? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5ec3fdc2a406fa8e2a9df747c399b940"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNn0.s1c66kNmm_sh_hT0wRIAQI1Ylb_Crv9ebqtaDD6hd88","level":"info","message":"auth send jwt","requestID":"0c83ae704338f4a5e7d3e07fd41296e6"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0c83ae704338f4a5e7d3e07fd41296e6","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0c83ae704338f4a5e7d3e07fd41296e6"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1420,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1420,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.983815,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0c83ae704338f4a5e7d3e07fd41296e6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072626,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNn0.s1c66kNmm_sh_hT0wRIAQI1Ylb_Crv9ebqtaDD6hd88"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0c83ae704338f4a5e7d3e07fd41296e6","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26adc41d-29b8-4816-aa8f-68ab68737ba8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26adc41d-29b8-4816-aa8f-68ab68737ba8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:04.574503827Z"}]},"request_id":"7c351a36-5683-441d-930b-96d136eaad00","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.6978962} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0c83ae704338f4a5e7d3e07fd41296e6","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0c83ae704338f4a5e7d3e07fd41296e6"} device-1 | {"level":"info","message":"GET /devices/26adc41d-29b8-4816-aa8f-68ab68737ba8? 200 11ms","method":"GET","requestID":"0c83ae704338f4a5e7d3e07fd41296e6","responseTime":11,"status":200,"url":"/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8?"} gateway-1 | {"time_local":"16/Oct/2024:09:57:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/26adc41d-29b8-4816-aa8f-68ab68737ba8? 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":"0c83ae704338f4a5e7d3e07fd41296e6"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNn0.s1c66kNmm_sh_hT0wRIAQI1Ylb_Crv9ebqtaDD6hd88","level":"info","message":"auth send jwt","requestID":"87a000798ceeef2f3fbbe30255394e0a"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"87a000798ceeef2f3fbbe30255394e0a","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"87a000798ceeef2f3fbbe30255394e0a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1421,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1421,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.418705,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"87a000798ceeef2f3fbbe30255394e0a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072626,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNn0.s1c66kNmm_sh_hT0wRIAQI1Ylb_Crv9ebqtaDD6hd88"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"87a000798ceeef2f3fbbe30255394e0a","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c"},"level":"info","message":"Attempting to run experiment","requestID":"87a000798ceeef2f3fbbe30255394e0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c"},"level":"info","message":"Attempting to book experiment","requestID":"87a000798ceeef2f3fbbe30255394e0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c"},"level":"info","message":"Successfully booked experiment","requestID":"87a000798ceeef2f3fbbe30255394e0a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"009600b0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"009627c0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1422,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1422,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.327726,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1423,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"009600b0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072626,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNn0.s1c66kNmm_sh_hT0wRIAQI1Ylb_Crv9ebqtaDD6hd88"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"009600b0-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1423,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.683198,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"009627c0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072626,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNn0.s1c66kNmm_sh_hT0wRIAQI1Ylb_Crv9ebqtaDD6hd88"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"009627c0-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f6f221b-a081-4b49-a004-6946b2fcefaf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f6f221b-a081-4b49-a004-6946b2fcefaf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:04.529931294Z"}]},"request_id":"86b616d3-b90b-46fd-a073-58ea9b79afa8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.7561285} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"009600b0-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26adc41d-29b8-4816-aa8f-68ab68737ba8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26adc41d-29b8-4816-aa8f-68ab68737ba8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:04.574503827Z"}]},"request_id":"fcb7b473-ab76-4513-b171-e83ab0b89b42","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.75747} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"009627c0-8ba5-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"009600b0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/4f6f221b-a081-4b49-a004-6946b2fcefaf? 200 14ms","method":"GET","requestID":"009600b0-8ba5-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"009627c0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/26adc41d-29b8-4816-aa8f-68ab68737ba8? 200 14ms","method":"GET","requestID":"009627c0-8ba5-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c"},"level":"info","message":"Setting up experiment","requestID":"87a000798ceeef2f3fbbe30255394e0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"87a000798ceeef2f3fbbe30255394e0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c"},"level":"info","message":"Successfully locked booking for experiment","requestID":"87a000798ceeef2f3fbbe30255394e0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"87a000798ceeef2f3fbbe30255394e0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"87a000798ceeef2f3fbbe30255394e0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c"},"level":"info","message":"Attempting to update booking for experiment","requestID":"87a000798ceeef2f3fbbe30255394e0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c"},"level":"info","message":"Successfully updated booking for experiment","requestID":"87a000798ceeef2f3fbbe30255394e0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c"},"level":"info","message":"Successfully set up experiment","requestID":"87a000798ceeef2f3fbbe30255394e0a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"009f0160-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"009f2870-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"009f4f80-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1424,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:06Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c"},"level":"info","message":"Successfully running experiment","requestID":"87a000798ceeef2f3fbbe30255394e0a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1424,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.655121,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1425,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"009f0160-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072626,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNn0.s1c66kNmm_sh_hT0wRIAQI1Ylb_Crv9ebqtaDD6hd88"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"009f0160-8ba5-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1425,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.623468,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"009f2870-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072626,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNn0.s1c66kNmm_sh_hT0wRIAQI1Ylb_Crv9ebqtaDD6hd88"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"009f2870-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1426,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f6f221b-a081-4b49-a004-6946b2fcefaf","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6d12e091-2dff-4666-84f6-73db7918dbd6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.8133576} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f6f221b-a081-4b49-a004-6946b2fcefaf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f6f221b-a081-4b49-a004-6946b2fcefaf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:04.529931294Z"}]},"request_id":"9d2cc87c-38d0-4894-b5d4-804666ad3ca0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.815464} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1426,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.67365,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57: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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26adc41d-29b8-4816-aa8f-68ab68737ba8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26adc41d-29b8-4816-aa8f-68ab68737ba8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:04.574503827Z"}]},"request_id":"8a349444-6cf8-4402-9b55-6adfdfea35b2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.81609} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"009f4f80-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf","object_type":"device","rebac_allow":false,"scope_allow":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":"009f4f80-8ba5-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"009f0160-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"009f2870-8ba5-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"009f4f80-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/4f6f221b-a081-4b49-a004-6946b2fcefaf/signaling 200 13ms","method":"POST","requestID":"009f4f80-8ba5-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"009f0160-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/4f6f221b-a081-4b49-a004-6946b2fcefaf? 200 16ms","method":"GET","requestID":"009f0160-8ba5-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"009f2870-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/26adc41d-29b8-4816-aa8f-68ab68737ba8? 200 16ms","method":"GET","requestID":"009f2870-8ba5-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"00a1c080-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"00a1e790-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1427,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1428,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26adc41d-29b8-4816-aa8f-68ab68737ba8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"554eb6c3-298f-4603-b594-5884e1f156b5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.8285058} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1427,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.545377,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1428,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.386111,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"00a1c080-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8","object_type":"device","rebac_allow":false,"scope_allow":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":"00a1c080-8ba5-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f6f221b-a081-4b49-a004-6946b2fcefaf","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"07c3f637-b504-4e5c-a65a-aabfe727a7fa","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.8296676} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fdcaf4441-2e85-4979-8c58-b63d654dbc0c#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fdcaf4441-2e85-4979-8c58-b63d654dbc0c","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"7838fbca-a234-4e78-9450-6e5e23f8ea5d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.830367} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e5653206-04f2-4100-935c-b2b708504759","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.8307443} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"00a1e790-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf","object_type":"device","rebac_allow":false,"scope_allow":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":"00a1e790-8ba5-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"87a000798ceeef2f3fbbe30255394e0a","responseTime":23,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"00a1c080-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/26adc41d-29b8-4816-aa8f-68ab68737ba8/signaling 200 12ms","method":"POST","requestID":"00a1c080-8ba5-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"00a1e790-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/4f6f221b-a081-4b49-a004-6946b2fcefaf/signaling 200 12ms","method":"POST","requestID":"00a1e790-8ba5-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"00a43180-8ba5-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"87a000798ceeef2f3fbbe30255394e0a"} gateway-1 | {"time_local":"16/Oct/2024:09:57:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1212","request_time":"0.141","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"87a000798ceeef2f3fbbe30255394e0a"} experiment-1 | {"level":"info","message":"POST /experiments? 201 135ms","method":"POST","requestID":"87a000798ceeef2f3fbbe30255394e0a","responseTime":135,"status":201,"url":"/experiments?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1429,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26adc41d-29b8-4816-aa8f-68ab68737ba8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"32f39d81-4097-44e2-a2ef-9e04407e29eb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.8449376} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1429,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.301732,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"00a43180-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8","object_type":"device","rebac_allow":false,"scope_allow":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":"00a43180-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNn0.s1c66kNmm_sh_hT0wRIAQI1Ylb_Crv9ebqtaDD6hd88","level":"info","message":"auth send jwt","requestID":"6d6c6e4944dc7a4509275db97d2ac04d"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"6d6c6e4944dc7a4509275db97d2ac04d","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6d6c6e4944dc7a4509275db97d2ac04d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"00a43180-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/26adc41d-29b8-4816-aa8f-68ab68737ba8/signaling 200 9ms","method":"POST","requestID":"00a43180-8ba5-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8/signaling"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1430,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:06Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"87a000798ceeef2f3fbbe30255394e0a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1430,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.45487,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:06Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"00a5df30-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"6d6c6e4944dc7a4509275db97d2ac04d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072626,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNn0.s1c66kNmm_sh_hT0wRIAQI1Ylb_Crv9ebqtaDD6hd88"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"6d6c6e4944dc7a4509275db97d2ac04d","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"00a60640-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1431,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1431,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.675582,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1432,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1432,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.643347,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"00a5df30-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072626,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNn0.s1c66kNmm_sh_hT0wRIAQI1Ylb_Crv9ebqtaDD6hd88"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"00a5df30-8ba5-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"00a60640-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072626,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNn0.s1c66kNmm_sh_hT0wRIAQI1Ylb_Crv9ebqtaDD6hd88"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"00a60640-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f6f221b-a081-4b49-a004-6946b2fcefaf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f6f221b-a081-4b49-a004-6946b2fcefaf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:04.529931294Z"}]},"request_id":"96d75dce-127e-4233-be74-4f3ba5a998a2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.8563316} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"6d6c6e4944dc7a4509275db97d2ac04d","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f6f221b-a081-4b49-a004-6946b2fcefaf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f6f221b-a081-4b49-a004-6946b2fcefaf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:04.529931294Z"}]},"request_id":"5486b78f-7217-422c-93b7-e6030d2e6bec","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.8593826} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6d6c6e4944dc7a4509275db97d2ac04d"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"00a5df30-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26adc41d-29b8-4816-aa8f-68ab68737ba8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26adc41d-29b8-4816-aa8f-68ab68737ba8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:04.574503827Z"}]},"request_id":"4d6251e9-dae3-49b2-a3ee-efe5a1c00866","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.8600962} gateway-1 | {"time_local":"16/Oct/2024:09:57:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/4f6f221b-a081-4b49-a004-6946b2fcefaf? 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":"6d6c6e4944dc7a4509275db97d2ac04d"} device-1 | {"level":"info","message":"GET /devices/4f6f221b-a081-4b49-a004-6946b2fcefaf? 200 12ms","method":"GET","requestID":"6d6c6e4944dc7a4509275db97d2ac04d","responseTime":12,"status":200,"url":"/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf?"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"00a60640-8ba5-11ef-a62f-5f7f958aa687","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"00a5df30-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/4f6f221b-a081-4b49-a004-6946b2fcefaf? 200 13ms","method":"GET","requestID":"00a5df30-8ba5-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNn0.s1c66kNmm_sh_hT0wRIAQI1Ylb_Crv9ebqtaDD6hd88","level":"info","message":"auth send jwt","requestID":"042885466ceb914e81de0451aca9fd85"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"042885466ceb914e81de0451aca9fd85","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"00a60640-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/26adc41d-29b8-4816-aa8f-68ab68737ba8? 200 13ms","method":"GET","requestID":"00a60640-8ba5-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8?"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"042885466ceb914e81de0451aca9fd85"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c"},"level":"info","message":"Building connection plan","requestID":"87a000798ceeef2f3fbbe30255394e0a"} 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":"2101d56b-c3d1-4a7f-acce-10e02040e30c"},{"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":"d8ec2dff-bafc-43cc-a92a-56c52431d8b3"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"df69da1c-d1b9-468e-8af9-6b57ffb5de2c"}]},"level":"info","message":"Built pairwise service configurations","requestID":"87a000798ceeef2f3fbbe30255394e0a"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"00a85030-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"00a85030-8ba5-11ef-a042-213954f0282b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1433,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:06Z"} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"00a85030-8ba5-11ef-a042-213954f0282b","responseTime":1,"status":201,"url":"/rooms"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1433,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.905311,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:06Z"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/86f03f3e-4871-4ded-b1e1-1bb9dbfa3a2a?id=4b4f0dfb-4705-45a1-a7ff-72318b4c493e","ws://localhost/rooms/86f03f3e-4871-4ded-b1e1-1bb9dbfa3a2a?id=81a61c0a-ce73-4cd8-9b2e-6091df8f6721"]},"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/26adc41d-29b8-4816-aa8f-68ab68737ba8"},{"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/4f6f221b-a081-4b49-a004-6946b2fcefaf"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"87a000798ceeef2f3fbbe30255394e0a"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"042885466ceb914e81de0451aca9fd85","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072626,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNn0.s1c66kNmm_sh_hT0wRIAQI1Ylb_Crv9ebqtaDD6hd88"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"042885466ceb914e81de0451aca9fd85","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"00a8ec70-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26adc41d-29b8-4816-aa8f-68ab68737ba8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26adc41d-29b8-4816-aa8f-68ab68737ba8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:04.574503827Z"}]},"request_id":"73d22e1c-0d9d-4484-a459-c1cffce95609","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.8729775} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"042885466ceb914e81de0451aca9fd85","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1434,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1434,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.755499,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"00a8ec70-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072626,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyNn0.s1c66kNmm_sh_hT0wRIAQI1Ylb_Crv9ebqtaDD6hd88"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"00a8ec70-8ba5-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"042885466ceb914e81de0451aca9fd85"} gateway-1 | {"time_local":"16/Oct/2024:09:57:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/26adc41d-29b8-4816-aa8f-68ab68737ba8? 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":"042885466ceb914e81de0451aca9fd85"} device-1 | {"level":"info","message":"GET /devices/26adc41d-29b8-4816-aa8f-68ab68737ba8? 200 13ms","method":"GET","requestID":"042885466ceb914e81de0451aca9fd85","responseTime":13,"status":200,"url":"/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"07325abc-97c0-4048-85e7-1a42f8c4d629","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.883654} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"145f1d76-52a6-4c15-8fea-b84d630b86a2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.8839126} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"00a8ec70-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"00a8ec70-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"00a8ec70-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/c8ed6953-15e1-4354-8031-6b487541734e'","requestID":"00a8ec70-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/c8ed6953-15e1-4354-8031-6b487541734e'","requestID":"00a8ec70-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"00a8ec70-8ba5-11ef-a62f-5f7f958aa687"} 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":"00a8ec70-8ba5-11ef-a62f-5f7f958aa687","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":"00a8ec70-8ba5-11ef-a62f-5f7f958aa687"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"00ae6ab0-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"4b4f0dfb-4705-45a1-a7ff-72318b4c493e\" in room \"http://localhost/rooms/86f03f3e-4871-4ded-b1e1-1bb9dbfa3a2a\"","requestID":"00ae6ab0-8ba5-11ef-a042-213954f0282b"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/c8ed6953-15e1-4354-8031-6b487541734e' to 'http://localhost/callbacks/experiment'"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"00ae6ab0-8ba5-11ef-a042-213954f0282b"} device-1 | {"data":{"peerconnection":"c8ed6953-15e1-4354-8031-6b487541734e","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"00aeb8d0-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"81a61c0a-ce73-4cd8-9b2e-6091df8f6721\" in room \"http://localhost/rooms/86f03f3e-4871-4ded-b1e1-1bb9dbfa3a2a\"","requestID":"00aeb8d0-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"00aeb8d0-8ba5-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b8813b521d577a32c7a3db8007a51494","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"b8813b521d577a32c7a3db8007a51494","responseTime":1,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"4b4f0dfb-4705-45a1-a7ff-72318b4c493e\" in room \"http://localhost/rooms/86f03f3e-4871-4ded-b1e1-1bb9dbfa3a2a\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"4b4f0dfb-4705-45a1-a7ff-72318b4c493e\" in room \"http://localhost/rooms/86f03f3e-4871-4ded-b1e1-1bb9dbfa3a2a\""} 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/26adc41d-29b8-4816-aa8f-68ab68737ba8"},{"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/4f6f221b-a081-4b49-a004-6946b2fcefaf"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/c8ed6953-15e1-4354-8031-6b487541734e"}}},"level":"info","message":"received a callback","requestID":"b8813b521d577a32c7a3db8007a51494"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"4b4f0dfb-4705-45a1-a7ff-72318b4c493e\" in room \"http://localhost/rooms/86f03f3e-4871-4ded-b1e1-1bb9dbfa3a2a\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"4b4f0dfb-4705-45a1-a7ff-72318b4c493e\" in room \"http://localhost/rooms/86f03f3e-4871-4ded-b1e1-1bb9dbfa3a2a\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"4b4f0dfb-4705-45a1-a7ff-72318b4c493e\" in room \"http://localhost/rooms/86f03f3e-4871-4ded-b1e1-1bb9dbfa3a2a\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"4b4f0dfb-4705-45a1-a7ff-72318b4c493e\" in room \"http://localhost/rooms/86f03f3e-4871-4ded-b1e1-1bb9dbfa3a2a\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"4b4f0dfb-4705-45a1-a7ff-72318b4c493e\" in room \"http://localhost/rooms/86f03f3e-4871-4ded-b1e1-1bb9dbfa3a2a\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"4b4f0dfb-4705-45a1-a7ff-72318b4c493e\" in room \"http://localhost/rooms/86f03f3e-4871-4ded-b1e1-1bb9dbfa3a2a\""} device-1 | {"data":{"peerconnection":"c8ed6953-15e1-4354-8031-6b487541734e","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 10ms","method":"POST","requestID":"b8813b521d577a32c7a3db8007a51494","responseTime":10,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.013","http_referrer":"","http_user_agent":"node-fetch","requestID":"b8813b521d577a32c7a3db8007a51494"} device-1 | {"data":{"peerconnection":"c8ed6953-15e1-4354-8031-6b487541734e","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"87a000798ceeef2f3fbbe30255394e0a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"00b2fe90-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1435,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f6f221b-a081-4b49-a004-6946b2fcefaf","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"aabd0211-0a74-4f47-9991-071c43bc9f47","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.9411643} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1435,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.150414,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"00b2fe90-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf","object_type":"device","rebac_allow":false,"scope_allow":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":"00b2fe90-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/c8ed6953-15e1-4354-8031-6b487541734e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"c8ed6953-15e1-4354-8031-6b487541734e","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"00b2fe90-8ba5-11ef-a62f-5f7f958aa687"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7e18e0e4288dc2965b5525e0c71f27b4","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"7e18e0e4288dc2965b5525e0c71f27b4","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"POST /devices/4f6f221b-a081-4b49-a004-6946b2fcefaf/signaling 200 12ms","method":"POST","requestID":"00b2fe90-8ba5-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf/signaling"} 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/26adc41d-29b8-4816-aa8f-68ab68737ba8"},{"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/4f6f221b-a081-4b49-a004-6946b2fcefaf"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/c8ed6953-15e1-4354-8031-6b487541734e"}}},"level":"info","message":"received a callback","requestID":"7e18e0e4288dc2965b5525e0c71f27b4"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"00b4fa60-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1436,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26adc41d-29b8-4816-aa8f-68ab68737ba8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"df710d5b-eaa3-41fa-a73a-fe3b4f570b96","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.954471} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1436,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.3832,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:06Z"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"00b5bdb0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"00b4fa60-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8","object_type":"device","rebac_allow":false,"scope_allow":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":"00b4fa60-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1437,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fc8ed6953-15e1-4354-8031-6b487541734e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fa1c44b4-bb4b-4e21-b3e5-b1414adc4826","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.9586775} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1437,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":1.96595,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/c8ed6953-15e1-4354-8031-6b487541734e","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"00b5bdb0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/c8ed6953-15e1-4354-8031-6b487541734e","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":"00b5bdb0-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"00b4fa60-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/26adc41d-29b8-4816-aa8f-68ab68737ba8/signaling 200 12ms","method":"POST","requestID":"00b4fa60-8ba5-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8/signaling"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"00b5bdb0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/c8ed6953-15e1-4354-8031-6b487541734e 200 8ms","method":"GET","requestID":"00b5bdb0-8ba5-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/peerconnections/c8ed6953-15e1-4354-8031-6b487541734e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 23ms","method":"POST","requestID":"7e18e0e4288dc2965b5525e0c71f27b4","responseTime":23,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.027","http_referrer":"","http_user_agent":"node-fetch","requestID":"7e18e0e4288dc2965b5525e0c71f27b4"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"00b8caf0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1438,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26adc41d-29b8-4816-aa8f-68ab68737ba8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"80638252-ff80-4c64-bb83-170d37ffb498","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.978935} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1438,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.444343,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"00b8caf0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8","object_type":"device","rebac_allow":false,"scope_allow":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":"00b8caf0-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"00b8caf0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/26adc41d-29b8-4816-aa8f-68ab68737ba8/signaling 200 7ms","method":"POST","requestID":"00b8caf0-8ba5-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"00ba2a80-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1439,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f6f221b-a081-4b49-a004-6946b2fcefaf","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7520f47b-08bd-48a3-addc-68b1b4cd6372","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072626.9882534} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1439,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.184194,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:06Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"00ba2a80-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf","object_type":"device","rebac_allow":false,"scope_allow":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":"00ba2a80-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"00ba2a80-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/4f6f221b-a081-4b49-a004-6946b2fcefaf/signaling 200 8ms","method":"POST","requestID":"00ba2a80-8ba5-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyN30._bfNNhQw6rcftHosn4SUSal-C-UeFJCDT19VTlO70TM","level":"info","message":"auth send jwt","requestID":"ece0d4aa712b890d31df30836a2306ea"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ece0d4aa712b890d31df30836a2306ea","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c","requestID":"ece0d4aa712b890d31df30836a2306ea"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1440,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:07Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1440,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.126457,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ece0d4aa712b890d31df30836a2306ea","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072627,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyN30._bfNNhQw6rcftHosn4SUSal-C-UeFJCDT19VTlO70TM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ece0d4aa712b890d31df30836a2306ea","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c","requestID":"ece0d4aa712b890d31df30836a2306ea"} gateway-1 | {"time_local":"16/Oct/2024:09:57:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c 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":"ece0d4aa712b890d31df30836a2306ea"} experiment-1 | {"level":"info","message":"GET /experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c 200 12ms","method":"GET","requestID":"ece0d4aa712b890d31df30836a2306ea","responseTime":12,"status":200,"url":"/experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyN30._bfNNhQw6rcftHosn4SUSal-C-UeFJCDT19VTlO70TM","level":"info","message":"auth send jwt","requestID":"0012d43977145dc758e51af1c95ab8bd"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"0012d43977145dc758e51af1c95ab8bd","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c","requestID":"0012d43977145dc758e51af1c95ab8bd"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1441,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:07Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1441,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.873987,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:07Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0012d43977145dc758e51af1c95ab8bd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072627,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyN30._bfNNhQw6rcftHosn4SUSal-C-UeFJCDT19VTlO70TM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0012d43977145dc758e51af1c95ab8bd","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c"},"level":"info","message":"Attempting to finish experiment","requestID":"0012d43977145dc758e51af1c95ab8bd"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"00c4fff0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1442,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:07Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1442,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.004728,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:07Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/c8ed6953-15e1-4354-8031-6b487541734e","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"00c4fff0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/c8ed6953-15e1-4354-8031-6b487541734e","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072627,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyN30._bfNNhQw6rcftHosn4SUSal-C-UeFJCDT19VTlO70TM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"00c4fff0-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/c8ed6953-15e1-4354-8031-6b487541734e","device":"4f6f221b-a081-4b49-a004-6946b2fcefaf","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} gateway-1 | {"time_local":"16/Oct/2024:09:57:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/86f03f3e-4871-4ded-b1e1-1bb9dbfa3a2a?id=81a61c0a-ce73-4cd8-9b2e-6091df8f6721 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":"a01e8db57e4fb922233b3abf796f0812"} gateway-1 | {"time_local":"16/Oct/2024:09:57:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/86f03f3e-4871-4ded-b1e1-1bb9dbfa3a2a?id=4b4f0dfb-4705-45a1-a7ff-72318b4c493e HTTP/1.1","status": "101","body_bytes_sent":"874","request_time":"0.165","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"031fd2e58fc32bc614a053161e67715a"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/c8ed6953-15e1-4354-8031-6b487541734e","device":"26adc41d-29b8-4816-aa8f-68ab68737ba8","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"81a61c0a-ce73-4cd8-9b2e-6091df8f6721\" in room \"http://localhost/rooms/86f03f3e-4871-4ded-b1e1-1bb9dbfa3a2a\""} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/c8ed6953-15e1-4354-8031-6b487541734e' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/c8ed6953-15e1-4354-8031-6b487541734e' to 'http://localhost/callbacks/experiment'"} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"81a61c0a-ce73-4cd8-9b2e-6091df8f6721\" from room \"http://localhost/rooms/86f03f3e-4871-4ded-b1e1-1bb9dbfa3a2a\", code: 1005, reason: "} device-1 | {"data":{"peerconnection":"c8ed6953-15e1-4354-8031-6b487541734e","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"4b4f0dfb-4705-45a1-a7ff-72318b4c493e\" in room \"http://localhost/rooms/86f03f3e-4871-4ded-b1e1-1bb9dbfa3a2a\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"4b4f0dfb-4705-45a1-a7ff-72318b4c493e\" from room \"http://localhost/rooms/86f03f3e-4871-4ded-b1e1-1bb9dbfa3a2a\", code: 1005, reason: "} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fc8ed6953-15e1-4354-8031-6b487541734e': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fc8ed6953-15e1-4354-8031-6b487541734e","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"f3b04f59-7508-4a23-8f0e-a03f4e1ac5a3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072627.0759234} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"76ac960cc5485b5534cdc3a485ea836d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ea0e7757-4168-45b0-8f6d-7e5424cf4c67","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072627.0764687} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"76ac960cc5485b5534cdc3a485ea836d","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"00c4fff0-8ba5-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e89022fe7d32db0f6c5bfe580d1778a2","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"connected","url":"http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8"},{"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/4f6f221b-a081-4b49-a004-6946b2fcefaf"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/c8ed6953-15e1-4354-8031-6b487541734e"}}},"level":"info","message":"received a callback","requestID":"76ac960cc5485b5534cdc3a485ea836d"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"e89022fe7d32db0f6c5bfe580d1778a2","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":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8"},{"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/4f6f221b-a081-4b49-a004-6946b2fcefaf"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/c8ed6953-15e1-4354-8031-6b487541734e"}}},"level":"info","message":"received a callback","requestID":"e89022fe7d32db0f6c5bfe580d1778a2"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"00c4fff0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/c8ed6953-15e1-4354-8031-6b487541734e 204 44ms","method":"DELETE","requestID":"00c4fff0-8ba5-11ef-a62f-5f7f958aa687","responseTime":44,"status":204,"url":"/peerconnections/c8ed6953-15e1-4354-8031-6b487541734e"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8'"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf'"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c"},"level":"info","message":"Successfully finished experiment","requestID":"0012d43977145dc758e51af1c95ab8bd"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"00ceeb00-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1443,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:07Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26adc41d-29b8-4816-aa8f-68ab68737ba8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e8933930-b085-4b5d-a1b5-bce15b0c37b1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072627.1267116} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1443,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.912821,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"00ceeb00-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8","object_type":"device","rebac_allow":false,"scope_allow":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":"00ceeb00-8ba5-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"00ceeb00-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/26adc41d-29b8-4816-aa8f-68ab68737ba8/signaling 200 13ms","method":"POST","requestID":"00ceeb00-8ba5-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fdcaf4441-2e85-4979-8c58-b63d654dbc0c': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fdcaf4441-2e85-4979-8c58-b63d654dbc0c","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"88c7dc3e-86e1-434a-a932-d4bfbe90a7cb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072627.13428} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"00d18310-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"23eb245d-157b-4c98-98ff-ee850a580de9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072627.1363153} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"0012d43977145dc758e51af1c95ab8bd","responseTime":21,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1444,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:07Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f6f221b-a081-4b49-a004-6946b2fcefaf","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"893b3d02-ef85-44da-9293-624545ba43a3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072627.1441295} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1444,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.855965,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"00d18310-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf","object_type":"device","rebac_allow":false,"scope_allow":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":"00d18310-8ba5-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"00d18310-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/4f6f221b-a081-4b49-a004-6946b2fcefaf/signaling 200 13ms","method":"POST","requestID":"00d18310-8ba5-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/4f6f221b-a081-4b49-a004-6946b2fcefaf/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c","requestID":"0012d43977145dc758e51af1c95ab8bd"} gateway-1 | {"time_local":"16/Oct/2024:09:57:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.162","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0012d43977145dc758e51af1c95ab8bd"} experiment-1 | {"level":"info","message":"DELETE /experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c 204 158ms","method":"DELETE","requestID":"0012d43977145dc758e51af1c95ab8bd","responseTime":158,"status":204,"url":"/experiments/dcaf4441-2e85-4979-8c58-b63d654dbc0c"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 122ms","method":"POST","requestID":"76ac960cc5485b5534cdc3a485ea836d","responseTime":122,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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":"76ac960cc5485b5534cdc3a485ea836d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 121ms","method":"POST","requestID":"e89022fe7d32db0f6c5bfe580d1778a2","responseTime":121,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.128","http_referrer":"","http_user_agent":"node-fetch","requestID":"e89022fe7d32db0f6c5bfe580d1778a2"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyN30._bfNNhQw6rcftHosn4SUSal-C-UeFJCDT19VTlO70TM","level":"info","message":"auth send jwt","requestID":"0bec97d4fa20e7c2fa42e2d2ef487f2f"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0bec97d4fa20e7c2fa42e2d2ef487f2f","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"0bec97d4fa20e7c2fa42e2d2ef487f2f"} gateway-1 | {"time_local":"16/Oct/2024:09:57:07 +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.622","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"b6bc640e97ffd087bc717905be21cf56"} gateway-1 | {"time_local":"16/Oct/2024:09:57:07 +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.632","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"b960458c631de7544b0c3e3de0de6c8a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1445,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:07Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1445,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.873196,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:07Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0bec97d4fa20e7c2fa42e2d2ef487f2f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072627,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyN30._bfNNhQw6rcftHosn4SUSal-C-UeFJCDT19VTlO70TM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0bec97d4fa20e7c2fa42e2d2ef487f2f","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/4f6f221b-a081-4b49-a004-6946b2fcefaf' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/26adc41d-29b8-4816-aa8f-68ab68737ba8' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75525f86-b6be-46d7-9c88-134733776e81","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"35cfe3af-8ef2-4af8-9f61-ee8b52079da2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072627.2332642} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0bec97d4fa20e7c2fa42e2d2ef487f2f","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"13f4dd78-c1a5-4c2b-8de4-6d46c60edae5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072627.2374032} authorization-1 | {"level":"info","message":"POST /relations/update 200 2ms","method":"POST","requestID":"0bec97d4fa20e7c2fa42e2d2ef487f2f","responseTime":2,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75525f86-b6be-46d7-9c88-134733776e81","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"a3b5d894-60d9-4bdf-903f-197ae9b3d061","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072627.2479672} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"218f37d9-8970-474e-8fc4-31ce79b61648","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072627.2480786} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"0bec97d4fa20e7c2fa42e2d2ef487f2f","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75525f86-b6be-46d7-9c88-134733776e81","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75525f86-b6be-46d7-9c88-134733776e81","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:07.247938811Z"}]},"request_id":"49575748-db6e-43a7-923d-6e2e471e7cfd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072627.2512195} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0bec97d4fa20e7c2fa42e2d2ef487f2f","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"0bec97d4fa20e7c2fa42e2d2ef487f2f"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"0bec97d4fa20e7c2fa42e2d2ef487f2f","responseTime":47,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:57:07 +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":"0bec97d4fa20e7c2fa42e2d2ef487f2f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyN30._bfNNhQw6rcftHosn4SUSal-C-UeFJCDT19VTlO70TM","level":"info","message":"auth send jwt","requestID":"43c3a04fa909f64684c0e9e7d6ad3886"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"43c3a04fa909f64684c0e9e7d6ad3886","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"43c3a04fa909f64684c0e9e7d6ad3886"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1446,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:07Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1446,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.886415,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:07Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"43c3a04fa909f64684c0e9e7d6ad3886","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072627,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyN30._bfNNhQw6rcftHosn4SUSal-C-UeFJCDT19VTlO70TM"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"43c3a04fa909f64684c0e9e7d6ad3886","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"0332e5c2-c358-4957-89bc-ad3afc730e57","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072627.275527} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"43c3a04fa909f64684c0e9e7d6ad3886","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4fe439d1-2714-46e2-8d9c-be7a91e913dd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072627.2791984} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"43c3a04fa909f64684c0e9e7d6ad3886","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"8cefa4b1-91fc-4d9f-9748-e09688349dd9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072627.2878118} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"acc3f81f-6e46-483b-9830-41c13203dee6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072627.2879} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"43c3a04fa909f64684c0e9e7d6ad3886","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:07.287780718Z"}]},"request_id":"68ef55e6-5491-4411-b0c5-9dad5b914d7e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072627.2911046} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"43c3a04fa909f64684c0e9e7d6ad3886","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"43c3a04fa909f64684c0e9e7d6ad3886"} device-1 | {"level":"info","message":"POST /devices? 201 33ms","method":"POST","requestID":"43c3a04fa909f64684c0e9e7d6ad3886","responseTime":33,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.038","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"43c3a04fa909f64684c0e9e7d6ad3886"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyN30._bfNNhQw6rcftHosn4SUSal-C-UeFJCDT19VTlO70TM","level":"info","message":"auth send jwt","requestID":"aee3d26f1d8b5ece59e1683b31aa9f5e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"aee3d26f1d8b5ece59e1683b31aa9f5e","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"aee3d26f1d8b5ece59e1683b31aa9f5e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1447,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:07Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1447,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.67935,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:07Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"aee3d26f1d8b5ece59e1683b31aa9f5e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072627,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyN30._bfNNhQw6rcftHosn4SUSal-C-UeFJCDT19VTlO70TM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"aee3d26f1d8b5ece59e1683b31aa9f5e","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:07.287780718Z"}]},"request_id":"c2ed818d-caf5-41a9-bc1b-0d153eb34fb2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072627.7778654} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"aee3d26f1d8b5ece59e1683b31aa9f5e","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"79c32786-9fcd-4741-8e4a-6c105ab67329","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072627.7825682} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"aee3d26f1d8b5ece59e1683b31aa9f5e","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:07.287780718Z"}]},"request_id":"12a0e3a4-e25b-4fa4-ac4c-68a17c9a8064","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072627.7954094} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"aee3d26f1d8b5ece59e1683b31aa9f5e","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"aee3d26f1d8b5ece59e1683b31aa9f5e"} device-1 | {"level":"info","message":"PATCH /devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b 200 30ms","method":"PATCH","requestID":"aee3d26f1d8b5ece59e1683b31aa9f5e","responseTime":30,"status":200,"url":"/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b"} gateway-1 | {"time_local":"16/Oct/2024:09:57:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.036","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"aee3d26f1d8b5ece59e1683b31aa9f5e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyN30._bfNNhQw6rcftHosn4SUSal-C-UeFJCDT19VTlO70TM","level":"info","message":"auth send jwt","requestID":"6e19e079aa5750122727edcd3c662847"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"6e19e079aa5750122727edcd3c662847","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"6e19e079aa5750122727edcd3c662847"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1448,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:07Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1448,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.397882,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:07Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"6e19e079aa5750122727edcd3c662847","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072627,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyN30._bfNNhQw6rcftHosn4SUSal-C-UeFJCDT19VTlO70TM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6e19e079aa5750122727edcd3c662847","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"6e19e079aa5750122727edcd3c662847"} device-1 | {"level":"info","message":"POST /devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b/websocket 200 17ms","method":"POST","requestID":"6e19e079aa5750122727edcd3c662847","responseTime":17,"status":200,"url":"/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:57:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b/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.10","requestID":"6e19e079aa5750122727edcd3c662847"} device-1 | {"level":"info","message":"device 'http://localhost/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"825c0b7641f8d6a0f77dc5651953954d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"825c0b7641f8d6a0f77dc5651953954d","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:57:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/75525f86-b6be-46d7-9c88-134733776e81/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":"825c0b7641f8d6a0f77dc5651953954d"} device-1 | {"level":"info","message":"OPTIONS /devices/75525f86-b6be-46d7-9c88-134733776e81/websocket 200 1ms","method":"OPTIONS","requestID":"825c0b7641f8d6a0f77dc5651953954d","responseTime":1,"status":200,"url":"/devices/75525f86-b6be-46d7-9c88-134733776e81/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0","level":"info","message":"auth send jwt","requestID":"3dd84b525dd515fc60e115baddb31b53"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"3dd84b525dd515fc60e115baddb31b53","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"3dd84b525dd515fc60e115baddb31b53"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1449,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1449,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.247092,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/75525f86-b6be-46d7-9c88-134733776e81","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3dd84b525dd515fc60e115baddb31b53","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/75525f86-b6be-46d7-9c88-134733776e81","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072629,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3dd84b525dd515fc60e115baddb31b53","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"3dd84b525dd515fc60e115baddb31b53"} gateway-1 | {"time_local":"16/Oct/2024:09:57:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/75525f86-b6be-46d7-9c88-134733776e81/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":"3dd84b525dd515fc60e115baddb31b53"} device-1 | {"level":"info","message":"POST /devices/75525f86-b6be-46d7-9c88-134733776e81/websocket 200 22ms","method":"POST","requestID":"3dd84b525dd515fc60e115baddb31b53","responseTime":22,"status":200,"url":"/devices/75525f86-b6be-46d7-9c88-134733776e81/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/75525f86-b6be-46d7-9c88-134733776e81' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"3dfa3a33ea1536b7be16ccac3f428ad8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"3dfa3a33ea1536b7be16ccac3f428ad8","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:57:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/75525f86-b6be-46d7-9c88-134733776e81? 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":"3dfa3a33ea1536b7be16ccac3f428ad8"} device-1 | {"level":"info","message":"OPTIONS /devices/75525f86-b6be-46d7-9c88-134733776e81? 200 1ms","method":"OPTIONS","requestID":"3dfa3a33ea1536b7be16ccac3f428ad8","responseTime":1,"status":200,"url":"/devices/75525f86-b6be-46d7-9c88-134733776e81?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0","level":"info","message":"auth send jwt","requestID":"b7941e7cfc00ec5a60836bfc0348d808"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"b7941e7cfc00ec5a60836bfc0348d808","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"b7941e7cfc00ec5a60836bfc0348d808"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1450,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1450,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.39419,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/75525f86-b6be-46d7-9c88-134733776e81","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b7941e7cfc00ec5a60836bfc0348d808","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/75525f86-b6be-46d7-9c88-134733776e81","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072629,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b7941e7cfc00ec5a60836bfc0348d808","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75525f86-b6be-46d7-9c88-134733776e81","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75525f86-b6be-46d7-9c88-134733776e81","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:07.247938811Z"}]},"request_id":"d952b25a-0d0a-408b-b827-479c9113ab55","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.404822} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b7941e7cfc00ec5a60836bfc0348d808","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"46cfd75f-96d9-4f5b-93bf-a455140690b8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.4125173} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"b7941e7cfc00ec5a60836bfc0348d808","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75525f86-b6be-46d7-9c88-134733776e81","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75525f86-b6be-46d7-9c88-134733776e81","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:07.247938811Z"}]},"request_id":"70ef82b2-99c5-4593-807a-1f484d4cec11","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.4250333} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b7941e7cfc00ec5a60836bfc0348d808","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"b7941e7cfc00ec5a60836bfc0348d808"} gateway-1 | {"time_local":"16/Oct/2024:09:57:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/75525f86-b6be-46d7-9c88-134733776e81? 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":"b7941e7cfc00ec5a60836bfc0348d808"} device-1 | {"level":"info","message":"PATCH /devices/75525f86-b6be-46d7-9c88-134733776e81? 200 40ms","method":"PATCH","requestID":"b7941e7cfc00ec5a60836bfc0348d808","responseTime":40,"status":200,"url":"/devices/75525f86-b6be-46d7-9c88-134733776e81?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0","level":"info","message":"auth send jwt","requestID":"ffff029c3849b36b5d3e99b90cf0f908"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ffff029c3849b36b5d3e99b90cf0f908","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ffff029c3849b36b5d3e99b90cf0f908"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1451,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1451,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.752039,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/75525f86-b6be-46d7-9c88-134733776e81","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ffff029c3849b36b5d3e99b90cf0f908","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/75525f86-b6be-46d7-9c88-134733776e81","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072629,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"ffff029c3849b36b5d3e99b90cf0f908","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75525f86-b6be-46d7-9c88-134733776e81","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75525f86-b6be-46d7-9c88-134733776e81","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:07.247938811Z"}]},"request_id":"d6fd9137-c66c-45ac-a63e-958a9b559bb4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.458206} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ffff029c3849b36b5d3e99b90cf0f908","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ffff029c3849b36b5d3e99b90cf0f908"} device-1 | {"level":"info","message":"GET /devices/75525f86-b6be-46d7-9c88-134733776e81? 200 17ms","method":"GET","requestID":"ffff029c3849b36b5d3e99b90cf0f908","responseTime":17,"status":200,"url":"/devices/75525f86-b6be-46d7-9c88-134733776e81?"} gateway-1 | {"time_local":"16/Oct/2024:09:57:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/75525f86-b6be-46d7-9c88-134733776e81? 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":"ffff029c3849b36b5d3e99b90cf0f908"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0","level":"info","message":"auth send jwt","requestID":"fa2c0ebed98a26769fe5c646dbe20def"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"fa2c0ebed98a26769fe5c646dbe20def","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fa2c0ebed98a26769fe5c646dbe20def"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1452,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1452,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.255047,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fa2c0ebed98a26769fe5c646dbe20def","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072629,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"fa2c0ebed98a26769fe5c646dbe20def","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:07.287780718Z"}]},"request_id":"fcf8a757-abc9-4b53-9c01-4cc0a012077d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.4812365} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"fa2c0ebed98a26769fe5c646dbe20def","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fa2c0ebed98a26769fe5c646dbe20def"} gateway-1 | {"time_local":"16/Oct/2024:09:57:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b? 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":"fa2c0ebed98a26769fe5c646dbe20def"} device-1 | {"level":"info","message":"GET /devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b? 200 16ms","method":"GET","requestID":"fa2c0ebed98a26769fe5c646dbe20def","responseTime":16,"status":200,"url":"/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0","level":"info","message":"auth send jwt","requestID":"50ca9835e846d10c013e01c0fbfbce77"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"50ca9835e846d10c013e01c0fbfbce77","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"50ca9835e846d10c013e01c0fbfbce77"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1453,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1453,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.231505,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"50ca9835e846d10c013e01c0fbfbce77","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072629,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"50ca9835e846d10c013e01c0fbfbce77","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/991f12e5-8a57-4488-9f91-2d2297ec020c"},"level":"info","message":"Attempting to run experiment","requestID":"50ca9835e846d10c013e01c0fbfbce77"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/991f12e5-8a57-4488-9f91-2d2297ec020c"},"level":"info","message":"Attempting to book experiment","requestID":"50ca9835e846d10c013e01c0fbfbce77"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/991f12e5-8a57-4488-9f91-2d2297ec020c"},"level":"info","message":"Successfully booked experiment","requestID":"50ca9835e846d10c013e01c0fbfbce77"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"023f6af0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"023fb910-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1454,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1454,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.901192,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1455,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/75525f86-b6be-46d7-9c88-134733776e81","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"023f6af0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/75525f86-b6be-46d7-9c88-134733776e81","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072629,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"023f6af0-8ba5-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1455,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.872678,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"023fb910-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072629,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"023fb910-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75525f86-b6be-46d7-9c88-134733776e81","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75525f86-b6be-46d7-9c88-134733776e81","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:07.247938811Z"}]},"request_id":"0b38f769-720e-4dff-a183-4ad019ca99ec","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.543303} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"023f6af0-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:07.287780718Z"}]},"request_id":"128b985a-c36d-47d2-92c0-5e755526fe33","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.5438774} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"023fb910-8ba5-11ef-a62f-5f7f958aa687","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"023f6af0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/75525f86-b6be-46d7-9c88-134733776e81? 200 15ms","method":"GET","requestID":"023f6af0-8ba5-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/75525f86-b6be-46d7-9c88-134733776e81?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"023fb910-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b? 200 14ms","method":"GET","requestID":"023fb910-8ba5-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/991f12e5-8a57-4488-9f91-2d2297ec020c"},"level":"info","message":"Setting up experiment","requestID":"50ca9835e846d10c013e01c0fbfbce77"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/991f12e5-8a57-4488-9f91-2d2297ec020c"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"50ca9835e846d10c013e01c0fbfbce77"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/991f12e5-8a57-4488-9f91-2d2297ec020c"},"level":"info","message":"Successfully locked booking for experiment","requestID":"50ca9835e846d10c013e01c0fbfbce77"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/991f12e5-8a57-4488-9f91-2d2297ec020c"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"50ca9835e846d10c013e01c0fbfbce77"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/991f12e5-8a57-4488-9f91-2d2297ec020c"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"50ca9835e846d10c013e01c0fbfbce77"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/991f12e5-8a57-4488-9f91-2d2297ec020c"},"level":"info","message":"Attempting to update booking for experiment","requestID":"50ca9835e846d10c013e01c0fbfbce77"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/991f12e5-8a57-4488-9f91-2d2297ec020c"},"level":"info","message":"Successfully updated booking for experiment","requestID":"50ca9835e846d10c013e01c0fbfbce77"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/991f12e5-8a57-4488-9f91-2d2297ec020c"},"level":"info","message":"Successfully set up experiment","requestID":"50ca9835e846d10c013e01c0fbfbce77"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"02481d80-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"02484490-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"024892b0-8ba5-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/991f12e5-8a57-4488-9f91-2d2297ec020c"},"level":"info","message":"Successfully running experiment","requestID":"50ca9835e846d10c013e01c0fbfbce77"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1456,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1456,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.243216,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1457,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1457,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.899026,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/75525f86-b6be-46d7-9c88-134733776e81","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"02481d80-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/75525f86-b6be-46d7-9c88-134733776e81","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072629,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"02481d80-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"02484490-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072629,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"02484490-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75525f86-b6be-46d7-9c88-134733776e81","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75525f86-b6be-46d7-9c88-134733776e81","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:07.247938811Z"}]},"request_id":"36485179-d239-4bb3-ac08-700b9b2adbfa","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.604557} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:07.287780718Z"}]},"request_id":"43339417-cb06-47b2-9cdf-d8aee91d92f3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.6058586} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"02481d80-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:51912","level":"info","msg":"Received request.","req_id":1458,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"02484490-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75525f86-b6be-46d7-9c88-134733776e81","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a63ce6b2-bf7c-4094-a982-533d26f8a8c9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.60877} authorization-1 | {"client_addr":"127.0.0.1:51912","level":"info","msg":"Sent response.","req_id":1458,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.707289,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/75525f86-b6be-46d7-9c88-134733776e81","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"024892b0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/75525f86-b6be-46d7-9c88-134733776e81","object_type":"device","rebac_allow":false,"scope_allow":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":"024892b0-8ba5-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"02481d80-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/75525f86-b6be-46d7-9c88-134733776e81? 200 22ms","method":"GET","requestID":"02481d80-8ba5-11ef-a62f-5f7f958aa687","responseTime":22,"status":200,"url":"/devices/75525f86-b6be-46d7-9c88-134733776e81?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"02484490-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b? 200 22ms","method":"GET","requestID":"02484490-8ba5-11ef-a62f-5f7f958aa687","responseTime":22,"status":200,"url":"/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"024892b0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/75525f86-b6be-46d7-9c88-134733776e81/signaling 200 22ms","method":"POST","requestID":"024892b0-8ba5-11ef-a62f-5f7f958aa687","responseTime":22,"status":200,"url":"/devices/75525f86-b6be-46d7-9c88-134733776e81/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F991f12e5-8a57-4488-9f91-2d2297ec020c#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F991f12e5-8a57-4488-9f91-2d2297ec020c","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"72ab345e-2105-40c2-b1d0-ce61d472360f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.617028} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"892bf28d-e9ad-4661-b724-d8ce2105facf","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.6175463} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"024c1520-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"024c3c30-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 24ms","method":"POST","requestID":"50ca9835e846d10c013e01c0fbfbce77","responseTime":24,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1459,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1460,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75525f86-b6be-46d7-9c88-134733776e81","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b9e25387-f023-4faa-8ee8-692082998cdd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.6273625} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1459,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":6.764356,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/75525f86-b6be-46d7-9c88-134733776e81","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"024c1520-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/75525f86-b6be-46d7-9c88-134733776e81","object_type":"device","rebac_allow":false,"scope_allow":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":"024c1520-8ba5-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"79fe2e87-9b05-4de0-8d66-07ffd4abfac1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.6284714} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1460,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.40678,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"024c3c30-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","object_type":"device","rebac_allow":false,"scope_allow":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":"024c3c30-8ba5-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:57:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1216","request_time":"0.145","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"50ca9835e846d10c013e01c0fbfbce77"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/991f12e5-8a57-4488-9f91-2d2297ec020c","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"50ca9835e846d10c013e01c0fbfbce77"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"024c1520-8ba5-11ef-a62f-5f7f958aa687"} experiment-1 | {"level":"info","message":"POST /experiments? 201 138ms","method":"POST","requestID":"50ca9835e846d10c013e01c0fbfbce77","responseTime":138,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"POST /devices/75525f86-b6be-46d7-9c88-134733776e81/signaling 200 16ms","method":"POST","requestID":"024c1520-8ba5-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/75525f86-b6be-46d7-9c88-134733776e81/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"024c3c30-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b/signaling 200 17ms","method":"POST","requestID":"024c3c30-8ba5-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"024f2260-8ba5-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0","level":"info","message":"auth send jwt","requestID":"63a72df9ad56c63f7f1eeafe6695eb97"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"63a72df9ad56c63f7f1eeafe6695eb97","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"63a72df9ad56c63f7f1eeafe6695eb97"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1461,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1462,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cac46ac3-dd86-4afd-ab84-09f1bb0286b8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.6443765} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1462,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.949013,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/75525f86-b6be-46d7-9c88-134733776e81","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"63a72df9ad56c63f7f1eeafe6695eb97","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/75525f86-b6be-46d7-9c88-134733776e81","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072629,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"63a72df9ad56c63f7f1eeafe6695eb97","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1461,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.534797,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"024f2260-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","object_type":"device","rebac_allow":false,"scope_allow":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":"024f2260-8ba5-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"024f2260-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b/signaling 200 13ms","method":"POST","requestID":"024f2260-8ba5-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b/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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75525f86-b6be-46d7-9c88-134733776e81","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75525f86-b6be-46d7-9c88-134733776e81","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:07.247938811Z"}]},"request_id":"187128a0-67cc-410e-a090-87744d106318","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.6518362} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/991f12e5-8a57-4488-9f91-2d2297ec020c"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"50ca9835e846d10c013e01c0fbfbce77"} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"63a72df9ad56c63f7f1eeafe6695eb97","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0251ba70-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0251e180-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1463,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1463,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.787131,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1464,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"63a72df9ad56c63f7f1eeafe6695eb97"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/75525f86-b6be-46d7-9c88-134733776e81","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0251ba70-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/75525f86-b6be-46d7-9c88-134733776e81","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072629,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0"} gateway-1 | {"time_local":"16/Oct/2024:09:57:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/75525f86-b6be-46d7-9c88-134733776e81? 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":"63a72df9ad56c63f7f1eeafe6695eb97"} device-1 | {"level":"info","message":"GET /devices/75525f86-b6be-46d7-9c88-134733776e81? 200 19ms","method":"GET","requestID":"63a72df9ad56c63f7f1eeafe6695eb97","responseTime":19,"status":200,"url":"/devices/75525f86-b6be-46d7-9c88-134733776e81?"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0251ba70-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1464,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.984193,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0251e180-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072629,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0251e180-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0","level":"info","message":"auth send jwt","requestID":"42d14cb6460c875d8603a7421a50e7f4"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75525f86-b6be-46d7-9c88-134733776e81","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75525f86-b6be-46d7-9c88-134733776e81","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:07.247938811Z"}]},"request_id":"ab571322-b448-4a43-9baf-c866cbc5baf2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.6632643} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"42d14cb6460c875d8603a7421a50e7f4","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"42d14cb6460c875d8603a7421a50e7f4"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"0251ba70-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:07.287780718Z"}]},"request_id":"12217f27-4254-4929-a9f6-a6e32b94cb8e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.6647923} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0251e180-8ba5-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1465,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1465,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.706482,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"42d14cb6460c875d8603a7421a50e7f4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072629,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"42d14cb6460c875d8603a7421a50e7f4","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0251ba70-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/75525f86-b6be-46d7-9c88-134733776e81? 200 16ms","method":"GET","requestID":"0251ba70-8ba5-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/75525f86-b6be-46d7-9c88-134733776e81?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0251e180-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b? 200 16ms","method":"GET","requestID":"0251e180-8ba5-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:07.287780718Z"}]},"request_id":"75e1f657-b11b-4943-9340-c555a6affad0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.6723707} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/991f12e5-8a57-4488-9f91-2d2297ec020c"},"level":"info","message":"Building connection plan","requestID":"50ca9835e846d10c013e01c0fbfbce77"} 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":"b8457ab9-75e2-499f-9e85-bb6a51759fd8"},{"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":"f746dd85-b153-4186-bd33-f5912a397433"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"9b486ddf-e235-4e49-b69e-3c8158245728"}]},"level":"info","message":"Built pairwise service configurations","requestID":"50ca9835e846d10c013e01c0fbfbce77"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"42d14cb6460c875d8603a7421a50e7f4","responseTime":3,"status":200,"url":"/relations/query"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"0254a0a0-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"0254a0a0-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"0254a0a0-8ba5-11ef-a042-213954f0282b","responseTime":1,"status":201,"url":"/rooms"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"42d14cb6460c875d8603a7421a50e7f4"} gateway-1 | {"time_local":"16/Oct/2024:09:57:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"42d14cb6460c875d8603a7421a50e7f4"} device-1 | {"level":"info","message":"GET /devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b? 200 11ms","method":"GET","requestID":"42d14cb6460c875d8603a7421a50e7f4","responseTime":11,"status":200,"url":"/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b?"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/b8c289f7-18c3-48b7-9526-ce5779edcadc?id=2da68846-caaf-4fea-b38e-dc5e16f8d578","ws://localhost/rooms/b8c289f7-18c3-48b7-9526-ce5779edcadc?id=922041f6-0a89-4600-8809-554796b0d726"]},"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/75525f86-b6be-46d7-9c88-134733776e81"},{"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/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"50ca9835e846d10c013e01c0fbfbce77"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"025515d0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1466,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1466,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.774798,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"025515d0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072629,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"025515d0-8ba5-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"37b3f5b7-b95a-44f0-a406-bdd283a708aa","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.686898} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"11aa8c5e-c72c-4210-9a8a-a59a69681eb5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.6871698} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"025515d0-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"025515d0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"025515d0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/b94d63ea-29a2-4824-9bb2-cb03073115a8'","requestID":"025515d0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/b94d63ea-29a2-4824-9bb2-cb03073115a8'","requestID":"025515d0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"025515d0-8ba5-11ef-a62f-5f7f958aa687"} 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":"025515d0-8ba5-11ef-a62f-5f7f958aa687","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":"025515d0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/b94d63ea-29a2-4824-9bb2-cb03073115a8' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b94d63ea-29a2-4824-9bb2-cb03073115a8","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"025a1ee0-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"922041f6-0a89-4600-8809-554796b0d726\" in room \"http://localhost/rooms/b8c289f7-18c3-48b7-9526-ce5779edcadc\"","requestID":"025a1ee0-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"025a1ee0-8ba5-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7b070225f0a94cc1782c7f7f76040bec","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"025a9410-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"2da68846-caaf-4fea-b38e-dc5e16f8d578\" in room \"http://localhost/rooms/b8c289f7-18c3-48b7-9526-ce5779edcadc\"","requestID":"025a9410-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"025a9410-8ba5-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"7b070225f0a94cc1782c7f7f76040bec","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/75525f86-b6be-46d7-9c88-134733776e81"},{"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/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/b94d63ea-29a2-4824-9bb2-cb03073115a8"}}},"level":"info","message":"received a callback","requestID":"7b070225f0a94cc1782c7f7f76040bec"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"922041f6-0a89-4600-8809-554796b0d726\" in room \"http://localhost/rooms/b8c289f7-18c3-48b7-9526-ce5779edcadc\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"922041f6-0a89-4600-8809-554796b0d726\" in room \"http://localhost/rooms/b8c289f7-18c3-48b7-9526-ce5779edcadc\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"922041f6-0a89-4600-8809-554796b0d726\" in room \"http://localhost/rooms/b8c289f7-18c3-48b7-9526-ce5779edcadc\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"922041f6-0a89-4600-8809-554796b0d726\" in room \"http://localhost/rooms/b8c289f7-18c3-48b7-9526-ce5779edcadc\""} device-1 | {"data":{"peerconnection":"b94d63ea-29a2-4824-9bb2-cb03073115a8","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 9ms","method":"POST","requestID":"7b070225f0a94cc1782c7f7f76040bec","responseTime":9,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.013","http_referrer":"","http_user_agent":"node-fetch","requestID":"7b070225f0a94cc1782c7f7f76040bec"} device-1 | {"data":{"peerconnection":"b94d63ea-29a2-4824-9bb2-cb03073115a8","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/991f12e5-8a57-4488-9f91-2d2297ec020c"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"50ca9835e846d10c013e01c0fbfbce77"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"025e8bb0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1467,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75525f86-b6be-46d7-9c88-134733776e81","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"720f4112-58bc-4ca2-b2d8-a9bffecb4448","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.74338} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1467,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.571702,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/75525f86-b6be-46d7-9c88-134733776e81","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"025e8bb0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/75525f86-b6be-46d7-9c88-134733776e81","object_type":"device","rebac_allow":false,"scope_allow":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":"025e8bb0-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/b94d63ea-29a2-4824-9bb2-cb03073115a8' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b94d63ea-29a2-4824-9bb2-cb03073115a8","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d48862f36fe059990572fcc2efb6fdae","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"d48862f36fe059990572fcc2efb6fdae","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"025e8bb0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/75525f86-b6be-46d7-9c88-134733776e81/signaling 200 9ms","method":"POST","requestID":"025e8bb0-8ba5-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/75525f86-b6be-46d7-9c88-134733776e81/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"02603960-8ba5-11ef-a62f-5f7f958aa687"} 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/75525f86-b6be-46d7-9c88-134733776e81"},{"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/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/b94d63ea-29a2-4824-9bb2-cb03073115a8"}}},"level":"info","message":"received a callback","requestID":"d48862f36fe059990572fcc2efb6fdae"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1468,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e1dcc6c0-d5b9-49e3-a6bc-2f685f6bffa6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.7549028} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1468,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.455114,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"0260fcb0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"02603960-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","object_type":"device","rebac_allow":false,"scope_allow":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":"02603960-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1469,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"02603960-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b/signaling 200 8ms","method":"POST","requestID":"02603960-8ba5-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb94d63ea-29a2-4824-9bb2-cb03073115a8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a2c26cbe-d2a9-485d-9bfe-78ec6626db04","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.7591403} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1469,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.179603,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b94d63ea-29a2-4824-9bb2-cb03073115a8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0260fcb0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/b94d63ea-29a2-4824-9bb2-cb03073115a8","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":"0260fcb0-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"0260fcb0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/b94d63ea-29a2-4824-9bb2-cb03073115a8 200 7ms","method":"GET","requestID":"0260fcb0-8ba5-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/peerconnections/b94d63ea-29a2-4824-9bb2-cb03073115a8"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 28ms","method":"POST","requestID":"d48862f36fe059990572fcc2efb6fdae","responseTime":28,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.031","http_referrer":"","http_user_agent":"node-fetch","requestID":"d48862f36fe059990572fcc2efb6fdae"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0264a630-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1470,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75525f86-b6be-46d7-9c88-134733776e81","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8a765e6f-1547-41aa-9788-129d574a30c1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.7835176} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1470,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.507657,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/75525f86-b6be-46d7-9c88-134733776e81","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0264a630-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/75525f86-b6be-46d7-9c88-134733776e81","object_type":"device","rebac_allow":false,"scope_allow":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":"0264a630-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0264a630-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/75525f86-b6be-46d7-9c88-134733776e81/signaling 200 7ms","method":"POST","requestID":"0264a630-8ba5-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/devices/75525f86-b6be-46d7-9c88-134733776e81/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"026605c0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1471,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d5653f16-0435-4fd9-ae4a-4dc1dae34ea4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.7926838} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1471,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.09159,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"026605c0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","object_type":"device","rebac_allow":false,"scope_allow":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":"026605c0-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"026605c0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b/signaling 200 7ms","method":"POST","requestID":"026605c0-8ba5-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0","level":"info","message":"auth send jwt","requestID":"7405cbbb4e546fc09af8c95409a4058e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"7405cbbb4e546fc09af8c95409a4058e","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/991f12e5-8a57-4488-9f91-2d2297ec020c","requestID":"7405cbbb4e546fc09af8c95409a4058e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1472,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1472,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.044145,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/991f12e5-8a57-4488-9f91-2d2297ec020c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"7405cbbb4e546fc09af8c95409a4058e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/991f12e5-8a57-4488-9f91-2d2297ec020c","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072629,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7405cbbb4e546fc09af8c95409a4058e","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/991f12e5-8a57-4488-9f91-2d2297ec020c","requestID":"7405cbbb4e546fc09af8c95409a4058e"} experiment-1 | {"level":"info","message":"GET /experiments/991f12e5-8a57-4488-9f91-2d2297ec020c 200 12ms","method":"GET","requestID":"7405cbbb4e546fc09af8c95409a4058e","responseTime":12,"status":200,"url":"/experiments/991f12e5-8a57-4488-9f91-2d2297ec020c"} gateway-1 | {"time_local":"16/Oct/2024:09:57:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/991f12e5-8a57-4488-9f91-2d2297ec020c HTTP/1.1","status": "200","body_bytes_sent":"1289","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7405cbbb4e546fc09af8c95409a4058e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0","level":"info","message":"auth send jwt","requestID":"e31b6ed4ffc2c3da2976dd41d535dbe2"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e31b6ed4ffc2c3da2976dd41d535dbe2","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/991f12e5-8a57-4488-9f91-2d2297ec020c","requestID":"e31b6ed4ffc2c3da2976dd41d535dbe2"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1473,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1473,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.636971,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/991f12e5-8a57-4488-9f91-2d2297ec020c","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"e31b6ed4ffc2c3da2976dd41d535dbe2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/991f12e5-8a57-4488-9f91-2d2297ec020c","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072629,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e31b6ed4ffc2c3da2976dd41d535dbe2","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/991f12e5-8a57-4488-9f91-2d2297ec020c"},"level":"info","message":"Attempting to finish experiment","requestID":"e31b6ed4ffc2c3da2976dd41d535dbe2"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"027017e0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1474,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1474,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.248023,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b94d63ea-29a2-4824-9bb2-cb03073115a8","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"027017e0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/b94d63ea-29a2-4824-9bb2-cb03073115a8","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072629,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"027017e0-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:57:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/b8c289f7-18c3-48b7-9526-ce5779edcadc?id=922041f6-0a89-4600-8809-554796b0d726 HTTP/1.1","status": "101","body_bytes_sent":"436","request_time":"0.158","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"206ed626493a7166d822cad89deae67f"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"922041f6-0a89-4600-8809-554796b0d726\" in room \"http://localhost/rooms/b8c289f7-18c3-48b7-9526-ce5779edcadc\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"922041f6-0a89-4600-8809-554796b0d726\" from room \"http://localhost/rooms/b8c289f7-18c3-48b7-9526-ce5779edcadc\", code: 1006, reason: "} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/b94d63ea-29a2-4824-9bb2-cb03073115a8","device":"75525f86-b6be-46d7-9c88-134733776e81","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} gateway-1 | {"time_local":"16/Oct/2024:09:57:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/b8c289f7-18c3-48b7-9526-ce5779edcadc?id=2da68846-caaf-4fea-b38e-dc5e16f8d578 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":"38504e8872465d27921627d93c7a9954"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/b94d63ea-29a2-4824-9bb2-cb03073115a8' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/b94d63ea-29a2-4824-9bb2-cb03073115a8' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b94d63ea-29a2-4824-9bb2-cb03073115a8","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"2da68846-caaf-4fea-b38e-dc5e16f8d578\" in room \"http://localhost/rooms/b8c289f7-18c3-48b7-9526-ce5779edcadc\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"2da68846-caaf-4fea-b38e-dc5e16f8d578\" from room \"http://localhost/rooms/b8c289f7-18c3-48b7-9526-ce5779edcadc\", code: 1005, reason: "} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb94d63ea-29a2-4824-9bb2-cb03073115a8': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb94d63ea-29a2-4824-9bb2-cb03073115a8","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"db6df41f-67f0-4320-87b2-99a0d4427a03","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.8723633} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"fe65822b088b3c434970c08c5fb80338","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"fe65822b088b3c434970c08c5fb80338","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5148c687-7052-4712-9752-c81ed241d80c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.8728752} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"83d9fa4d1eb8f3d43370553039830d3d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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-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/75525f86-b6be-46d7-9c88-134733776e81"},{"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/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/b94d63ea-29a2-4824-9bb2-cb03073115a8"}}},"level":"info","message":"received a callback","requestID":"fe65822b088b3c434970c08c5fb80338"} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"027017e0-8ba5-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"83d9fa4d1eb8f3d43370553039830d3d","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":"connected","url":"http://localhost/devices/75525f86-b6be-46d7-9c88-134733776e81"},{"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/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/b94d63ea-29a2-4824-9bb2-cb03073115a8"}}},"level":"info","message":"received a callback","requestID":"83d9fa4d1eb8f3d43370553039830d3d"} device-1 | {"data":{"peerconnection":"b94d63ea-29a2-4824-9bb2-cb03073115a8","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"027017e0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/b94d63ea-29a2-4824-9bb2-cb03073115a8 204 40ms","method":"DELETE","requestID":"027017e0-8ba5-11ef-a62f-5f7f958aa687","responseTime":40,"status":204,"url":"/peerconnections/b94d63ea-29a2-4824-9bb2-cb03073115a8"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/75525f86-b6be-46d7-9c88-134733776e81'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/991f12e5-8a57-4488-9f91-2d2297ec020c"},"level":"info","message":"Successfully finished experiment","requestID":"e31b6ed4ffc2c3da2976dd41d535dbe2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"02793fa0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1475,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75525f86-b6be-46d7-9c88-134733776e81","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"01c265db-10f3-42d5-891e-16b782cba6b9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.9196212} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1475,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.662867,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/75525f86-b6be-46d7-9c88-134733776e81","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"02793fa0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/75525f86-b6be-46d7-9c88-134733776e81","object_type":"device","rebac_allow":false,"scope_allow":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":"02793fa0-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"02793fa0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/75525f86-b6be-46d7-9c88-134733776e81/signaling 200 10ms","method":"POST","requestID":"02793fa0-8ba5-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/75525f86-b6be-46d7-9c88-134733776e81/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F991f12e5-8a57-4488-9f91-2d2297ec020c': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F991f12e5-8a57-4488-9f91-2d2297ec020c","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"22e4ced7-455b-4801-b3dd-e67c527e5b18","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.926021} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"01fa7c5b-48e8-44b1-b518-3431ce3f7370","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.926249} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"027b1460-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"e31b6ed4ffc2c3da2976dd41d535dbe2","responseTime":15,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1476,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"812e98ea-bdb4-43dc-bdb3-7643a2b8a583","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072629.9303489} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1476,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.475484,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:09Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"027b1460-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b","object_type":"device","rebac_allow":false,"scope_allow":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":"027b1460-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"027b1460-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b/signaling 200 9ms","method":"POST","requestID":"027b1460-8ba5-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/991f12e5-8a57-4488-9f91-2d2297ec020c","requestID":"e31b6ed4ffc2c3da2976dd41d535dbe2"} gateway-1 | {"time_local":"16/Oct/2024:09:57:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/991f12e5-8a57-4488-9f91-2d2297ec020c 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":"e31b6ed4ffc2c3da2976dd41d535dbe2"} experiment-1 | {"level":"info","message":"DELETE /experiments/991f12e5-8a57-4488-9f91-2d2297ec020c 204 155ms","method":"DELETE","requestID":"e31b6ed4ffc2c3da2976dd41d535dbe2","responseTime":155,"status":204,"url":"/experiments/991f12e5-8a57-4488-9f91-2d2297ec020c"} gateway-1 | {"time_local":"16/Oct/2024:09:57:09 +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.172","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"05909ed86cfda96179994b68d163cbdb"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 123ms","method":"POST","requestID":"fe65822b088b3c434970c08c5fb80338","responseTime":123,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.126","http_referrer":"","http_user_agent":"node-fetch","requestID":"fe65822b088b3c434970c08c5fb80338"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 123ms","method":"POST","requestID":"83d9fa4d1eb8f3d43370553039830d3d","responseTime":123,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.127","http_referrer":"","http_user_agent":"node-fetch","requestID":"83d9fa4d1eb8f3d43370553039830d3d"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0","level":"info","message":"auth send jwt","requestID":"c26cb4ed07bec1751f89f2866e7cb387"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c26cb4ed07bec1751f89f2866e7cb387","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"c26cb4ed07bec1751f89f2866e7cb387"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1477,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:10Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1477,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.814206,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:10Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c26cb4ed07bec1751f89f2866e7cb387","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072629,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYyOX0.hBo5i5d_czKxr3tx77ibMM0M361t6C0DExc3ohoADB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c26cb4ed07bec1751f89f2866e7cb387","responseTime":3,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:57:10 +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.662","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"20926aa3c54c7e18c74ef50a424caf77"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/03926b1c-3baf-4b5d-aab8-7b24a9e9ab6b' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ca75efd-694f-43dc-bdca-54d4352c78ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"52aebf95-373c-4952-8b78-4608573e6402","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072630.0212831} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c26cb4ed07bec1751f89f2866e7cb387","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/75525f86-b6be-46d7-9c88-134733776e81' 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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"001e8125-0cc4-4763-acf0-71cb60ce9319","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072630.026588} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"c26cb4ed07bec1751f89f2866e7cb387","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ca75efd-694f-43dc-bdca-54d4352c78ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"22f55b2d-24d9-4919-bc21-10792926b162","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072630.0409563} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"80016009-f829-4ce1-9ac6-24514ef1462b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072630.0410464} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"c26cb4ed07bec1751f89f2866e7cb387","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ca75efd-694f-43dc-bdca-54d4352c78ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ca75efd-694f-43dc-bdca-54d4352c78ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:10.040921561Z"}]},"request_id":"da092cf0-b974-45a7-98ac-78c36c842ece","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072630.0459077} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"c26cb4ed07bec1751f89f2866e7cb387","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"c26cb4ed07bec1751f89f2866e7cb387"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"c26cb4ed07bec1751f89f2866e7cb387","responseTime":47,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:57:10 +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":"c26cb4ed07bec1751f89f2866e7cb387"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMH0.vjE-GyeyyoPdJiSK59ZgDLf7w3ffX-IxXpc6Q-_krJE","level":"info","message":"auth send jwt","requestID":"cc576bf8d9636520273f2860e1f83cbb"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"cc576bf8d9636520273f2860e1f83cbb","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"cc576bf8d9636520273f2860e1f83cbb"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1478,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:10Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1478,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.675655,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:10Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cc576bf8d9636520273f2860e1f83cbb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072630,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMH0.vjE-GyeyyoPdJiSK59ZgDLf7w3ffX-IxXpc6Q-_krJE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"cc576bf8d9636520273f2860e1f83cbb","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"81b558d6-3e87-4f61-822b-7ff908b697b9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072630.0701525} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"cc576bf8d9636520273f2860e1f83cbb","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3676cf1c-cc77-425f-a081-b82939c50344","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072630.0745535} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"cc576bf8d9636520273f2860e1f83cbb","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"82f4076b-f356-4dc8-99b0-6bc36f5a6bed","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072630.0849972} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4952cf11-e00e-4364-bea8-45367818d367","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072630.085132} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"cc576bf8d9636520273f2860e1f83cbb","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:10.084950168Z"}]},"request_id":"b2c78189-b346-4e35-ad1f-d81ceac554c4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072630.089033} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"cc576bf8d9636520273f2860e1f83cbb","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"cc576bf8d9636520273f2860e1f83cbb"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.042","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"cc576bf8d9636520273f2860e1f83cbb"} device-1 | {"level":"info","message":"POST /devices? 201 38ms","method":"POST","requestID":"cc576bf8d9636520273f2860e1f83cbb","responseTime":38,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMH0.vjE-GyeyyoPdJiSK59ZgDLf7w3ffX-IxXpc6Q-_krJE","level":"info","message":"auth send jwt","requestID":"3b763c949e86d524141a17d0a3c8ef24"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3b763c949e86d524141a17d0a3c8ef24","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"3b763c949e86d524141a17d0a3c8ef24"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1479,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:10Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1479,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.688574,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:10Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3b763c949e86d524141a17d0a3c8ef24","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072630,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMH0.vjE-GyeyyoPdJiSK59ZgDLf7w3ffX-IxXpc6Q-_krJE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3b763c949e86d524141a17d0a3c8ef24","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:10.084950168Z"}]},"request_id":"8d4d8486-f9d4-473b-aee1-6dd4812f0615","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072630.5802603} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3b763c949e86d524141a17d0a3c8ef24","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"34587262-af82-40aa-9c28-25fc6f697d5a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072630.5854237} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"3b763c949e86d524141a17d0a3c8ef24","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:10.084950168Z"}]},"request_id":"0a4dea71-40cf-42e0-ac8d-d7130b502ae5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072630.5973103} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3b763c949e86d524141a17d0a3c8ef24","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"3b763c949e86d524141a17d0a3c8ef24"} gateway-1 | {"time_local":"16/Oct/2024:09:57:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0 HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.031","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"3b763c949e86d524141a17d0a3c8ef24"} device-1 | {"level":"info","message":"PATCH /devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0 200 27ms","method":"PATCH","requestID":"3b763c949e86d524141a17d0a3c8ef24","responseTime":27,"status":200,"url":"/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMH0.vjE-GyeyyoPdJiSK59ZgDLf7w3ffX-IxXpc6Q-_krJE","level":"info","message":"auth send jwt","requestID":"26ea80a8b8fa8dd8d7d329724b347829"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"26ea80a8b8fa8dd8d7d329724b347829","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"26ea80a8b8fa8dd8d7d329724b347829"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1480,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:10Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1480,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.815526,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:10Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"26ea80a8b8fa8dd8d7d329724b347829","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072630,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMH0.vjE-GyeyyoPdJiSK59ZgDLf7w3ffX-IxXpc6Q-_krJE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"26ea80a8b8fa8dd8d7d329724b347829","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"26ea80a8b8fa8dd8d7d329724b347829"} gateway-1 | {"time_local":"16/Oct/2024:09:57:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0/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.10","requestID":"26ea80a8b8fa8dd8d7d329724b347829"} device-1 | {"level":"info","message":"POST /devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0/websocket 200 15ms","method":"POST","requestID":"26ea80a8b8fa8dd8d7d329724b347829","responseTime":15,"status":200,"url":"/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"34983f8b34f1b6c73bfb56c623216d11","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"34983f8b34f1b6c73bfb56c623216d11","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:57:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/2ca75efd-694f-43dc-bdca-54d4352c78ab/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":"34983f8b34f1b6c73bfb56c623216d11"} device-1 | {"level":"info","message":"OPTIONS /devices/2ca75efd-694f-43dc-bdca-54d4352c78ab/websocket 200 1ms","method":"OPTIONS","requestID":"34983f8b34f1b6c73bfb56c623216d11","responseTime":1,"status":200,"url":"/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA","level":"info","message":"auth send jwt","requestID":"44f9753b638d94dce9ed9606baecfd08"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"44f9753b638d94dce9ed9606baecfd08","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"44f9753b638d94dce9ed9606baecfd08"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1481,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1481,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.315301,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"44f9753b638d94dce9ed9606baecfd08","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072632,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"44f9753b638d94dce9ed9606baecfd08","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"44f9753b638d94dce9ed9606baecfd08"} gateway-1 | {"time_local":"16/Oct/2024:09:57:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/2ca75efd-694f-43dc-bdca-54d4352c78ab/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":"44f9753b638d94dce9ed9606baecfd08"} device-1 | {"level":"info","message":"POST /devices/2ca75efd-694f-43dc-bdca-54d4352c78ab/websocket 200 20ms","method":"POST","requestID":"44f9753b638d94dce9ed9606baecfd08","responseTime":20,"status":200,"url":"/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"46b633832c9df64642987ebb9b627856","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"46b633832c9df64642987ebb9b627856","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:57:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/2ca75efd-694f-43dc-bdca-54d4352c78ab? 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":"46b633832c9df64642987ebb9b627856"} device-1 | {"level":"info","message":"OPTIONS /devices/2ca75efd-694f-43dc-bdca-54d4352c78ab? 200 1ms","method":"OPTIONS","requestID":"46b633832c9df64642987ebb9b627856","responseTime":1,"status":200,"url":"/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA","level":"info","message":"auth send jwt","requestID":"39baf44191e8fc63d198ca5356f02a08"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"39baf44191e8fc63d198ca5356f02a08","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"39baf44191e8fc63d198ca5356f02a08"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1482,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1482,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.220076,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"39baf44191e8fc63d198ca5356f02a08","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072632,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"39baf44191e8fc63d198ca5356f02a08","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ca75efd-694f-43dc-bdca-54d4352c78ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ca75efd-694f-43dc-bdca-54d4352c78ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:10.040921561Z"}]},"request_id":"f2269989-1654-4fa3-8455-8674dc16b952","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.1858487} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"39baf44191e8fc63d198ca5356f02a08","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"238763fe-52ce-44e0-ad50-2d78a69a6174","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.1935833} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"39baf44191e8fc63d198ca5356f02a08","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ca75efd-694f-43dc-bdca-54d4352c78ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ca75efd-694f-43dc-bdca-54d4352c78ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:10.040921561Z"}]},"request_id":"9f1a3591-1930-4efc-8b1a-0fdf49394211","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.2097197} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"39baf44191e8fc63d198ca5356f02a08","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"39baf44191e8fc63d198ca5356f02a08"} gateway-1 | {"time_local":"16/Oct/2024:09:57:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/2ca75efd-694f-43dc-bdca-54d4352c78ab? 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":"39baf44191e8fc63d198ca5356f02a08"} device-1 | {"level":"info","message":"PATCH /devices/2ca75efd-694f-43dc-bdca-54d4352c78ab? 200 41ms","method":"PATCH","requestID":"39baf44191e8fc63d198ca5356f02a08","responseTime":41,"status":200,"url":"/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA","level":"info","message":"auth send jwt","requestID":"5b9609571c2b85106b5d4378621e10d8"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"5b9609571c2b85106b5d4378621e10d8","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5b9609571c2b85106b5d4378621e10d8"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1483,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1483,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.286617,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"5b9609571c2b85106b5d4378621e10d8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072632,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5b9609571c2b85106b5d4378621e10d8","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ca75efd-694f-43dc-bdca-54d4352c78ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ca75efd-694f-43dc-bdca-54d4352c78ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:10.040921561Z"}]},"request_id":"311c4413-a4f8-4ef4-8865-bac58643dc04","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.2371712} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"5b9609571c2b85106b5d4378621e10d8","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5b9609571c2b85106b5d4378621e10d8"} device-1 | {"level":"info","message":"GET /devices/2ca75efd-694f-43dc-bdca-54d4352c78ab? 200 18ms","method":"GET","requestID":"5b9609571c2b85106b5d4378621e10d8","responseTime":18,"status":200,"url":"/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab?"} gateway-1 | {"time_local":"16/Oct/2024:09:57:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/2ca75efd-694f-43dc-bdca-54d4352c78ab? 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":"5b9609571c2b85106b5d4378621e10d8"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA","level":"info","message":"auth send jwt","requestID":"44386611d8676de37066db49e68f5a12"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"44386611d8676de37066db49e68f5a12","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"44386611d8676de37066db49e68f5a12"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1484,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1484,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.443939,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"44386611d8676de37066db49e68f5a12","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072632,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"44386611d8676de37066db49e68f5a12","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:10.084950168Z"}]},"request_id":"80bdf536-ed40-4da3-ac30-f752c6b7d0f5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.2612956} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"44386611d8676de37066db49e68f5a12","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"44386611d8676de37066db49e68f5a12"} device-1 | {"level":"info","message":"GET /devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0? 200 17ms","method":"GET","requestID":"44386611d8676de37066db49e68f5a12","responseTime":17,"status":200,"url":"/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0?"} gateway-1 | {"time_local":"16/Oct/2024:09:57:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0? 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":"44386611d8676de37066db49e68f5a12"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA","level":"info","message":"auth send jwt","requestID":"fcd7d6182f530142f720cb396412bab8"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"fcd7d6182f530142f720cb396412bab8","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"fcd7d6182f530142f720cb396412bab8"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1485,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1485,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.109621,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fcd7d6182f530142f720cb396412bab8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072632,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"fcd7d6182f530142f720cb396412bab8","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1032561f-7032-44bc-9aa6-71572396f683"},"level":"info","message":"Attempting to run experiment","requestID":"fcd7d6182f530142f720cb396412bab8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1032561f-7032-44bc-9aa6-71572396f683"},"level":"info","message":"Attempting to book experiment","requestID":"fcd7d6182f530142f720cb396412bab8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1032561f-7032-44bc-9aa6-71572396f683"},"level":"info","message":"Successfully booked experiment","requestID":"fcd7d6182f530142f720cb396412bab8"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"03e79cb0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"03e7c3c0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1486,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1486,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.328294,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"03e79cb0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072632,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"03e79cb0-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1487,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1487,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.865359,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"03e7c3c0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072632,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"03e7c3c0-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ca75efd-694f-43dc-bdca-54d4352c78ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ca75efd-694f-43dc-bdca-54d4352c78ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:10.040921561Z"}]},"request_id":"d7525af6-1e3b-4767-ac06-b349c201feb7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.3254497} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"03e79cb0-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:10.084950168Z"}]},"request_id":"428245c6-356c-489f-abef-812ce8b394bd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.327112} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"03e7c3c0-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"03e79cb0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/2ca75efd-694f-43dc-bdca-54d4352c78ab? 200 19ms","method":"GET","requestID":"03e79cb0-8ba5-11ef-a62f-5f7f958aa687","responseTime":19,"status":200,"url":"/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"03e7c3c0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0? 200 20ms","method":"GET","requestID":"03e7c3c0-8ba5-11ef-a62f-5f7f958aa687","responseTime":20,"status":200,"url":"/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1032561f-7032-44bc-9aa6-71572396f683"},"level":"info","message":"Setting up experiment","requestID":"fcd7d6182f530142f720cb396412bab8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1032561f-7032-44bc-9aa6-71572396f683"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"fcd7d6182f530142f720cb396412bab8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1032561f-7032-44bc-9aa6-71572396f683"},"level":"info","message":"Successfully locked booking for experiment","requestID":"fcd7d6182f530142f720cb396412bab8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1032561f-7032-44bc-9aa6-71572396f683"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"fcd7d6182f530142f720cb396412bab8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1032561f-7032-44bc-9aa6-71572396f683"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"fcd7d6182f530142f720cb396412bab8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1032561f-7032-44bc-9aa6-71572396f683"},"level":"info","message":"Attempting to update booking for experiment","requestID":"fcd7d6182f530142f720cb396412bab8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1032561f-7032-44bc-9aa6-71572396f683"},"level":"info","message":"Successfully updated booking for experiment","requestID":"fcd7d6182f530142f720cb396412bab8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1032561f-7032-44bc-9aa6-71572396f683"},"level":"info","message":"Successfully set up experiment","requestID":"fcd7d6182f530142f720cb396412bab8"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"03f1d5e0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"03f22400-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"03f27220-8ba5-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1032561f-7032-44bc-9aa6-71572396f683"},"level":"info","message":"Successfully running experiment","requestID":"fcd7d6182f530142f720cb396412bab8"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1488,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1488,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.950531,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"03f1d5e0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072632,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"03f1d5e0-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1489,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1489,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.578862,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"client_addr":"127.0.0.1:51912","level":"info","msg":"Received request.","req_id":1490,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"03f22400-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072632,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"03f22400-8ba5-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51912","level":"info","msg":"Sent response.","req_id":1490,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.556855,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ca75efd-694f-43dc-bdca-54d4352c78ab","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b6cdf67b-8d74-4abc-9539-3c626289cc75","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.3919334} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"03f27220-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab","object_type":"device","rebac_allow":false,"scope_allow":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":"03f27220-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ca75efd-694f-43dc-bdca-54d4352c78ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ca75efd-694f-43dc-bdca-54d4352c78ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:10.040921561Z"}]},"request_id":"c1f8755e-24ca-418d-a6cf-fbdbcd31dcac","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.3959112} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"03f1d5e0-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:10.084950168Z"}]},"request_id":"06455e88-6f9e-4b2a-9f48-b2106b5610ed","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.3983078} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"03f22400-8ba5-11ef-a62f-5f7f958aa687","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"03f27220-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/2ca75efd-694f-43dc-bdca-54d4352c78ab/signaling 200 19ms","method":"POST","requestID":"03f27220-8ba5-11ef-a62f-5f7f958aa687","responseTime":19,"status":200,"url":"/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"03f1d5e0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/2ca75efd-694f-43dc-bdca-54d4352c78ab? 200 25ms","method":"GET","requestID":"03f1d5e0-8ba5-11ef-a62f-5f7f958aa687","responseTime":25,"status":200,"url":"/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"03f22400-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0? 200 23ms","method":"GET","requestID":"03f22400-8ba5-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1032561f-7032-44bc-9aa6-71572396f683#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1032561f-7032-44bc-9aa6-71572396f683","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"b2fb8b40-b591-4c1c-acb8-f2612c76d858","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.407658} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"03f5cd80-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"36133c91-0d57-4105-bf14-3ce5ffddadbf","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.4080238} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"fcd7d6182f530142f720cb396412bab8","responseTime":18,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"03f5f490-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1491,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1492,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"620c0e7e-d8e9-49f6-901e-73053b6f9274","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.413701} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1491,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.314611,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"03f5cd80-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","object_type":"device","rebac_allow":false,"scope_allow":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":"03f5cd80-8ba5-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/1032561f-7032-44bc-9aa6-71572396f683","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"fcd7d6182f530142f720cb396412bab8"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ca75efd-694f-43dc-bdca-54d4352c78ab","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"133d1add-1067-4248-8e70-cf72d3b0b36b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.414896} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1492,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.874292,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"03f5f490-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab","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 141ms","method":"POST","requestID":"fcd7d6182f530142f720cb396412bab8","responseTime":141,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"16/Oct/2024:09:57:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1216","request_time":"0.148","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"fcd7d6182f530142f720cb396412bab8"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"03f5f490-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"03f5cd80-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0/signaling 200 14ms","method":"POST","requestID":"03f5cd80-8ba5-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA","level":"info","message":"auth send jwt","requestID":"df5dab7dbebd2184474ba1cf763fbb34"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"03f5f490-8ba5-11ef-a62f-5f7f958aa687"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"df5dab7dbebd2184474ba1cf763fbb34","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"POST /devices/2ca75efd-694f-43dc-bdca-54d4352c78ab/signaling 200 13ms","method":"POST","requestID":"03f5f490-8ba5-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"df5dab7dbebd2184474ba1cf763fbb34"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"03f83e80-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1493,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1493,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.449733,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1494,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"df5dab7dbebd2184474ba1cf763fbb34","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072632,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"df5dab7dbebd2184474ba1cf763fbb34","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ca214752-8888-4c70-a924-b0ed561e3045","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.4293888} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1494,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.584712,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"03f83e80-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","object_type":"device","rebac_allow":false,"scope_allow":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":"03f83e80-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ca75efd-694f-43dc-bdca-54d4352c78ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ca75efd-694f-43dc-bdca-54d4352c78ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:10.040921561Z"}]},"request_id":"0be10abb-0ef3-4dd7-b940-7d22ea7f519f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.4316769} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"df5dab7dbebd2184474ba1cf763fbb34","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"03f83e80-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0/signaling 200 12ms","method":"POST","requestID":"03f83e80-8ba5-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"df5dab7dbebd2184474ba1cf763fbb34"} device-1 | {"level":"info","message":"GET /devices/2ca75efd-694f-43dc-bdca-54d4352c78ab? 200 13ms","method":"GET","requestID":"df5dab7dbebd2184474ba1cf763fbb34","responseTime":13,"status":200,"url":"/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab?"} gateway-1 | {"time_local":"16/Oct/2024:09:57:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/2ca75efd-694f-43dc-bdca-54d4352c78ab? 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":"df5dab7dbebd2184474ba1cf763fbb34"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1032561f-7032-44bc-9aa6-71572396f683"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"fcd7d6182f530142f720cb396412bab8"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"03fa3a50-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"03fa6160-8ba5-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA","level":"info","message":"auth send jwt","requestID":"8604d90f9fca3d8bba61da70e082ca09"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8604d90f9fca3d8bba61da70e082ca09","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1495,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1495,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.828122,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1496,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8604d90f9fca3d8bba61da70e082ca09"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"03fa3a50-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072632,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"03fa3a50-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1496,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.736399,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"03fa6160-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072632,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"03fa6160-8ba5-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1497,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1497,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.756394,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"8604d90f9fca3d8bba61da70e082ca09","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072632,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8604d90f9fca3d8bba61da70e082ca09","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ca75efd-694f-43dc-bdca-54d4352c78ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ca75efd-694f-43dc-bdca-54d4352c78ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:10.040921561Z"}]},"request_id":"ba73c2c1-a314-4cff-b131-f66f27c2ad35","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.446585} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:10.084950168Z"}]},"request_id":"2bdc0bda-91e5-4765-9e87-f23535262bfb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.4474027} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"03fa3a50-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"03fa6160-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:10.084950168Z"}]},"request_id":"2c8b6648-bffb-4fdc-8e06-6d513cc7a13c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.4513028} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8604d90f9fca3d8bba61da70e082ca09","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"03fa3a50-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/2ca75efd-694f-43dc-bdca-54d4352c78ab? 200 17ms","method":"GET","requestID":"03fa3a50-8ba5-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"03fa6160-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0? 200 16ms","method":"GET","requestID":"03fa6160-8ba5-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1032561f-7032-44bc-9aa6-71572396f683"},"level":"info","message":"Building connection plan","requestID":"fcd7d6182f530142f720cb396412bab8"} 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":"343943d1-e8ce-490e-870a-12bc28f7ff01"},{"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":"5d066b28-be82-4cda-8b2f-2d50ddd07fc1"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"91438653-39de-4dbb-9ad9-2524f4eaceee"}]},"level":"info","message":"Built pairwise service configurations","requestID":"fcd7d6182f530142f720cb396412bab8"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8604d90f9fca3d8bba61da70e082ca09"} gateway-1 | {"time_local":"16/Oct/2024:09:57:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0? 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":"8604d90f9fca3d8bba61da70e082ca09"} device-1 | {"level":"info","message":"GET /devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0? 200 15ms","method":"GET","requestID":"8604d90f9fca3d8bba61da70e082ca09","responseTime":15,"status":200,"url":"/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0?"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"03fd2080-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"03fd2080-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"03fd2080-8ba5-11ef-a042-213954f0282b","responseTime":1,"status":201,"url":"/rooms"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/7b4827eb-3b46-4436-b340-08e86782ce92?id=0190844c-5a41-4422-8be8-3a4dc19ce723","ws://localhost/rooms/7b4827eb-3b46-4436-b340-08e86782ce92?id=4f7ea8d3-8aa1-4a26-b63f-576bd21ea102"]},"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/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0"},{"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/2ca75efd-694f-43dc-bdca-54d4352c78ab"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"fcd7d6182f530142f720cb396412bab8"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"03fd95b0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1498,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1498,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.933968,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"03fd95b0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072632,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"03fd95b0-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"0e0a9581-680b-448d-8861-afd5f8a00eb9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.4714503} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fc635315-5d10-4de3-9d54-2c1a310ad45f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.4716978} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"03fd95b0-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"03fd95b0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"03fd95b0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/ab8d8d16-9a40-402c-bc51-396dac4aa408'","requestID":"03fd95b0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/ab8d8d16-9a40-402c-bc51-396dac4aa408'","requestID":"03fd95b0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"03fd95b0-8ba5-11ef-a62f-5f7f958aa687"} 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":"03fd95b0-8ba5-11ef-a62f-5f7f958aa687","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":"03fd95b0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/ab8d8d16-9a40-402c-bc51-396dac4aa408' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"ab8d8d16-9a40-402c-bc51-396dac4aa408","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"3701f31918aac6491370f15cca35efd2","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"0402c5d0-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"0190844c-5a41-4422-8be8-3a4dc19ce723\" in room \"http://localhost/rooms/7b4827eb-3b46-4436-b340-08e86782ce92\"","requestID":"0402c5d0-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"0402c5d0-8ba5-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"3701f31918aac6491370f15cca35efd2","responseTime":1,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"04033b00-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"4f7ea8d3-8aa1-4a26-b63f-576bd21ea102\" in room \"http://localhost/rooms/7b4827eb-3b46-4436-b340-08e86782ce92\"","requestID":"04033b00-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"04033b00-8ba5-11ef-a042-213954f0282b"} 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/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0"},{"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/2ca75efd-694f-43dc-bdca-54d4352c78ab"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/ab8d8d16-9a40-402c-bc51-396dac4aa408"}}},"level":"info","message":"received a callback","requestID":"3701f31918aac6491370f15cca35efd2"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"0190844c-5a41-4422-8be8-3a4dc19ce723\" in room \"http://localhost/rooms/7b4827eb-3b46-4436-b340-08e86782ce92\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"0190844c-5a41-4422-8be8-3a4dc19ce723\" in room \"http://localhost/rooms/7b4827eb-3b46-4436-b340-08e86782ce92\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"0190844c-5a41-4422-8be8-3a4dc19ce723\" in room \"http://localhost/rooms/7b4827eb-3b46-4436-b340-08e86782ce92\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"0190844c-5a41-4422-8be8-3a4dc19ce723\" in room \"http://localhost/rooms/7b4827eb-3b46-4436-b340-08e86782ce92\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"0190844c-5a41-4422-8be8-3a4dc19ce723\" in room \"http://localhost/rooms/7b4827eb-3b46-4436-b340-08e86782ce92\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"0190844c-5a41-4422-8be8-3a4dc19ce723\" in room \"http://localhost/rooms/7b4827eb-3b46-4436-b340-08e86782ce92\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"0190844c-5a41-4422-8be8-3a4dc19ce723\" in room \"http://localhost/rooms/7b4827eb-3b46-4436-b340-08e86782ce92\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"0190844c-5a41-4422-8be8-3a4dc19ce723\" in room \"http://localhost/rooms/7b4827eb-3b46-4436-b340-08e86782ce92\""} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 9ms","method":"POST","requestID":"3701f31918aac6491370f15cca35efd2","responseTime":9,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.012","http_referrer":"","http_user_agent":"node-fetch","requestID":"3701f31918aac6491370f15cca35efd2"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/ab8d8d16-9a40-402c-bc51-396dac4aa408' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"ab8d8d16-9a40-402c-bc51-396dac4aa408","statusDeviceA":"connected","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"95b8d26e8526ee3e6768218a2cad6c12","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"95b8d26e8526ee3e6768218a2cad6c12","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/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0"},{"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/2ca75efd-694f-43dc-bdca-54d4352c78ab"}],"status":"new","type":"websocket","url":"http://localhost/peerconnections/ab8d8d16-9a40-402c-bc51-396dac4aa408"}}},"level":"info","message":"received a callback","requestID":"95b8d26e8526ee3e6768218a2cad6c12"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1032561f-7032-44bc-9aa6-71572396f683"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"fcd7d6182f530142f720cb396412bab8"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"04070b90-8ba5-11ef-a62f-5f7f958aa687"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 13ms","method":"POST","requestID":"95b8d26e8526ee3e6768218a2cad6c12","responseTime":13,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.015","http_referrer":"","http_user_agent":"node-fetch","requestID":"95b8d26e8526ee3e6768218a2cad6c12"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1499,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/ab8d8d16-9a40-402c-bc51-396dac4aa408' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"ab8d8d16-9a40-402c-bc51-396dac4aa408","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ca75efd-694f-43dc-bdca-54d4352c78ab","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ee2958a8-1733-4442-a393-401664a12d0f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.5259254} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1499,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.634329,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"04070b90-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab","object_type":"device","rebac_allow":false,"scope_allow":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":"04070b90-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e302d2078d616dc3b23250092d5585db","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"e302d2078d616dc3b23250092d5585db","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/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0"},{"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/2ca75efd-694f-43dc-bdca-54d4352c78ab"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/ab8d8d16-9a40-402c-bc51-396dac4aa408"}}},"level":"info","message":"received a callback","requestID":"e302d2078d616dc3b23250092d5585db"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 4ms","method":"POST","requestID":"e302d2078d616dc3b23250092d5585db","responseTime":4,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.007","http_referrer":"","http_user_agent":"node-fetch","requestID":"e302d2078d616dc3b23250092d5585db"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"04070b90-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/2ca75efd-694f-43dc-bdca-54d4352c78ab/signaling 200 15ms","method":"POST","requestID":"04070b90-8ba5-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0409a3a0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/ab8d8d16-9a40-402c-bc51-396dac4aa408' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"ab8d8d16-9a40-402c-bc51-396dac4aa408","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1500,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"084cbac4910bc5c02bc2e5c8996b3b4e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"084cbac4910bc5c02bc2e5c8996b3b4e","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0fdfb700-ab1e-4557-b5e8-d6442847bdfc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.542293} 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/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0"},{"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/2ca75efd-694f-43dc-bdca-54d4352c78ab"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/ab8d8d16-9a40-402c-bc51-396dac4aa408"}}},"level":"info","message":"received a callback","requestID":"084cbac4910bc5c02bc2e5c8996b3b4e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1500,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.726002,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0409a3a0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","object_type":"device","rebac_allow":false,"scope_allow":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":"0409a3a0-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"040b0330-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1501,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0409a3a0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0/signaling 200 12ms","method":"POST","requestID":"0409a3a0-8ba5-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fab8d8d16-9a40-402c-bc51-396dac4aa408","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f885dfad-827a-45ac-a794-99c9ed0c692a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.5513527} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1501,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.728011,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/ab8d8d16-9a40-402c-bc51-396dac4aa408","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"040b0330-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/ab8d8d16-9a40-402c-bc51-396dac4aa408","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":"040b0330-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"040b0330-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/ab8d8d16-9a40-402c-bc51-396dac4aa408 200 8ms","method":"GET","requestID":"040b0330-8ba5-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/peerconnections/ab8d8d16-9a40-402c-bc51-396dac4aa408"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 25ms","method":"POST","requestID":"084cbac4910bc5c02bc2e5c8996b3b4e","responseTime":25,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.028","http_referrer":"","http_user_agent":"node-fetch","requestID":"084cbac4910bc5c02bc2e5c8996b3b4e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"040e3780-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1502,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"599a2737-61d4-4b45-ad08-c36b4e8e5c46","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.5732367} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1502,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.743846,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"040e3780-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","object_type":"device","rebac_allow":false,"scope_allow":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":"040e3780-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"040e3780-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0/signaling 200 10ms","method":"POST","requestID":"040e3780-8ba5-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"040fe530-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1503,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ca75efd-694f-43dc-bdca-54d4352c78ab","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"92c0e6b0-1c62-4f27-af78-be58aca0720b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.5845277} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1503,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.494594,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"040fe530-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab","object_type":"device","rebac_allow":false,"scope_allow":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":"040fe530-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"040fe530-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/2ca75efd-694f-43dc-bdca-54d4352c78ab/signaling 200 9ms","method":"POST","requestID":"040fe530-8ba5-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA","level":"info","message":"auth send jwt","requestID":"c859a3fed7a01df335599b02d35e2538"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c859a3fed7a01df335599b02d35e2538","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/1032561f-7032-44bc-9aa6-71572396f683","requestID":"c859a3fed7a01df335599b02d35e2538"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1504,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1504,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.093012,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/1032561f-7032-44bc-9aa6-71572396f683","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c859a3fed7a01df335599b02d35e2538","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/1032561f-7032-44bc-9aa6-71572396f683","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072632,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c859a3fed7a01df335599b02d35e2538","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/1032561f-7032-44bc-9aa6-71572396f683","requestID":"c859a3fed7a01df335599b02d35e2538"} gateway-1 | {"time_local":"16/Oct/2024:09:57:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/1032561f-7032-44bc-9aa6-71572396f683 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":"c859a3fed7a01df335599b02d35e2538"} experiment-1 | {"level":"info","message":"GET /experiments/1032561f-7032-44bc-9aa6-71572396f683 200 11ms","method":"GET","requestID":"c859a3fed7a01df335599b02d35e2538","responseTime":11,"status":200,"url":"/experiments/1032561f-7032-44bc-9aa6-71572396f683"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA","level":"info","message":"auth send jwt","requestID":"f07d67ab010b7c542747fdea5f82b507"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"f07d67ab010b7c542747fdea5f82b507","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/1032561f-7032-44bc-9aa6-71572396f683","requestID":"f07d67ab010b7c542747fdea5f82b507"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1505,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1505,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.908453,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/1032561f-7032-44bc-9aa6-71572396f683","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f07d67ab010b7c542747fdea5f82b507","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/1032561f-7032-44bc-9aa6-71572396f683","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072632,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"f07d67ab010b7c542747fdea5f82b507","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1032561f-7032-44bc-9aa6-71572396f683"},"level":"info","message":"Attempting to finish experiment","requestID":"f07d67ab010b7c542747fdea5f82b507"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"0418e5e0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1506,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1506,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.158033,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/ab8d8d16-9a40-402c-bc51-396dac4aa408","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0418e5e0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/ab8d8d16-9a40-402c-bc51-396dac4aa408","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072632,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0418e5e0-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:57:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/7b4827eb-3b46-4436-b340-08e86782ce92?id=0190844c-5a41-4422-8be8-3a4dc19ce723 HTTP/1.1","status": "101","body_bytes_sent":"872","request_time":"0.158","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"ccbddff5a6a39ea0efdc70f1f8f05123"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"0190844c-5a41-4422-8be8-3a4dc19ce723\" in room \"http://localhost/rooms/7b4827eb-3b46-4436-b340-08e86782ce92\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"0190844c-5a41-4422-8be8-3a4dc19ce723\" from room \"http://localhost/rooms/7b4827eb-3b46-4436-b340-08e86782ce92\", code: 1006, reason: "} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/ab8d8d16-9a40-402c-bc51-396dac4aa408","device":"2ca75efd-694f-43dc-bdca-54d4352c78ab","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} gateway-1 | {"time_local":"16/Oct/2024:09:57:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/7b4827eb-3b46-4436-b340-08e86782ce92?id=4f7ea8d3-8aa1-4a26-b63f-576bd21ea102 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":"ef6f9118f77f36ecf8da81f36a55e118"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/ab8d8d16-9a40-402c-bc51-396dac4aa408' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/ab8d8d16-9a40-402c-bc51-396dac4aa408' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"ab8d8d16-9a40-402c-bc51-396dac4aa408","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"4f7ea8d3-8aa1-4a26-b63f-576bd21ea102\" in room \"http://localhost/rooms/7b4827eb-3b46-4436-b340-08e86782ce92\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"4f7ea8d3-8aa1-4a26-b63f-576bd21ea102\" from room \"http://localhost/rooms/7b4827eb-3b46-4436-b340-08e86782ce92\", code: 1005, reason: "} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0f0cb545380328f8ae9eff26eefbff02","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"0f0cb545380328f8ae9eff26eefbff02","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fab8d8d16-9a40-402c-bc51-396dac4aa408': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fab8d8d16-9a40-402c-bc51-396dac4aa408","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"c304444e-9286-4edd-9005-795d74ca08f7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.6541884} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6c2586cd14c991c9559bd47e26fdf1bf","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"395ffc3c-1d65-4a5b-b7fe-4e09ba895a91","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.6545358} 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/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0"},{"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/2ca75efd-694f-43dc-bdca-54d4352c78ab"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/ab8d8d16-9a40-402c-bc51-396dac4aa408"}}},"level":"info","message":"received a callback","requestID":"0f0cb545380328f8ae9eff26eefbff02"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"6c2586cd14c991c9559bd47e26fdf1bf","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"0418e5e0-8ba5-11ef-a62f-5f7f958aa687","responseTime":7,"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":["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/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0"},{"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/2ca75efd-694f-43dc-bdca-54d4352c78ab"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/ab8d8d16-9a40-402c-bc51-396dac4aa408"}}},"level":"info","message":"received a callback","requestID":"6c2586cd14c991c9559bd47e26fdf1bf"} device-1 | {"data":{"peerconnection":"ab8d8d16-9a40-402c-bc51-396dac4aa408","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"0418e5e0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/ab8d8d16-9a40-402c-bc51-396dac4aa408 204 34ms","method":"DELETE","requestID":"0418e5e0-8ba5-11ef-a62f-5f7f958aa687","responseTime":34,"status":204,"url":"/peerconnections/ab8d8d16-9a40-402c-bc51-396dac4aa408"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1032561f-7032-44bc-9aa6-71572396f683"},"level":"info","message":"Successfully finished experiment","requestID":"f07d67ab010b7c542747fdea5f82b507"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0420ae10-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1507,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"db033592-6483-4394-b0db-01438e74df10","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.6946588} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1507,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.78516,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0420ae10-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0","object_type":"device","rebac_allow":false,"scope_allow":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":"0420ae10-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0420ae10-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0/signaling 200 10ms","method":"POST","requestID":"0420ae10-8ba5-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"042282d0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1032561f-7032-44bc-9aa6-71572396f683': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1032561f-7032-44bc-9aa6-71572396f683","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"9379eea9-888c-42f8-bcf8-6bc9c2c7a891","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.7022326} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"64752d94-77c2-4174-96e1-3f654516c388","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.7025652} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"f07d67ab010b7c542747fdea5f82b507","responseTime":17,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1508,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ca75efd-694f-43dc-bdca-54d4352c78ab","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4d09360b-acc1-4a75-b50e-c918c7454753","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.7076223} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1508,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.217583,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"042282d0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab","object_type":"device","rebac_allow":false,"scope_allow":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":"042282d0-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"042282d0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/2ca75efd-694f-43dc-bdca-54d4352c78ab/signaling 200 11ms","method":"POST","requestID":"042282d0-8ba5-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/2ca75efd-694f-43dc-bdca-54d4352c78ab/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/1032561f-7032-44bc-9aa6-71572396f683","requestID":"f07d67ab010b7c542747fdea5f82b507"} gateway-1 | {"time_local":"16/Oct/2024:09:57:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/1032561f-7032-44bc-9aa6-71572396f683 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.162","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f07d67ab010b7c542747fdea5f82b507"} experiment-1 | {"level":"info","message":"DELETE /experiments/1032561f-7032-44bc-9aa6-71572396f683 204 159ms","method":"DELETE","requestID":"f07d67ab010b7c542747fdea5f82b507","responseTime":159,"status":204,"url":"/experiments/1032561f-7032-44bc-9aa6-71572396f683"} gateway-1 | {"time_local":"16/Oct/2024:09:57:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1744","request_time":"2.162","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"ccdc9bf58dd3d0cf5136ff1032443d9a"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 130ms","method":"POST","requestID":"0f0cb545380328f8ae9eff26eefbff02","responseTime":130,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.133","http_referrer":"","http_user_agent":"node-fetch","requestID":"0f0cb545380328f8ae9eff26eefbff02"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 130ms","method":"POST","requestID":"6c2586cd14c991c9559bd47e26fdf1bf","responseTime":130,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.134","http_referrer":"","http_user_agent":"node-fetch","requestID":"6c2586cd14c991c9559bd47e26fdf1bf"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA","level":"info","message":"auth send jwt","requestID":"8992fedc5f437993370d43b332b200ac"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8992fedc5f437993370d43b332b200ac","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"8992fedc5f437993370d43b332b200ac"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1509,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} gateway-1 | {"time_local":"16/Oct/2024:09:57:12 +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.663","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"f12e6f82d5c00e68e07bb4d39bfe0dde"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1509,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.09392,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"8992fedc5f437993370d43b332b200ac","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072632,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8992fedc5f437993370d43b332b200ac","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/9ff069b4-febf-4a23-bc4e-6b4f68d2f5a0' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F773aacd1-6668-41dd-b78c-0f972e54e81d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"1e425434-bb91-42e2-8d08-5c30a7798062","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.8090546} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"8992fedc5f437993370d43b332b200ac","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"81d0a925-2c1d-4345-bd9d-f8926fac0aa7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.8136954} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"8992fedc5f437993370d43b332b200ac","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/2ca75efd-694f-43dc-bdca-54d4352c78ab' closed"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F773aacd1-6668-41dd-b78c-0f972e54e81d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"8cbcb6a8-6be4-4c1a-aee2-bd57fc2ac4ef","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.8260102} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5b2fae27-0774-45fa-9f56-9959a9f6e753","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.8262825} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"8992fedc5f437993370d43b332b200ac","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F773aacd1-6668-41dd-b78c-0f972e54e81d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F773aacd1-6668-41dd-b78c-0f972e54e81d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:12.825963516Z"}]},"request_id":"eb8f3fbe-1420-4bd5-9cb5-281233b0b46b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.8305886} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"8992fedc5f437993370d43b332b200ac","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"8992fedc5f437993370d43b332b200ac"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"8992fedc5f437993370d43b332b200ac","responseTime":43,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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":"8992fedc5f437993370d43b332b200ac"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA","level":"info","message":"auth send jwt","requestID":"b2e44d752a1d4c3517fe7911a39c1a87"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"b2e44d752a1d4c3517fe7911a39c1a87","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"b2e44d752a1d4c3517fe7911a39c1a87"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1510,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1510,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.69788,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:12Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b2e44d752a1d4c3517fe7911a39c1a87","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072632,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzMn0.3YkdoylBj42yw4NyM8Z9Hs3H919KQ8H8OqT9FKfrfQA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b2e44d752a1d4c3517fe7911a39c1a87","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89d1c100-d6b5-47ba-8c24-b41d17ee6742","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"7ac54bb8-7791-429d-a4bb-e919d2a42891","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.8524168} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b2e44d752a1d4c3517fe7911a39c1a87","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e658453c-d3b9-460c-9ee0-624f30bff0b5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.856556} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"b2e44d752a1d4c3517fe7911a39c1a87","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89d1c100-d6b5-47ba-8c24-b41d17ee6742","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"5d96f8f1-4015-4981-8c2b-8fd5f40b56af","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.8652973} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"58550f0f-9201-4130-b6c0-675b0f1afa02","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.8654394} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"b2e44d752a1d4c3517fe7911a39c1a87","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89d1c100-d6b5-47ba-8c24-b41d17ee6742","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89d1c100-d6b5-47ba-8c24-b41d17ee6742","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:12.865265301Z"}]},"request_id":"b9716f48-8c40-4e64-be65-3271f4c467be","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072632.8691611} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b2e44d752a1d4c3517fe7911a39c1a87","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"b2e44d752a1d4c3517fe7911a39c1a87"} device-1 | {"level":"info","message":"POST /devices? 201 34ms","method":"POST","requestID":"b2e44d752a1d4c3517fe7911a39c1a87","responseTime":34,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:57:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.038","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b2e44d752a1d4c3517fe7911a39c1a87"} forwarding-1 | {"level":"info","message":"Participant \"f303625b-2926-4ab5-8c45-e10e6da582c4\" in room \"http://localhost/rooms/5dbc2b0e-a250-4636-a4d4-db7e69d34842\" did not answer hearbeat check, closing connection","requestID":"e0b7e420-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Participant \"b962d955-0f16-4054-bb2f-aa3d7d3ae8cd\" in room \"http://localhost/rooms/5dbc2b0e-a250-4636-a4d4-db7e69d34842\" did not answer hearbeat check, closing connection","requestID":"e0b83240-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzM30.TKQOYN6DOBuF7x_0GS-Sw0jYRNEugKA_1F8CZIl-q5M","level":"info","message":"auth send jwt","requestID":"37dc72c917f05b5aa307aea7f2bb74c5"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"37dc72c917f05b5aa307aea7f2bb74c5","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"37dc72c917f05b5aa307aea7f2bb74c5"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1511,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1511,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.785734,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:13Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/773aacd1-6668-41dd-b78c-0f972e54e81d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"37dc72c917f05b5aa307aea7f2bb74c5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/773aacd1-6668-41dd-b78c-0f972e54e81d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072633,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzM30.TKQOYN6DOBuF7x_0GS-Sw0jYRNEugKA_1F8CZIl-q5M"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"37dc72c917f05b5aa307aea7f2bb74c5","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F773aacd1-6668-41dd-b78c-0f972e54e81d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F773aacd1-6668-41dd-b78c-0f972e54e81d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:12.825963516Z"}]},"request_id":"c0edd84a-84c6-4669-b391-4a6c683654bc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072633.359245} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"37dc72c917f05b5aa307aea7f2bb74c5","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ead9b611-235f-4fd4-a79d-bdeda6b5427d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072633.3644376} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"37dc72c917f05b5aa307aea7f2bb74c5","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F773aacd1-6668-41dd-b78c-0f972e54e81d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F773aacd1-6668-41dd-b78c-0f972e54e81d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:12.825963516Z"}]},"request_id":"43b12782-9785-46c9-a6a0-8ce93e69071d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072633.3779712} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"37dc72c917f05b5aa307aea7f2bb74c5","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"37dc72c917f05b5aa307aea7f2bb74c5"} device-1 | {"level":"info","message":"PATCH /devices/773aacd1-6668-41dd-b78c-0f972e54e81d 200 32ms","method":"PATCH","requestID":"37dc72c917f05b5aa307aea7f2bb74c5","responseTime":32,"status":200,"url":"/devices/773aacd1-6668-41dd-b78c-0f972e54e81d"} gateway-1 | {"time_local":"16/Oct/2024:09:57:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/773aacd1-6668-41dd-b78c-0f972e54e81d HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.037","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"37dc72c917f05b5aa307aea7f2bb74c5"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzM30.TKQOYN6DOBuF7x_0GS-Sw0jYRNEugKA_1F8CZIl-q5M","level":"info","message":"auth send jwt","requestID":"03ba4d60dfdffa390f54138d1b99911f"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"03ba4d60dfdffa390f54138d1b99911f","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"03ba4d60dfdffa390f54138d1b99911f"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1512,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:13Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1512,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.211388,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:13Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/773aacd1-6668-41dd-b78c-0f972e54e81d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"03ba4d60dfdffa390f54138d1b99911f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/773aacd1-6668-41dd-b78c-0f972e54e81d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072633,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzM30.TKQOYN6DOBuF7x_0GS-Sw0jYRNEugKA_1F8CZIl-q5M"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"03ba4d60dfdffa390f54138d1b99911f","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"03ba4d60dfdffa390f54138d1b99911f"} device-1 | {"level":"info","message":"POST /devices/773aacd1-6668-41dd-b78c-0f972e54e81d/websocket 200 19ms","method":"POST","requestID":"03ba4d60dfdffa390f54138d1b99911f","responseTime":19,"status":200,"url":"/devices/773aacd1-6668-41dd-b78c-0f972e54e81d/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:57:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/773aacd1-6668-41dd-b78c-0f972e54e81d/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.10","requestID":"03ba4d60dfdffa390f54138d1b99911f"} device-1 | {"level":"info","message":"device 'http://localhost/devices/773aacd1-6668-41dd-b78c-0f972e54e81d' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"85a3596aa2aca944b789dbd90ee025e6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"85a3596aa2aca944b789dbd90ee025e6","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:57:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742/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":"85a3596aa2aca944b789dbd90ee025e6"} device-1 | {"level":"info","message":"OPTIONS /devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742/websocket 200 1ms","method":"OPTIONS","requestID":"85a3596aa2aca944b789dbd90ee025e6","responseTime":1,"status":200,"url":"/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNH0.IH7hPgUjvGmBGwdWwwhrS4dew3h0zb6BuR4ykVOKtEE","level":"info","message":"auth send jwt","requestID":"43ae83d99712793a13bd4e3e620b17ce"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"43ae83d99712793a13bd4e3e620b17ce","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"43ae83d99712793a13bd4e3e620b17ce"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1513,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:14Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1513,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.242408,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:14Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"43ae83d99712793a13bd4e3e620b17ce","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072634,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNH0.IH7hPgUjvGmBGwdWwwhrS4dew3h0zb6BuR4ykVOKtEE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"43ae83d99712793a13bd4e3e620b17ce","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"43ae83d99712793a13bd4e3e620b17ce"} gateway-1 | {"time_local":"16/Oct/2024:09:57:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742/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":"43ae83d99712793a13bd4e3e620b17ce"} device-1 | {"level":"info","message":"POST /devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742/websocket 200 21ms","method":"POST","requestID":"43ae83d99712793a13bd4e3e620b17ce","responseTime":21,"status":200,"url":"/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2eb173d514e3eab8e0701004ffc6dd63","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"2eb173d514e3eab8e0701004ffc6dd63","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:57:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742? 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":"2eb173d514e3eab8e0701004ffc6dd63"} device-1 | {"level":"info","message":"OPTIONS /devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742? 200 0ms","method":"OPTIONS","requestID":"2eb173d514e3eab8e0701004ffc6dd63","responseTime":0,"status":200,"url":"/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNH0.IH7hPgUjvGmBGwdWwwhrS4dew3h0zb6BuR4ykVOKtEE","level":"info","message":"auth send jwt","requestID":"522bae3f5f01f2c3737d1c4026e417d4"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"522bae3f5f01f2c3737d1c4026e417d4","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"522bae3f5f01f2c3737d1c4026e417d4"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1514,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:14Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1514,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.174325,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:14Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"522bae3f5f01f2c3737d1c4026e417d4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072634,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNH0.IH7hPgUjvGmBGwdWwwhrS4dew3h0zb6BuR4ykVOKtEE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"522bae3f5f01f2c3737d1c4026e417d4","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89d1c100-d6b5-47ba-8c24-b41d17ee6742","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89d1c100-d6b5-47ba-8c24-b41d17ee6742","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:12.865265301Z"}]},"request_id":"f083bfaf-eb1e-485f-99be-d3f35d0c11e1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072634.9764488} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"522bae3f5f01f2c3737d1c4026e417d4","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"35342b64-e03d-48ab-b414-27f93b59adba","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072634.9838774} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"522bae3f5f01f2c3737d1c4026e417d4","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89d1c100-d6b5-47ba-8c24-b41d17ee6742","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89d1c100-d6b5-47ba-8c24-b41d17ee6742","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:12.865265301Z"}]},"request_id":"a20493b7-98ea-4e20-a6af-395cb410d7bb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072634.9976544} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"522bae3f5f01f2c3737d1c4026e417d4","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"522bae3f5f01f2c3737d1c4026e417d4"} device-1 | {"level":"info","message":"PATCH /devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742? 200 37ms","method":"PATCH","requestID":"522bae3f5f01f2c3737d1c4026e417d4","responseTime":37,"status":200,"url":"/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742?"} gateway-1 | {"time_local":"16/Oct/2024:09:57:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742? 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":"522bae3f5f01f2c3737d1c4026e417d4"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNX0.XxGJMpNCs6-uq9LWJStpFzACG1c00VDy-WXaoZSXLD4","level":"info","message":"auth send jwt","requestID":"787367cdc29777fffceb336366a1757b"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"787367cdc29777fffceb336366a1757b","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"787367cdc29777fffceb336366a1757b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1515,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1515,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.195952,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/773aacd1-6668-41dd-b78c-0f972e54e81d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"787367cdc29777fffceb336366a1757b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/773aacd1-6668-41dd-b78c-0f972e54e81d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072635,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNX0.XxGJMpNCs6-uq9LWJStpFzACG1c00VDy-WXaoZSXLD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"787367cdc29777fffceb336366a1757b","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F773aacd1-6668-41dd-b78c-0f972e54e81d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F773aacd1-6668-41dd-b78c-0f972e54e81d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:12.825963516Z"}]},"request_id":"aa57b59f-d9c2-48c9-a7af-f9e90aa7f542","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.0249062} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"787367cdc29777fffceb336366a1757b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"787367cdc29777fffceb336366a1757b"} gateway-1 | {"time_local":"16/Oct/2024:09:57:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/773aacd1-6668-41dd-b78c-0f972e54e81d? 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":"787367cdc29777fffceb336366a1757b"} device-1 | {"level":"info","message":"GET /devices/773aacd1-6668-41dd-b78c-0f972e54e81d? 200 16ms","method":"GET","requestID":"787367cdc29777fffceb336366a1757b","responseTime":16,"status":200,"url":"/devices/773aacd1-6668-41dd-b78c-0f972e54e81d?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNX0.XxGJMpNCs6-uq9LWJStpFzACG1c00VDy-WXaoZSXLD4","level":"info","message":"auth send jwt","requestID":"f2c5e8ef8c0b7b2bf368706a0410917c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"f2c5e8ef8c0b7b2bf368706a0410917c","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f2c5e8ef8c0b7b2bf368706a0410917c"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1516,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1516,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.83231,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f2c5e8ef8c0b7b2bf368706a0410917c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072635,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNX0.XxGJMpNCs6-uq9LWJStpFzACG1c00VDy-WXaoZSXLD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f2c5e8ef8c0b7b2bf368706a0410917c","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89d1c100-d6b5-47ba-8c24-b41d17ee6742","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89d1c100-d6b5-47ba-8c24-b41d17ee6742","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:12.865265301Z"}]},"request_id":"bd72469d-534d-4bab-a5c5-3c2711494773","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.0431526} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"f2c5e8ef8c0b7b2bf368706a0410917c","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f2c5e8ef8c0b7b2bf368706a0410917c"} gateway-1 | {"time_local":"16/Oct/2024:09:57:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742? 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":"f2c5e8ef8c0b7b2bf368706a0410917c"} device-1 | {"level":"info","message":"GET /devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742? 200 17ms","method":"GET","requestID":"f2c5e8ef8c0b7b2bf368706a0410917c","responseTime":17,"status":200,"url":"/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNX0.XxGJMpNCs6-uq9LWJStpFzACG1c00VDy-WXaoZSXLD4","level":"info","message":"auth send jwt","requestID":"4eb16628a309680e241b9c524b445cba"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"4eb16628a309680e241b9c524b445cba","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"4eb16628a309680e241b9c524b445cba"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1517,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1517,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.736428,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"4eb16628a309680e241b9c524b445cba","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072635,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNX0.XxGJMpNCs6-uq9LWJStpFzACG1c00VDy-WXaoZSXLD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4eb16628a309680e241b9c524b445cba","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/31952092-25e3-4982-b9f1-6d924513b5cb"},"level":"info","message":"Attempting to run experiment","requestID":"4eb16628a309680e241b9c524b445cba"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/31952092-25e3-4982-b9f1-6d924513b5cb"},"level":"info","message":"Attempting to book experiment","requestID":"4eb16628a309680e241b9c524b445cba"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/31952092-25e3-4982-b9f1-6d924513b5cb"},"level":"info","message":"Successfully booked experiment","requestID":"4eb16628a309680e241b9c524b445cba"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"058f8050-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"058fa760-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1518,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1518,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.93611,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1519,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/773aacd1-6668-41dd-b78c-0f972e54e81d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"058f8050-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/773aacd1-6668-41dd-b78c-0f972e54e81d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072635,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNX0.XxGJMpNCs6-uq9LWJStpFzACG1c00VDy-WXaoZSXLD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"058f8050-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1519,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.210538,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"058fa760-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072635,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNX0.XxGJMpNCs6-uq9LWJStpFzACG1c00VDy-WXaoZSXLD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"058fa760-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F773aacd1-6668-41dd-b78c-0f972e54e81d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F773aacd1-6668-41dd-b78c-0f972e54e81d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:12.825963516Z"}]},"request_id":"880025a0-e9dd-45c0-a4d1-591cde11bdf9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.1016457} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"058f8050-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89d1c100-d6b5-47ba-8c24-b41d17ee6742","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89d1c100-d6b5-47ba-8c24-b41d17ee6742","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:12.865265301Z"}]},"request_id":"318c9072-8718-42e7-9794-e0bc0171c4af","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.1028218} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"058fa760-8ba5-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"058f8050-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/773aacd1-6668-41dd-b78c-0f972e54e81d? 200 13ms","method":"GET","requestID":"058f8050-8ba5-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/773aacd1-6668-41dd-b78c-0f972e54e81d?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"058fa760-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742? 200 13ms","method":"GET","requestID":"058fa760-8ba5-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/31952092-25e3-4982-b9f1-6d924513b5cb"},"level":"info","message":"Setting up experiment","requestID":"4eb16628a309680e241b9c524b445cba"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/31952092-25e3-4982-b9f1-6d924513b5cb"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"4eb16628a309680e241b9c524b445cba"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/31952092-25e3-4982-b9f1-6d924513b5cb"},"level":"info","message":"Successfully locked booking for experiment","requestID":"4eb16628a309680e241b9c524b445cba"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/31952092-25e3-4982-b9f1-6d924513b5cb"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"4eb16628a309680e241b9c524b445cba"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/31952092-25e3-4982-b9f1-6d924513b5cb"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"4eb16628a309680e241b9c524b445cba"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/31952092-25e3-4982-b9f1-6d924513b5cb"},"level":"info","message":"Attempting to update booking for experiment","requestID":"4eb16628a309680e241b9c524b445cba"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/31952092-25e3-4982-b9f1-6d924513b5cb"},"level":"info","message":"Successfully updated booking for experiment","requestID":"4eb16628a309680e241b9c524b445cba"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/31952092-25e3-4982-b9f1-6d924513b5cb"},"level":"info","message":"Successfully set up experiment","requestID":"4eb16628a309680e241b9c524b445cba"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0598a810-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0598f630-8ba5-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/31952092-25e3-4982-b9f1-6d924513b5cb"},"level":"info","message":"Successfully running experiment","requestID":"4eb16628a309680e241b9c524b445cba"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"05991d40-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1520,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1520,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.721586,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1521,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/773aacd1-6668-41dd-b78c-0f972e54e81d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0598a810-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/773aacd1-6668-41dd-b78c-0f972e54e81d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072635,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNX0.XxGJMpNCs6-uq9LWJStpFzACG1c00VDy-WXaoZSXLD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0598a810-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1521,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.615504,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0598f630-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072635,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNX0.XxGJMpNCs6-uq9LWJStpFzACG1c00VDy-WXaoZSXLD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0598f630-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1522,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1522,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.672375,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F773aacd1-6668-41dd-b78c-0f972e54e81d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F773aacd1-6668-41dd-b78c-0f972e54e81d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:12.825963516Z"}]},"request_id":"7101cb4e-3658-4e68-9a14-5793be5f0fa6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.1646922} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F773aacd1-6668-41dd-b78c-0f972e54e81d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7c20f229-e444-4689-a581-8650bcbba1e2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.1648083} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"0598a810-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/773aacd1-6668-41dd-b78c-0f972e54e81d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"05991d40-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/773aacd1-6668-41dd-b78c-0f972e54e81d","object_type":"device","rebac_allow":false,"scope_allow":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":"05991d40-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89d1c100-d6b5-47ba-8c24-b41d17ee6742","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89d1c100-d6b5-47ba-8c24-b41d17ee6742","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:12.865265301Z"}]},"request_id":"ba61c5d4-f46e-49e4-ab28-b1ad31918b18","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.1657789} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"0598f630-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0598a810-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/773aacd1-6668-41dd-b78c-0f972e54e81d? 200 17ms","method":"GET","requestID":"0598a810-8ba5-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/773aacd1-6668-41dd-b78c-0f972e54e81d?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"05991d40-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/773aacd1-6668-41dd-b78c-0f972e54e81d/signaling 200 15ms","method":"POST","requestID":"05991d40-8ba5-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/773aacd1-6668-41dd-b78c-0f972e54e81d/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0598f630-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742? 200 17ms","method":"GET","requestID":"0598f630-8ba5-11ef-a62f-5f7f958aa687","responseTime":17,"status":200,"url":"/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"059bb550-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"059bdc60-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1523,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1524,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1523,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.537288,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89d1c100-d6b5-47ba-8c24-b41d17ee6742","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d7759d7c-23d4-4608-96a6-7606f54d595d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.1781745} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F773aacd1-6668-41dd-b78c-0f972e54e81d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5d9f9fda-b8c1-4bf3-8569-9316c081f689","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.1795382} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"059bb550-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742","object_type":"device","rebac_allow":false,"scope_allow":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":"059bb550-8ba5-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1524,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.621249,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F31952092-25e3-4982-b9f1-6d924513b5cb#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F31952092-25e3-4982-b9f1-6d924513b5cb","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"d321a42c-80a8-4b3f-9789-e3de1791dd7d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.179955} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c72c0804-4727-4650-b0cf-92727f6fb115","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.180485} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/773aacd1-6668-41dd-b78c-0f972e54e81d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"059bdc60-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/773aacd1-6668-41dd-b78c-0f972e54e81d","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":"059bb550-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"059bdc60-8ba5-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"POST /devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742/signaling 200 12ms","method":"POST","requestID":"059bb550-8ba5-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 27ms","method":"POST","requestID":"4eb16628a309680e241b9c524b445cba","responseTime":27,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"059bdc60-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/773aacd1-6668-41dd-b78c-0f972e54e81d/signaling 200 14ms","method":"POST","requestID":"059bdc60-8ba5-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/773aacd1-6668-41dd-b78c-0f972e54e81d/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"059e7470-8ba5-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/31952092-25e3-4982-b9f1-6d924513b5cb","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"4eb16628a309680e241b9c524b445cba"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1525,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} gateway-1 | {"time_local":"16/Oct/2024:09:57:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1216","request_time":"0.141","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4eb16628a309680e241b9c524b445cba"} experiment-1 | {"level":"info","message":"POST /experiments? 201 137ms","method":"POST","requestID":"4eb16628a309680e241b9c524b445cba","responseTime":137,"status":201,"url":"/experiments?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89d1c100-d6b5-47ba-8c24-b41d17ee6742","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b62d7a21-2624-43e3-9477-132869975675","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.1970916} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1525,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.666805,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"059e7470-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742","object_type":"device","rebac_allow":false,"scope_allow":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":"059e7470-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNX0.XxGJMpNCs6-uq9LWJStpFzACG1c00VDy-WXaoZSXLD4","level":"info","message":"auth send jwt","requestID":"209decf038bedf25ca1138982af2ef5f"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"209decf038bedf25ca1138982af2ef5f","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"059e7470-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742/signaling 200 11ms","method":"POST","requestID":"059e7470-8ba5-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"209decf038bedf25ca1138982af2ef5f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/31952092-25e3-4982-b9f1-6d924513b5cb"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"4eb16628a309680e241b9c524b445cba"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"05a09750-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1526,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"05a0e570-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1526,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.915076,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/773aacd1-6668-41dd-b78c-0f972e54e81d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"209decf038bedf25ca1138982af2ef5f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/773aacd1-6668-41dd-b78c-0f972e54e81d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072635,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNX0.XxGJMpNCs6-uq9LWJStpFzACG1c00VDy-WXaoZSXLD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"209decf038bedf25ca1138982af2ef5f","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1527,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1527,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.039776,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"client_addr":"127.0.0.1:51912","level":"info","msg":"Received request.","req_id":1528,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/773aacd1-6668-41dd-b78c-0f972e54e81d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"05a09750-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/773aacd1-6668-41dd-b78c-0f972e54e81d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072635,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNX0.XxGJMpNCs6-uq9LWJStpFzACG1c00VDy-WXaoZSXLD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"05a09750-8ba5-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51912","level":"info","msg":"Sent response.","req_id":1528,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.213589,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"05a0e570-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072635,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNX0.XxGJMpNCs6-uq9LWJStpFzACG1c00VDy-WXaoZSXLD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"05a0e570-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F773aacd1-6668-41dd-b78c-0f972e54e81d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F773aacd1-6668-41dd-b78c-0f972e54e81d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:12.825963516Z"}]},"request_id":"456af48d-8dd0-4ed3-8e00-8ffce1ed1f0a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.2169845} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"209decf038bedf25ca1138982af2ef5f","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F773aacd1-6668-41dd-b78c-0f972e54e81d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F773aacd1-6668-41dd-b78c-0f972e54e81d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:12.825963516Z"}]},"request_id":"2b6233fd-f50c-478a-aae0-fa9310412d49","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.2199945} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"05a09750-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"209decf038bedf25ca1138982af2ef5f"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89d1c100-d6b5-47ba-8c24-b41d17ee6742","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89d1c100-d6b5-47ba-8c24-b41d17ee6742","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:12.865265301Z"}]},"request_id":"232d873f-db2c-4cb9-867b-b4727619de95","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.2229378} gateway-1 | {"time_local":"16/Oct/2024:09:57:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/773aacd1-6668-41dd-b78c-0f972e54e81d? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.028","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"209decf038bedf25ca1138982af2ef5f"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"05a0e570-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/773aacd1-6668-41dd-b78c-0f972e54e81d? 200 21ms","method":"GET","requestID":"209decf038bedf25ca1138982af2ef5f","responseTime":21,"status":200,"url":"/devices/773aacd1-6668-41dd-b78c-0f972e54e81d?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"05a09750-8ba5-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNX0.XxGJMpNCs6-uq9LWJStpFzACG1c00VDy-WXaoZSXLD4","level":"info","message":"auth send jwt","requestID":"984a88d317cc758c1dbf81532d5b2c52"} device-1 | {"level":"info","message":"GET /devices/773aacd1-6668-41dd-b78c-0f972e54e81d? 200 24ms","method":"GET","requestID":"05a09750-8ba5-11ef-a62f-5f7f958aa687","responseTime":24,"status":200,"url":"/devices/773aacd1-6668-41dd-b78c-0f972e54e81d?"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"984a88d317cc758c1dbf81532d5b2c52","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"05a0e570-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742? 200 23ms","method":"GET","requestID":"05a0e570-8ba5-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742?"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"984a88d317cc758c1dbf81532d5b2c52"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/31952092-25e3-4982-b9f1-6d924513b5cb"},"level":"info","message":"Building connection plan","requestID":"4eb16628a309680e241b9c524b445cba"} 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":"abdb5551-9680-4d46-825e-b356db92ad09"},{"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":"69393702-d271-4ede-8afc-9e74ef4ccb5c"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"500e4b2d-15fe-47ac-81d2-01e46b97e267"}]},"level":"info","message":"Built pairwise service configurations","requestID":"4eb16628a309680e241b9c524b445cba"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1529,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"05a4dd10-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"05a4dd10-8ba5-11ef-a042-213954f0282b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1529,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.087718,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} forwarding-1 | {"level":"info","message":"POST /rooms 201 2ms","method":"POST","requestID":"05a4dd10-8ba5-11ef-a042-213954f0282b","responseTime":2,"status":201,"url":"/rooms"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"984a88d317cc758c1dbf81532d5b2c52","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072635,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNX0.XxGJMpNCs6-uq9LWJStpFzACG1c00VDy-WXaoZSXLD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"984a88d317cc758c1dbf81532d5b2c52","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/00cbad71-9c20-4f03-9d50-36632ca5bc9f?id=987ccfca-19b4-446e-80b9-74fbd4c0e81b","ws://localhost/rooms/00cbad71-9c20-4f03-9d50-36632ca5bc9f?id=ed846297-3bd8-4bac-8790-d7c94e49cd2b"]},"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/89d1c100-d6b5-47ba-8c24-b41d17ee6742"},{"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/773aacd1-6668-41dd-b78c-0f972e54e81d"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"4eb16628a309680e241b9c524b445cba"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"05a5a060-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89d1c100-d6b5-47ba-8c24-b41d17ee6742","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89d1c100-d6b5-47ba-8c24-b41d17ee6742","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:12.865265301Z"}]},"request_id":"145ec377-7667-4419-8783-a62a5b0a9b22","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.2399876} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"984a88d317cc758c1dbf81532d5b2c52","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1530,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1530,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.253159,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"05a5a060-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072635,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNX0.XxGJMpNCs6-uq9LWJStpFzACG1c00VDy-WXaoZSXLD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"05a5a060-8ba5-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"984a88d317cc758c1dbf81532d5b2c52"} device-1 | {"level":"info","message":"GET /devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742? 200 15ms","method":"GET","requestID":"984a88d317cc758c1dbf81532d5b2c52","responseTime":15,"status":200,"url":"/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742?"} gateway-1 | {"time_local":"16/Oct/2024:09:57:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742? 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":"984a88d317cc758c1dbf81532d5b2c52"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"f88d2409-ac07-47e0-ba45-00451848f0b9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.2523751} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"be3f654a-a1d3-4622-a27b-efff8aac976a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.2525854} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"05a5a060-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"05a5a060-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"05a5a060-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/5a0d1753-2eb7-40e8-8605-5381ddb7c3c4'","requestID":"05a5a060-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/5a0d1753-2eb7-40e8-8605-5381ddb7c3c4'","requestID":"05a5a060-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"05a5a060-8ba5-11ef-a62f-5f7f958aa687"} 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":"05a5a060-8ba5-11ef-a62f-5f7f958aa687","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":"05a5a060-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/5a0d1753-2eb7-40e8-8605-5381ddb7c3c4' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"5a0d1753-2eb7-40e8-8605-5381ddb7c3c4","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"05ab1ea0-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"ed846297-3bd8-4bac-8790-d7c94e49cd2b\" in room \"http://localhost/rooms/00cbad71-9c20-4f03-9d50-36632ca5bc9f\"","requestID":"05ab1ea0-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"05ab1ea0-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"05ab6cc0-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"987ccfca-19b4-446e-80b9-74fbd4c0e81b\" in room \"http://localhost/rooms/00cbad71-9c20-4f03-9d50-36632ca5bc9f\"","requestID":"05ab6cc0-8ba5-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ccd4f933ff90372a858188531a389484","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"05ab6cc0-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"987ccfca-19b4-446e-80b9-74fbd4c0e81b\" in room \"http://localhost/rooms/00cbad71-9c20-4f03-9d50-36632ca5bc9f\"","requestID":"05ab6cc0-8ba5-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ccd4f933ff90372a858188531a389484","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":"new","url":"http://localhost/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742"},{"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/773aacd1-6668-41dd-b78c-0f972e54e81d"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/5a0d1753-2eb7-40e8-8605-5381ddb7c3c4"}}},"level":"info","message":"received a callback","requestID":"ccd4f933ff90372a858188531a389484"} device-1 | {"data":{"peerconnection":"5a0d1753-2eb7-40e8-8605-5381ddb7c3c4","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 10ms","method":"POST","requestID":"ccd4f933ff90372a858188531a389484","responseTime":10,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57:15 +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":"ccd4f933ff90372a858188531a389484"} device-1 | {"data":{"peerconnection":"5a0d1753-2eb7-40e8-8605-5381ddb7c3c4","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/31952092-25e3-4982-b9f1-6d924513b5cb"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"4eb16628a309680e241b9c524b445cba"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"05afb280-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1531,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F773aacd1-6668-41dd-b78c-0f972e54e81d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"79c4abb9-8d13-4900-b88c-583ada7b7302","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.3098428} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1531,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.259136,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/773aacd1-6668-41dd-b78c-0f972e54e81d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"05afb280-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/773aacd1-6668-41dd-b78c-0f972e54e81d","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/5a0d1753-2eb7-40e8-8605-5381ddb7c3c4' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"5a0d1753-2eb7-40e8-8605-5381ddb7c3c4","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"05afb280-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"be13d5100da6697035b075eb6c983409","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"be13d5100da6697035b075eb6c983409","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","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/89d1c100-d6b5-47ba-8c24-b41d17ee6742"},{"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/773aacd1-6668-41dd-b78c-0f972e54e81d"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/5a0d1753-2eb7-40e8-8605-5381ddb7c3c4"}}},"level":"info","message":"received a callback","requestID":"be13d5100da6697035b075eb6c983409"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"05afb280-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/773aacd1-6668-41dd-b78c-0f972e54e81d/signaling 200 11ms","method":"POST","requestID":"05afb280-8ba5-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/773aacd1-6668-41dd-b78c-0f972e54e81d/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"05b1d560-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1532,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"05b24a90-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89d1c100-d6b5-47ba-8c24-b41d17ee6742","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"919fcb98-99e5-4191-87bd-3621c7bb67e0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.3223603} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1532,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.207127,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1533,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"05b1d560-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742","object_type":"device","rebac_allow":false,"scope_allow":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":"05b1d560-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F5a0d1753-2eb7-40e8-8605-5381ddb7c3c4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a397467d-2eb4-4fc6-91aa-fcb46134a648","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.3261354} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1533,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.820984,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/5a0d1753-2eb7-40e8-8605-5381ddb7c3c4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"05b24a90-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/5a0d1753-2eb7-40e8-8605-5381ddb7c3c4","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":"05b1d560-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"05b24a90-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"POST /devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742/signaling 200 10ms","method":"POST","requestID":"05b1d560-8ba5-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742/signaling"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"05b24a90-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/5a0d1753-2eb7-40e8-8605-5381ddb7c3c4 200 8ms","method":"GET","requestID":"05b24a90-8ba5-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/peerconnections/5a0d1753-2eb7-40e8-8605-5381ddb7c3c4"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 30ms","method":"POST","requestID":"be13d5100da6697035b075eb6c983409","responseTime":30,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57:15 +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":"be13d5100da6697035b075eb6c983409"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"05b5f410-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1534,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89d1c100-d6b5-47ba-8c24-b41d17ee6742","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6385ce61-37e7-4ea7-95af-a833028f4b10","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.3503869} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1534,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.318943,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"05b5f410-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742","object_type":"device","rebac_allow":false,"scope_allow":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":"05b5f410-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"05b5f410-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742/signaling 200 9ms","method":"POST","requestID":"05b5f410-8ba5-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"05b7c8d0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1535,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F773aacd1-6668-41dd-b78c-0f972e54e81d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ae395e80-e763-4e72-8b69-2208e34ef873","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.3622715} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1535,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.933547,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/773aacd1-6668-41dd-b78c-0f972e54e81d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"05b7c8d0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/773aacd1-6668-41dd-b78c-0f972e54e81d","object_type":"device","rebac_allow":false,"scope_allow":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":"05b7c8d0-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"05b7c8d0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/773aacd1-6668-41dd-b78c-0f972e54e81d/signaling 200 10ms","method":"POST","requestID":"05b7c8d0-8ba5-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/773aacd1-6668-41dd-b78c-0f972e54e81d/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNX0.XxGJMpNCs6-uq9LWJStpFzACG1c00VDy-WXaoZSXLD4","level":"info","message":"auth send jwt","requestID":"8bfd66eba823287428d16e27d428908d"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"8bfd66eba823287428d16e27d428908d","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/31952092-25e3-4982-b9f1-6d924513b5cb","requestID":"8bfd66eba823287428d16e27d428908d"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1536,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1536,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.190187,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/31952092-25e3-4982-b9f1-6d924513b5cb","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"8bfd66eba823287428d16e27d428908d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/31952092-25e3-4982-b9f1-6d924513b5cb","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072635,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNX0.XxGJMpNCs6-uq9LWJStpFzACG1c00VDy-WXaoZSXLD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8bfd66eba823287428d16e27d428908d","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/31952092-25e3-4982-b9f1-6d924513b5cb","requestID":"8bfd66eba823287428d16e27d428908d"} experiment-1 | {"level":"info","message":"GET /experiments/31952092-25e3-4982-b9f1-6d924513b5cb 200 12ms","method":"GET","requestID":"8bfd66eba823287428d16e27d428908d","responseTime":12,"status":200,"url":"/experiments/31952092-25e3-4982-b9f1-6d924513b5cb"} gateway-1 | {"time_local":"16/Oct/2024:09:57:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/31952092-25e3-4982-b9f1-6d924513b5cb HTTP/1.1","status": "200","body_bytes_sent":"1289","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8bfd66eba823287428d16e27d428908d"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNX0.XxGJMpNCs6-uq9LWJStpFzACG1c00VDy-WXaoZSXLD4","level":"info","message":"auth send jwt","requestID":"d71bdcaa8a3baf42d2ec9f4d1d684cf4"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d71bdcaa8a3baf42d2ec9f4d1d684cf4","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/31952092-25e3-4982-b9f1-6d924513b5cb","requestID":"d71bdcaa8a3baf42d2ec9f4d1d684cf4"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1537,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1537,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.092873,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/31952092-25e3-4982-b9f1-6d924513b5cb","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d71bdcaa8a3baf42d2ec9f4d1d684cf4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/31952092-25e3-4982-b9f1-6d924513b5cb","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072635,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNX0.XxGJMpNCs6-uq9LWJStpFzACG1c00VDy-WXaoZSXLD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d71bdcaa8a3baf42d2ec9f4d1d684cf4","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/31952092-25e3-4982-b9f1-6d924513b5cb"},"level":"info","message":"Attempting to finish experiment","requestID":"d71bdcaa8a3baf42d2ec9f4d1d684cf4"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"05c0a270-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1538,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1538,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.025984,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/5a0d1753-2eb7-40e8-8605-5381ddb7c3c4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"05c0a270-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/5a0d1753-2eb7-40e8-8605-5381ddb7c3c4","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072635,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNX0.XxGJMpNCs6-uq9LWJStpFzACG1c00VDy-WXaoZSXLD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"05c0a270-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:57:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/00cbad71-9c20-4f03-9d50-36632ca5bc9f?id=ed846297-3bd8-4bac-8790-d7c94e49cd2b HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.152","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"b11665fb7a82192d0221b8e1218036d7"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"ed846297-3bd8-4bac-8790-d7c94e49cd2b\" in room \"http://localhost/rooms/00cbad71-9c20-4f03-9d50-36632ca5bc9f\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"ed846297-3bd8-4bac-8790-d7c94e49cd2b\" from room \"http://localhost/rooms/00cbad71-9c20-4f03-9d50-36632ca5bc9f\", code: 1006, reason: "} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/5a0d1753-2eb7-40e8-8605-5381ddb7c3c4","device":"89d1c100-d6b5-47ba-8c24-b41d17ee6742","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/5a0d1753-2eb7-40e8-8605-5381ddb7c3c4' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/5a0d1753-2eb7-40e8-8605-5381ddb7c3c4' to 'http://localhost/callbacks/experiment'"} gateway-1 | {"time_local":"16/Oct/2024:09:57:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/00cbad71-9c20-4f03-9d50-36632ca5bc9f?id=987ccfca-19b4-446e-80b9-74fbd4c0e81b HTTP/1.1","status": "101","body_bytes_sent":"460","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":"6acddf2622dd21a08598c89258bb85a8"} device-1 | {"data":{"peerconnection":"5a0d1753-2eb7-40e8-8605-5381ddb7c3c4","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"987ccfca-19b4-446e-80b9-74fbd4c0e81b\" in room \"http://localhost/rooms/00cbad71-9c20-4f03-9d50-36632ca5bc9f\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"987ccfca-19b4-446e-80b9-74fbd4c0e81b\" from room \"http://localhost/rooms/00cbad71-9c20-4f03-9d50-36632ca5bc9f\", code: 1005, reason: "} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F5a0d1753-2eb7-40e8-8605-5381ddb7c3c4': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F5a0d1753-2eb7-40e8-8605-5381ddb7c3c4","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"9c9ad04a-fb94-4550-a288-7ac9fa2a92c1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.4299343} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"16daba68-48c2-4658-bd9a-25e771b58ee9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.4301748} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"15890e8096161c22c42cd031de92162d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"15890e8096161c22c42cd031de92162d","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"05c0a270-8ba5-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b8054eb54645546666b65365e4ff5966","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":["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/89d1c100-d6b5-47ba-8c24-b41d17ee6742"},{"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/773aacd1-6668-41dd-b78c-0f972e54e81d"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/5a0d1753-2eb7-40e8-8605-5381ddb7c3c4"}}},"level":"info","message":"received a callback","requestID":"15890e8096161c22c42cd031de92162d"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"b8054eb54645546666b65365e4ff5966","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":["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/89d1c100-d6b5-47ba-8c24-b41d17ee6742"},{"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/773aacd1-6668-41dd-b78c-0f972e54e81d"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/5a0d1753-2eb7-40e8-8605-5381ddb7c3c4"}}},"level":"info","message":"received a callback","requestID":"b8054eb54645546666b65365e4ff5966"} device-1 | {"data":{"peerconnection":"5a0d1753-2eb7-40e8-8605-5381ddb7c3c4","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"05c0a270-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/5a0d1753-2eb7-40e8-8605-5381ddb7c3c4 204 38ms","method":"DELETE","requestID":"05c0a270-8ba5-11ef-a62f-5f7f958aa687","responseTime":38,"status":204,"url":"/peerconnections/5a0d1753-2eb7-40e8-8605-5381ddb7c3c4"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/31952092-25e3-4982-b9f1-6d924513b5cb"},"level":"info","message":"Successfully finished experiment","requestID":"d71bdcaa8a3baf42d2ec9f4d1d684cf4"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"05c92df0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1539,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89d1c100-d6b5-47ba-8c24-b41d17ee6742","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e2250049-5ad0-4d0f-8681-064ce3a472b8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.477214} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1539,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.944673,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"05c92df0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742","object_type":"device","rebac_allow":false,"scope_allow":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":"05c92df0-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"05c92df0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742/signaling 200 11ms","method":"POST","requestID":"05c92df0-8ba5-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/89d1c100-d6b5-47ba-8c24-b41d17ee6742/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"05cb29c0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F31952092-25e3-4982-b9f1-6d924513b5cb': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F31952092-25e3-4982-b9f1-6d924513b5cb","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"95e7bb62-663b-4685-99dc-c596e3627395","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.485298} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0dfd838f-a22a-4343-bbf5-3f9050b85af9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.4862134} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"d71bdcaa8a3baf42d2ec9f4d1d684cf4","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1540,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F773aacd1-6668-41dd-b78c-0f972e54e81d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"631a707f-8663-424c-9192-13d5fde50e9d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.4896135} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1540,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.747477,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/773aacd1-6668-41dd-b78c-0f972e54e81d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"05cb29c0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/773aacd1-6668-41dd-b78c-0f972e54e81d","object_type":"device","rebac_allow":false,"scope_allow":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":"05cb29c0-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"05cb29c0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/773aacd1-6668-41dd-b78c-0f972e54e81d/signaling 200 11ms","method":"POST","requestID":"05cb29c0-8ba5-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/773aacd1-6668-41dd-b78c-0f972e54e81d/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/31952092-25e3-4982-b9f1-6d924513b5cb","requestID":"d71bdcaa8a3baf42d2ec9f4d1d684cf4"} gateway-1 | {"time_local":"16/Oct/2024:09:57:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/31952092-25e3-4982-b9f1-6d924513b5cb 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":"d71bdcaa8a3baf42d2ec9f4d1d684cf4"} gateway-1 | {"time_local":"16/Oct/2024:09:57:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1745","request_time":"2.145","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"355a1587622952e7e9ee748e95028f80"} experiment-1 | {"level":"info","message":"DELETE /experiments/31952092-25e3-4982-b9f1-6d924513b5cb 204 151ms","method":"DELETE","requestID":"d71bdcaa8a3baf42d2ec9f4d1d684cf4","responseTime":151,"status":204,"url":"/experiments/31952092-25e3-4982-b9f1-6d924513b5cb"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 125ms","method":"POST","requestID":"15890e8096161c22c42cd031de92162d","responseTime":125,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57:15 +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":"15890e8096161c22c42cd031de92162d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 125ms","method":"POST","requestID":"b8054eb54645546666b65365e4ff5966","responseTime":125,"status":200,"url":"/callbacks/experiment"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNX0.XxGJMpNCs6-uq9LWJStpFzACG1c00VDy-WXaoZSXLD4","level":"info","message":"auth send jwt","requestID":"fa6c4ebb7a66afcfcaff8939f05cc8ba"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"fa6c4ebb7a66afcfcaff8939f05cc8ba","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"fa6c4ebb7a66afcfcaff8939f05cc8ba"} gateway-1 | {"time_local":"16/Oct/2024:09:57:15 +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":"b8054eb54645546666b65365e4ff5966"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1541,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1541,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.854597,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} gateway-1 | {"time_local":"16/Oct/2024:09:57:15 +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.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":"2b0d86f43cabd496c4dc9407629dbd91"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"fa6c4ebb7a66afcfcaff8939f05cc8ba","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072635,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNX0.XxGJMpNCs6-uq9LWJStpFzACG1c00VDy-WXaoZSXLD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"fa6c4ebb7a66afcfcaff8939f05cc8ba","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/773aacd1-6668-41dd-b78c-0f972e54e81d' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa07c6818-c749-4a90-8fdd-24c50bd14ec4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"16ea3061-00e7-4978-8e0f-88062c807539","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.582714} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"fa6c4ebb7a66afcfcaff8939f05cc8ba","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/89d1c100-d6b5-47ba-8c24-b41d17ee6742' 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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e7c235c6-9c59-4c70-afab-38407d5867ee","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.5894194} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"fa6c4ebb7a66afcfcaff8939f05cc8ba","responseTime":8,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa07c6818-c749-4a90-8fdd-24c50bd14ec4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"1a56c858-f355-42dc-a6c5-89f17af46675","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.59843} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c42c0549-9e06-48a7-a00e-3ecdb2d30500","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.5986197} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"fa6c4ebb7a66afcfcaff8939f05cc8ba","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa07c6818-c749-4a90-8fdd-24c50bd14ec4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa07c6818-c749-4a90-8fdd-24c50bd14ec4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:15.598396561Z"}]},"request_id":"9cc4ce2b-75ec-4cc6-b294-84c124f3b27d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.6024382} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"fa6c4ebb7a66afcfcaff8939f05cc8ba","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"fa6c4ebb7a66afcfcaff8939f05cc8ba"} gateway-1 | {"time_local":"16/Oct/2024:09:57:15 +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":"fa6c4ebb7a66afcfcaff8939f05cc8ba"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"fa6c4ebb7a66afcfcaff8939f05cc8ba","responseTime":43,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNX0.XxGJMpNCs6-uq9LWJStpFzACG1c00VDy-WXaoZSXLD4","level":"info","message":"auth send jwt","requestID":"3d60f96f25cd0cf184b4df9158d56869"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3d60f96f25cd0cf184b4df9158d56869","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"3d60f96f25cd0cf184b4df9158d56869"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1542,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1542,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.64429,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:15Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3d60f96f25cd0cf184b4df9158d56869","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072635,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNX0.XxGJMpNCs6-uq9LWJStpFzACG1c00VDy-WXaoZSXLD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"3d60f96f25cd0cf184b4df9158d56869","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00b54b25-7892-4444-a5ff-641129143f7b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"8cae42bc-d7b2-4795-baeb-98875874d490","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.6295495} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"3d60f96f25cd0cf184b4df9158d56869","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8975e424-5177-4e44-9450-17b2e3ceb43d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.6337802} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"3d60f96f25cd0cf184b4df9158d56869","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00b54b25-7892-4444-a5ff-641129143f7b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"72c57ecd-5aed-4593-b943-b320f7d8c22c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.644226} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"235eef7a-700f-4349-8969-15927b3c2c5f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.644512} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"3d60f96f25cd0cf184b4df9158d56869","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00b54b25-7892-4444-a5ff-641129143f7b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00b54b25-7892-4444-a5ff-641129143f7b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:15.644193752Z"}]},"request_id":"3124b2d2-b2ca-4dc7-8f61-e838ab900bb4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072635.6480536} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"3d60f96f25cd0cf184b4df9158d56869","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"3d60f96f25cd0cf184b4df9158d56869"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.044","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3d60f96f25cd0cf184b4df9158d56869"} device-1 | {"level":"info","message":"POST /devices? 201 41ms","method":"POST","requestID":"3d60f96f25cd0cf184b4df9158d56869","responseTime":41,"status":201,"url":"/devices?"} forwarding-1 | {"level":"info","message":"Participant \"2799aa9a-2353-4caa-8fe2-5fefccc9c99b\" in room \"http://localhost/rooms/493238ee-c23e-489f-8198-7a5540478dcd\" did not answer hearbeat check, closing connection","requestID":"e25bf730-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Participant \"51be20c1-797e-4421-ab7d-f33282f51fed\" in room \"http://localhost/rooms/493238ee-c23e-489f-8198-7a5540478dcd\" did not answer hearbeat check, closing connection","requestID":"e25c4550-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNn0.hWtKqrCDggYFQEPqqThwW_TEKCnKfJjFXeYPOlP3v7Q","level":"info","message":"auth send jwt","requestID":"a6796552176275f3bc21aff187e031cb"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a6796552176275f3bc21aff187e031cb","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"a6796552176275f3bc21aff187e031cb"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1543,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:16Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1543,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.124559,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:16Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a6796552176275f3bc21aff187e031cb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072636,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNn0.hWtKqrCDggYFQEPqqThwW_TEKCnKfJjFXeYPOlP3v7Q"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"a6796552176275f3bc21aff187e031cb","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa07c6818-c749-4a90-8fdd-24c50bd14ec4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa07c6818-c749-4a90-8fdd-24c50bd14ec4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:15.598396561Z"}]},"request_id":"0a090573-6a7e-4383-9310-d306091de68d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072636.136283} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a6796552176275f3bc21aff187e031cb","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"96149909-bbc6-4db0-8bfe-f5ed75128a25","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072636.142716} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"a6796552176275f3bc21aff187e031cb","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa07c6818-c749-4a90-8fdd-24c50bd14ec4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa07c6818-c749-4a90-8fdd-24c50bd14ec4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:15.598396561Z"}]},"request_id":"818a8ee1-27c9-49b9-956b-034577968db6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072636.1559} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"a6796552176275f3bc21aff187e031cb","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"a6796552176275f3bc21aff187e031cb"} device-1 | {"level":"info","message":"PATCH /devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4 200 35ms","method":"PATCH","requestID":"a6796552176275f3bc21aff187e031cb","responseTime":35,"status":200,"url":"/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4"} gateway-1 | {"time_local":"16/Oct/2024:09:57:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4 HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.041","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"a6796552176275f3bc21aff187e031cb"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNn0.hWtKqrCDggYFQEPqqThwW_TEKCnKfJjFXeYPOlP3v7Q","level":"info","message":"auth send jwt","requestID":"6b78c3dde1ff1837a3d2fe3c16cc6829"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"6b78c3dde1ff1837a3d2fe3c16cc6829","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"6b78c3dde1ff1837a3d2fe3c16cc6829"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1544,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:16Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1544,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.555776,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:16Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"6b78c3dde1ff1837a3d2fe3c16cc6829","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072636,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzNn0.hWtKqrCDggYFQEPqqThwW_TEKCnKfJjFXeYPOlP3v7Q"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6b78c3dde1ff1837a3d2fe3c16cc6829","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"6b78c3dde1ff1837a3d2fe3c16cc6829"} device-1 | {"level":"info","message":"POST /devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4/websocket 200 21ms","method":"POST","requestID":"6b78c3dde1ff1837a3d2fe3c16cc6829","responseTime":21,"status":200,"url":"/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:57:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4/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.10","requestID":"6b78c3dde1ff1837a3d2fe3c16cc6829"} device-1 | {"level":"info","message":"device 'http://localhost/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4876387814d0aa31733b8ae245bccd53","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"4876387814d0aa31733b8ae245bccd53","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:57:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/00b54b25-7892-4444-a5ff-641129143f7b/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":"4876387814d0aa31733b8ae245bccd53"} device-1 | {"level":"info","message":"OPTIONS /devices/00b54b25-7892-4444-a5ff-641129143f7b/websocket 200 1ms","method":"OPTIONS","requestID":"4876387814d0aa31733b8ae245bccd53","responseTime":1,"status":200,"url":"/devices/00b54b25-7892-4444-a5ff-641129143f7b/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzN30.PXwsxa-XXGbxU0ob3VVWOI5C0zWhyjvO3foy4psyUlU","level":"info","message":"auth send jwt","requestID":"63bf128261dcec7e032251eab79e45b2"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"63bf128261dcec7e032251eab79e45b2","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"63bf128261dcec7e032251eab79e45b2"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1545,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:17Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1545,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.235411,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:17Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/00b54b25-7892-4444-a5ff-641129143f7b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"63bf128261dcec7e032251eab79e45b2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/00b54b25-7892-4444-a5ff-641129143f7b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072637,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzN30.PXwsxa-XXGbxU0ob3VVWOI5C0zWhyjvO3foy4psyUlU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"63bf128261dcec7e032251eab79e45b2","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"63bf128261dcec7e032251eab79e45b2"} device-1 | {"level":"info","message":"POST /devices/00b54b25-7892-4444-a5ff-641129143f7b/websocket 200 22ms","method":"POST","requestID":"63bf128261dcec7e032251eab79e45b2","responseTime":22,"status":200,"url":"/devices/00b54b25-7892-4444-a5ff-641129143f7b/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:57:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/00b54b25-7892-4444-a5ff-641129143f7b/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":"63bf128261dcec7e032251eab79e45b2"} device-1 | {"level":"info","message":"device 'http://localhost/devices/00b54b25-7892-4444-a5ff-641129143f7b' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"feaac1bb771fe51292070a12a36ca3d6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"feaac1bb771fe51292070a12a36ca3d6","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:57:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/00b54b25-7892-4444-a5ff-641129143f7b? 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":"feaac1bb771fe51292070a12a36ca3d6"} device-1 | {"level":"info","message":"OPTIONS /devices/00b54b25-7892-4444-a5ff-641129143f7b? 200 1ms","method":"OPTIONS","requestID":"feaac1bb771fe51292070a12a36ca3d6","responseTime":1,"status":200,"url":"/devices/00b54b25-7892-4444-a5ff-641129143f7b?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzN30.PXwsxa-XXGbxU0ob3VVWOI5C0zWhyjvO3foy4psyUlU","level":"info","message":"auth send jwt","requestID":"6e453f989cc5f21a3c94004fcc2e7295"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"6e453f989cc5f21a3c94004fcc2e7295","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"6e453f989cc5f21a3c94004fcc2e7295"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1546,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:17Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1546,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.0328,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:17Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/00b54b25-7892-4444-a5ff-641129143f7b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"6e453f989cc5f21a3c94004fcc2e7295","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/00b54b25-7892-4444-a5ff-641129143f7b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072637,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzN30.PXwsxa-XXGbxU0ob3VVWOI5C0zWhyjvO3foy4psyUlU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"6e453f989cc5f21a3c94004fcc2e7295","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00b54b25-7892-4444-a5ff-641129143f7b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00b54b25-7892-4444-a5ff-641129143f7b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:15.644193752Z"}]},"request_id":"b530f175-9221-4309-b169-ac70ee2a9d76","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072637.7607381} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6e453f989cc5f21a3c94004fcc2e7295","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6dd5fa91-0d23-49bb-864f-d620af75104f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072637.7668417} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"6e453f989cc5f21a3c94004fcc2e7295","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00b54b25-7892-4444-a5ff-641129143f7b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00b54b25-7892-4444-a5ff-641129143f7b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:15.644193752Z"}]},"request_id":"0a5fbbd8-4b61-43d8-8fc9-58a5ca354ec5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072637.7810123} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6e453f989cc5f21a3c94004fcc2e7295","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"6e453f989cc5f21a3c94004fcc2e7295"} device-1 | {"level":"info","message":"PATCH /devices/00b54b25-7892-4444-a5ff-641129143f7b? 200 34ms","method":"PATCH","requestID":"6e453f989cc5f21a3c94004fcc2e7295","responseTime":34,"status":200,"url":"/devices/00b54b25-7892-4444-a5ff-641129143f7b?"} gateway-1 | {"time_local":"16/Oct/2024:09:57:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/00b54b25-7892-4444-a5ff-641129143f7b? HTTP/1.1","status": "200","body_bytes_sent":"1007","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":"6e453f989cc5f21a3c94004fcc2e7295"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzN30.PXwsxa-XXGbxU0ob3VVWOI5C0zWhyjvO3foy4psyUlU","level":"info","message":"auth send jwt","requestID":"5aec07bffeb5491606ff82d990317c1e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"5aec07bffeb5491606ff82d990317c1e","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5aec07bffeb5491606ff82d990317c1e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1547,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:17Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1547,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.201548,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"5aec07bffeb5491606ff82d990317c1e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072637,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzN30.PXwsxa-XXGbxU0ob3VVWOI5C0zWhyjvO3foy4psyUlU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5aec07bffeb5491606ff82d990317c1e","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa07c6818-c749-4a90-8fdd-24c50bd14ec4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa07c6818-c749-4a90-8fdd-24c50bd14ec4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:15.598396561Z"}]},"request_id":"7ebaf821-4fa6-40d7-9596-312329d52f5c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072637.8068945} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"5aec07bffeb5491606ff82d990317c1e","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5aec07bffeb5491606ff82d990317c1e"} gateway-1 | {"time_local":"16/Oct/2024:09:57:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4? 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":"5aec07bffeb5491606ff82d990317c1e"} device-1 | {"level":"info","message":"GET /devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4? 200 15ms","method":"GET","requestID":"5aec07bffeb5491606ff82d990317c1e","responseTime":15,"status":200,"url":"/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzN30.PXwsxa-XXGbxU0ob3VVWOI5C0zWhyjvO3foy4psyUlU","level":"info","message":"auth send jwt","requestID":"3f46ecab2e6b7786a57b9816e508f3fa"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"3f46ecab2e6b7786a57b9816e508f3fa","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3f46ecab2e6b7786a57b9816e508f3fa"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1548,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:17Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1548,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.22477,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/00b54b25-7892-4444-a5ff-641129143f7b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3f46ecab2e6b7786a57b9816e508f3fa","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/00b54b25-7892-4444-a5ff-641129143f7b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072637,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzN30.PXwsxa-XXGbxU0ob3VVWOI5C0zWhyjvO3foy4psyUlU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3f46ecab2e6b7786a57b9816e508f3fa","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00b54b25-7892-4444-a5ff-641129143f7b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00b54b25-7892-4444-a5ff-641129143f7b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:15.644193752Z"}]},"request_id":"96d9a3f6-8554-40fc-816d-7b75a6c75a5d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072637.8304126} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"3f46ecab2e6b7786a57b9816e508f3fa","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3f46ecab2e6b7786a57b9816e508f3fa"} gateway-1 | {"time_local":"16/Oct/2024:09:57:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/00b54b25-7892-4444-a5ff-641129143f7b? 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":"3f46ecab2e6b7786a57b9816e508f3fa"} device-1 | {"level":"info","message":"GET /devices/00b54b25-7892-4444-a5ff-641129143f7b? 200 16ms","method":"GET","requestID":"3f46ecab2e6b7786a57b9816e508f3fa","responseTime":16,"status":200,"url":"/devices/00b54b25-7892-4444-a5ff-641129143f7b?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzN30.PXwsxa-XXGbxU0ob3VVWOI5C0zWhyjvO3foy4psyUlU","level":"info","message":"auth send jwt","requestID":"f3baab30527bdbda68958ba731461915"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"f3baab30527bdbda68958ba731461915","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"f3baab30527bdbda68958ba731461915"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1549,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:17Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1549,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.280636,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:17Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f3baab30527bdbda68958ba731461915","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072637,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzN30.PXwsxa-XXGbxU0ob3VVWOI5C0zWhyjvO3foy4psyUlU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f3baab30527bdbda68958ba731461915","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19479ebd-aac8-4d11-a7a2-52b95e309198"},"level":"info","message":"Attempting to run experiment","requestID":"f3baab30527bdbda68958ba731461915"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19479ebd-aac8-4d11-a7a2-52b95e309198"},"level":"info","message":"Attempting to book experiment","requestID":"f3baab30527bdbda68958ba731461915"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19479ebd-aac8-4d11-a7a2-52b95e309198"},"level":"info","message":"Successfully booked experiment","requestID":"f3baab30527bdbda68958ba731461915"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0739fc00-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"073a2310-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1550,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:17Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1551,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:17Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1550,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.922559,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0739fc00-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072637,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzN30.PXwsxa-XXGbxU0ob3VVWOI5C0zWhyjvO3foy4psyUlU"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0739fc00-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1551,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.276736,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/00b54b25-7892-4444-a5ff-641129143f7b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"073a2310-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/00b54b25-7892-4444-a5ff-641129143f7b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072637,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzN30.PXwsxa-XXGbxU0ob3VVWOI5C0zWhyjvO3foy4psyUlU"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"073a2310-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa07c6818-c749-4a90-8fdd-24c50bd14ec4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa07c6818-c749-4a90-8fdd-24c50bd14ec4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:15.598396561Z"}]},"request_id":"c77dda13-4068-4872-8d05-06b5e79698c4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072637.9010823} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"0739fc00-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00b54b25-7892-4444-a5ff-641129143f7b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00b54b25-7892-4444-a5ff-641129143f7b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:15.644193752Z"}]},"request_id":"4d8f8468-c72e-4743-aac0-403cf57359f1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072637.9035668} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"073a2310-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0739fc00-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4? 200 23ms","method":"GET","requestID":"0739fc00-8ba5-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"073a2310-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/00b54b25-7892-4444-a5ff-641129143f7b? 200 23ms","method":"GET","requestID":"073a2310-8ba5-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/00b54b25-7892-4444-a5ff-641129143f7b?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19479ebd-aac8-4d11-a7a2-52b95e309198"},"level":"info","message":"Setting up experiment","requestID":"f3baab30527bdbda68958ba731461915"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19479ebd-aac8-4d11-a7a2-52b95e309198"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"f3baab30527bdbda68958ba731461915"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19479ebd-aac8-4d11-a7a2-52b95e309198"},"level":"info","message":"Successfully locked booking for experiment","requestID":"f3baab30527bdbda68958ba731461915"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19479ebd-aac8-4d11-a7a2-52b95e309198"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"f3baab30527bdbda68958ba731461915"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19479ebd-aac8-4d11-a7a2-52b95e309198"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"f3baab30527bdbda68958ba731461915"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19479ebd-aac8-4d11-a7a2-52b95e309198"},"level":"info","message":"Attempting to update booking for experiment","requestID":"f3baab30527bdbda68958ba731461915"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19479ebd-aac8-4d11-a7a2-52b95e309198"},"level":"info","message":"Successfully updated booking for experiment","requestID":"f3baab30527bdbda68958ba731461915"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19479ebd-aac8-4d11-a7a2-52b95e309198"},"level":"info","message":"Successfully set up experiment","requestID":"f3baab30527bdbda68958ba731461915"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0744f880-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"074546a0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"074594c0-8ba5-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19479ebd-aac8-4d11-a7a2-52b95e309198"},"level":"info","message":"Successfully running experiment","requestID":"f3baab30527bdbda68958ba731461915"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1552,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:17Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1552,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.001615,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:17Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1553,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0744f880-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072637,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzN30.PXwsxa-XXGbxU0ob3VVWOI5C0zWhyjvO3foy4psyUlU"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0744f880-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1553,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.10768,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:17Z"} authorization-1 | {"client_addr":"127.0.0.1:51912","level":"info","msg":"Received request.","req_id":1554,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/00b54b25-7892-4444-a5ff-641129143f7b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"074546a0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/00b54b25-7892-4444-a5ff-641129143f7b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072637,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzN30.PXwsxa-XXGbxU0ob3VVWOI5C0zWhyjvO3foy4psyUlU"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"074546a0-8ba5-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51912","level":"info","msg":"Sent response.","req_id":1554,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.789297,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:17Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa07c6818-c749-4a90-8fdd-24c50bd14ec4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2b780dbf-15c3-440a-9793-fc813df4bb6d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072637.975018} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"074594c0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4","object_type":"device","rebac_allow":false,"scope_allow":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":"074594c0-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa07c6818-c749-4a90-8fdd-24c50bd14ec4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa07c6818-c749-4a90-8fdd-24c50bd14ec4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:15.598396561Z"}]},"request_id":"286e36f0-ab56-4cf6-905c-9ca438ee95b3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072637.9782526} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"0744f880-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00b54b25-7892-4444-a5ff-641129143f7b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00b54b25-7892-4444-a5ff-641129143f7b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:15.644193752Z"}]},"request_id":"750f6ec3-bfbe-433a-8de4-9f8e5d59817a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072637.9829965} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"074546a0-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"074594c0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4/signaling 200 22ms","method":"POST","requestID":"074594c0-8ba5-11ef-a62f-5f7f958aa687","responseTime":22,"status":200,"url":"/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"07498c60-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0744f880-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4? 200 35ms","method":"GET","requestID":"0744f880-8ba5-11ef-a62f-5f7f958aa687","responseTime":35,"status":200,"url":"/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"074546a0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F19479ebd-aac8-4d11-a7a2-52b95e309198#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F19479ebd-aac8-4d11-a7a2-52b95e309198","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"23c4c2ce-6dfe-4047-b1ac-61494c0fcd07","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072637.9951108} device-1 | {"level":"info","message":"GET /devices/00b54b25-7892-4444-a5ff-641129143f7b? 200 34ms","method":"GET","requestID":"074546a0-8ba5-11ef-a62f-5f7f958aa687","responseTime":34,"status":200,"url":"/devices/00b54b25-7892-4444-a5ff-641129143f7b?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"576be609-7cf7-4586-8dca-a7ef9834ed03","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072637.9955988} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1555,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:17Z"} authorization-1 | {"level":"info","message":"POST /relations/update 200 27ms","method":"POST","requestID":"f3baab30527bdbda68958ba731461915","responseTime":27,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00b54b25-7892-4444-a5ff-641129143f7b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9b5bf6fe-cfd5-4e60-b69b-4fa59b3f9db5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072637.9990392} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"074aebf0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1555,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.007439,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/00b54b25-7892-4444-a5ff-641129143f7b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"07498c60-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/00b54b25-7892-4444-a5ff-641129143f7b","object_type":"device","rebac_allow":false,"scope_allow":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":"07498c60-8ba5-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1556,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:18Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"07498c60-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/00b54b25-7892-4444-a5ff-641129143f7b/signaling 200 15ms","method":"POST","requestID":"07498c60-8ba5-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/00b54b25-7892-4444-a5ff-641129143f7b/signaling"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/19479ebd-aac8-4d11-a7a2-52b95e309198","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"f3baab30527bdbda68958ba731461915"} gateway-1 | {"time_local":"16/Oct/2024:09:57:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1216","request_time":"0.173","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f3baab30527bdbda68958ba731461915"} experiment-1 | {"level":"info","message":"POST /experiments? 201 167ms","method":"POST","requestID":"f3baab30527bdbda68958ba731461915","responseTime":167,"status":201,"url":"/experiments?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa07c6818-c749-4a90-8fdd-24c50bd14ec4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b0ec04a0-50a3-4e48-8ca0-c44c9daf3f77","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.0092242} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1556,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":8.530712,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"074aebf0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4","object_type":"device","rebac_allow":false,"scope_allow":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":"074aebf0-8ba5-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOH0.8VvU-a2wWsA5U8rhqAxrDCzlu-R4yaDaGuq97PU0pCc","level":"info","message":"auth send jwt","requestID":"537a06cc1612bb690dba5c4581ed95f2"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"537a06cc1612bb690dba5c4581ed95f2","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"537a06cc1612bb690dba5c4581ed95f2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"074aebf0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4/signaling 200 19ms","method":"POST","requestID":"074aebf0-8ba5-11ef-a62f-5f7f958aa687","responseTime":19,"status":200,"url":"/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4/signaling"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1557,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1557,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.758843,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"537a06cc1612bb690dba5c4581ed95f2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072638,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOH0.8VvU-a2wWsA5U8rhqAxrDCzlu-R4yaDaGuq97PU0pCc"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"074e2040-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"537a06cc1612bb690dba5c4581ed95f2","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1558,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00b54b25-7892-4444-a5ff-641129143f7b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b60589d9-a909-4731-8912-91f45ddce3c5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.0245721} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa07c6818-c749-4a90-8fdd-24c50bd14ec4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa07c6818-c749-4a90-8fdd-24c50bd14ec4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:15.598396561Z"}]},"request_id":"f4972a2f-7a2c-41a1-b8de-9a6077641a1d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.0245912} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"537a06cc1612bb690dba5c4581ed95f2","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1558,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.377384,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/00b54b25-7892-4444-a5ff-641129143f7b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"074e2040-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/00b54b25-7892-4444-a5ff-641129143f7b","object_type":"device","rebac_allow":false,"scope_allow":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":"074e2040-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"537a06cc1612bb690dba5c4581ed95f2"} gateway-1 | {"time_local":"16/Oct/2024:09:57:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4? 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":"537a06cc1612bb690dba5c4581ed95f2"} device-1 | {"level":"info","message":"GET /devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4? 200 13ms","method":"GET","requestID":"537a06cc1612bb690dba5c4581ed95f2","responseTime":13,"status":200,"url":"/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"074e2040-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/00b54b25-7892-4444-a5ff-641129143f7b/signaling 200 11ms","method":"POST","requestID":"074e2040-8ba5-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/00b54b25-7892-4444-a5ff-641129143f7b/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19479ebd-aac8-4d11-a7a2-52b95e309198"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"f3baab30527bdbda68958ba731461915"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"07501c10-8ba5-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOH0.8VvU-a2wWsA5U8rhqAxrDCzlu-R4yaDaGuq97PU0pCc","level":"info","message":"auth send jwt","requestID":"7dcc57cdd23958ea538a563395314a97"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"7dcc57cdd23958ea538a563395314a97","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"07506a30-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7dcc57cdd23958ea538a563395314a97"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1559,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1559,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.72295,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1560,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1560,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.624949,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"client_addr":"127.0.0.1:51912","level":"info","msg":"Received request.","req_id":1561,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"07501c10-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072637,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzN30.PXwsxa-XXGbxU0ob3VVWOI5C0zWhyjvO3foy4psyUlU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"07501c10-8ba5-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/00b54b25-7892-4444-a5ff-641129143f7b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"07506a30-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/00b54b25-7892-4444-a5ff-641129143f7b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072637,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzN30.PXwsxa-XXGbxU0ob3VVWOI5C0zWhyjvO3foy4psyUlU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"07506a30-8ba5-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51912","level":"info","msg":"Sent response.","req_id":1561,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.549438,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/00b54b25-7892-4444-a5ff-641129143f7b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"7dcc57cdd23958ea538a563395314a97","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/00b54b25-7892-4444-a5ff-641129143f7b","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072638,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOH0.8VvU-a2wWsA5U8rhqAxrDCzlu-R4yaDaGuq97PU0pCc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7dcc57cdd23958ea538a563395314a97","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa07c6818-c749-4a90-8fdd-24c50bd14ec4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa07c6818-c749-4a90-8fdd-24c50bd14ec4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:15.598396561Z"}]},"request_id":"bccecd74-7a3e-40bb-a3ff-83a6a66bc338","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.04203} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00b54b25-7892-4444-a5ff-641129143f7b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00b54b25-7892-4444-a5ff-641129143f7b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:15.644193752Z"}]},"request_id":"0cdc51ae-2826-40d5-8fe0-6cd3e97c26b7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.04263} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"07501c10-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"07506a30-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00b54b25-7892-4444-a5ff-641129143f7b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00b54b25-7892-4444-a5ff-641129143f7b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:15.644193752Z"}]},"request_id":"cba138ee-04f1-48ee-9ac3-22b2a5c1baae","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.0434752} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7dcc57cdd23958ea538a563395314a97","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"07501c10-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4? 200 15ms","method":"GET","requestID":"07501c10-8ba5-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"07506a30-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/00b54b25-7892-4444-a5ff-641129143f7b? 200 14ms","method":"GET","requestID":"07506a30-8ba5-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/00b54b25-7892-4444-a5ff-641129143f7b?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7dcc57cdd23958ea538a563395314a97"} gateway-1 | {"time_local":"16/Oct/2024:09:57:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/00b54b25-7892-4444-a5ff-641129143f7b? 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":"7dcc57cdd23958ea538a563395314a97"} device-1 | {"level":"info","message":"GET /devices/00b54b25-7892-4444-a5ff-641129143f7b? 200 13ms","method":"GET","requestID":"7dcc57cdd23958ea538a563395314a97","responseTime":13,"status":200,"url":"/devices/00b54b25-7892-4444-a5ff-641129143f7b?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19479ebd-aac8-4d11-a7a2-52b95e309198"},"level":"info","message":"Building connection plan","requestID":"f3baab30527bdbda68958ba731461915"} 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":"b47d0e7a-81f3-46db-ab6c-38648882b9de"},{"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":"5071a1a2-11f2-4f32-9169-2739f2b42677"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"392e774f-b055-4c1b-9417-823d923a8c64"}]},"level":"info","message":"Built pairwise service configurations","requestID":"f3baab30527bdbda68958ba731461915"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"0752db30-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"0752db30-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"0752db30-8ba5-11ef-a042-213954f0282b","responseTime":1,"status":201,"url":"/rooms"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/4e480778-3c34-4ecf-9964-c0cd5dda2e56?id=95d49a35-0f4d-4735-a3e2-19a015901fb1","ws://localhost/rooms/4e480778-3c34-4ecf-9964-c0cd5dda2e56?id=f63cf72e-11f4-43ae-8c51-35df757e7209"]},"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/a07c6818-c749-4a90-8fdd-24c50bd14ec4"},{"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/00b54b25-7892-4444-a5ff-641129143f7b"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"f3baab30527bdbda68958ba731461915"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"07535060-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1562,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1562,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.751853,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"07535060-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072637,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzN30.PXwsxa-XXGbxU0ob3VVWOI5C0zWhyjvO3foy4psyUlU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"07535060-8ba5-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"47ab63cd-d7cd-4dfe-ac7b-f69a0a2004c5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.0642557} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"addf988e-6d74-4a90-9b6d-e28755add790","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.0644917} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"07535060-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"07535060-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"07535060-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/b7e4982e-f18b-4a42-bec5-a7e51881e952'","requestID":"07535060-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/b7e4982e-f18b-4a42-bec5-a7e51881e952'","requestID":"07535060-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"07535060-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 21ms","method":"POST","requestID":"07535060-8ba5-11ef-a62f-5f7f958aa687","responseTime":21,"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":"07535060-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/b7e4982e-f18b-4a42-bec5-a7e51881e952' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b7e4982e-f18b-4a42-bec5-a7e51881e952","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"0757e440-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"95d49a35-0f4d-4735-a3e2-19a015901fb1\" in room \"http://localhost/rooms/4e480778-3c34-4ecf-9964-c0cd5dda2e56\"","requestID":"0757e440-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"0757e440-8ba5-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"173162a864810b8acb098aefbad86dc6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"173162a864810b8acb098aefbad86dc6","responseTime":2,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"07585970-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"f63cf72e-11f4-43ae-8c51-35df757e7209\" in room \"http://localhost/rooms/4e480778-3c34-4ecf-9964-c0cd5dda2e56\"","requestID":"07585970-8ba5-11ef-a042-213954f0282b"} 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/a07c6818-c749-4a90-8fdd-24c50bd14ec4"},{"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/00b54b25-7892-4444-a5ff-641129143f7b"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/b7e4982e-f18b-4a42-bec5-a7e51881e952"}}},"level":"info","message":"received a callback","requestID":"173162a864810b8acb098aefbad86dc6"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"07585970-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"f63cf72e-11f4-43ae-8c51-35df757e7209\" in room \"http://localhost/rooms/4e480778-3c34-4ecf-9964-c0cd5dda2e56\"","requestID":"07585970-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"f63cf72e-11f4-43ae-8c51-35df757e7209\" in room \"http://localhost/rooms/4e480778-3c34-4ecf-9964-c0cd5dda2e56\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"f63cf72e-11f4-43ae-8c51-35df757e7209\" in room \"http://localhost/rooms/4e480778-3c34-4ecf-9964-c0cd5dda2e56\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"f63cf72e-11f4-43ae-8c51-35df757e7209\" in room \"http://localhost/rooms/4e480778-3c34-4ecf-9964-c0cd5dda2e56\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"f63cf72e-11f4-43ae-8c51-35df757e7209\" in room \"http://localhost/rooms/4e480778-3c34-4ecf-9964-c0cd5dda2e56\""} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 10ms","method":"POST","requestID":"173162a864810b8acb098aefbad86dc6","responseTime":10,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.014","http_referrer":"","http_user_agent":"node-fetch","requestID":"173162a864810b8acb098aefbad86dc6"} device-1 | {"data":{"peerconnection":"b7e4982e-f18b-4a42-bec5-a7e51881e952","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19479ebd-aac8-4d11-a7a2-52b95e309198"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"f3baab30527bdbda68958ba731461915"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"075c5110-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1563,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:18Z"} device-1 | {"data":{"peerconnection":"b7e4982e-f18b-4a42-bec5-a7e51881e952","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa07c6818-c749-4a90-8fdd-24c50bd14ec4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3a04737b-1b00-4253-8c18-7dd60c4bdfbe","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.1175797} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1563,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.251914,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"075c5110-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4","object_type":"device","rebac_allow":false,"scope_allow":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":"075c5110-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/b7e4982e-f18b-4a42-bec5-a7e51881e952' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b7e4982e-f18b-4a42-bec5-a7e51881e952","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"075c5110-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4/signaling 200 16ms","method":"POST","requestID":"075c5110-8ba5-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4/signaling"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"25cfbfcee4d863654aae4113491245c9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"25cfbfcee4d863654aae4113491245c9","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"075f1030-8ba5-11ef-a62f-5f7f958aa687"} 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/a07c6818-c749-4a90-8fdd-24c50bd14ec4"},{"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/00b54b25-7892-4444-a5ff-641129143f7b"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/b7e4982e-f18b-4a42-bec5-a7e51881e952"}}},"level":"info","message":"received a callback","requestID":"25cfbfcee4d863654aae4113491245c9"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1564,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00b54b25-7892-4444-a5ff-641129143f7b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8d2206dd-e0c0-417d-bc5d-c6931b74b536","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.1350498} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1564,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.128605,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:18Z"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"075fd380-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/00b54b25-7892-4444-a5ff-641129143f7b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"075f1030-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/00b54b25-7892-4444-a5ff-641129143f7b","object_type":"device","rebac_allow":false,"scope_allow":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":"075f1030-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1565,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:18Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"075f1030-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/00b54b25-7892-4444-a5ff-641129143f7b/signaling 200 8ms","method":"POST","requestID":"075f1030-8ba5-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/00b54b25-7892-4444-a5ff-641129143f7b/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb7e4982e-f18b-4a42-bec5-a7e51881e952","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"69b41578-05a5-44bd-8747-a69272b127d1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.139915} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1565,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.276277,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b7e4982e-f18b-4a42-bec5-a7e51881e952","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"075fd380-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/b7e4982e-f18b-4a42-bec5-a7e51881e952","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":"075fd380-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"075fd380-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/b7e4982e-f18b-4a42-bec5-a7e51881e952 200 7ms","method":"GET","requestID":"075fd380-8ba5-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/peerconnections/b7e4982e-f18b-4a42-bec5-a7e51881e952"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 25ms","method":"POST","requestID":"25cfbfcee4d863654aae4113491245c9","responseTime":25,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.028","http_referrer":"","http_user_agent":"node-fetch","requestID":"25cfbfcee4d863654aae4113491245c9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"076307d0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1566,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa07c6818-c749-4a90-8fdd-24c50bd14ec4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dbbdb740-286e-4dd0-a425-3ada56b25903","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.1616294} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1566,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.526204,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"076307d0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4","object_type":"device","rebac_allow":false,"scope_allow":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":"076307d0-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"076307d0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4/signaling 200 9ms","method":"POST","requestID":"076307d0-8ba5-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"07648e70-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1567,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00b54b25-7892-4444-a5ff-641129143f7b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5c376dbe-b330-429e-adc5-91980fe78e8b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.1716235} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1567,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.215843,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/00b54b25-7892-4444-a5ff-641129143f7b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"07648e70-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/00b54b25-7892-4444-a5ff-641129143f7b","object_type":"device","rebac_allow":false,"scope_allow":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":"07648e70-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"07648e70-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/00b54b25-7892-4444-a5ff-641129143f7b/signaling 200 8ms","method":"POST","requestID":"07648e70-8ba5-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/00b54b25-7892-4444-a5ff-641129143f7b/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOH0.8VvU-a2wWsA5U8rhqAxrDCzlu-R4yaDaGuq97PU0pCc","level":"info","message":"auth send jwt","requestID":"0b4cebf6259037c7520bb16bc8aea701"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0b4cebf6259037c7520bb16bc8aea701","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/19479ebd-aac8-4d11-a7a2-52b95e309198","requestID":"0b4cebf6259037c7520bb16bc8aea701"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1568,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1568,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.729521,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/19479ebd-aac8-4d11-a7a2-52b95e309198","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0b4cebf6259037c7520bb16bc8aea701","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/19479ebd-aac8-4d11-a7a2-52b95e309198","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072638,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOH0.8VvU-a2wWsA5U8rhqAxrDCzlu-R4yaDaGuq97PU0pCc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0b4cebf6259037c7520bb16bc8aea701","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/19479ebd-aac8-4d11-a7a2-52b95e309198","requestID":"0b4cebf6259037c7520bb16bc8aea701"} experiment-1 | {"level":"info","message":"GET /experiments/19479ebd-aac8-4d11-a7a2-52b95e309198 200 11ms","method":"GET","requestID":"0b4cebf6259037c7520bb16bc8aea701","responseTime":11,"status":200,"url":"/experiments/19479ebd-aac8-4d11-a7a2-52b95e309198"} gateway-1 | {"time_local":"16/Oct/2024:09:57:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/19479ebd-aac8-4d11-a7a2-52b95e309198 HTTP/1.1","status": "200","body_bytes_sent":"1289","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0b4cebf6259037c7520bb16bc8aea701"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOH0.8VvU-a2wWsA5U8rhqAxrDCzlu-R4yaDaGuq97PU0pCc","level":"info","message":"auth send jwt","requestID":"d7a2dc41af03b153314accb29519c7f9"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d7a2dc41af03b153314accb29519c7f9","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/19479ebd-aac8-4d11-a7a2-52b95e309198","requestID":"d7a2dc41af03b153314accb29519c7f9"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1569,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1569,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.927687,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/19479ebd-aac8-4d11-a7a2-52b95e309198","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"d7a2dc41af03b153314accb29519c7f9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/19479ebd-aac8-4d11-a7a2-52b95e309198","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072638,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOH0.8VvU-a2wWsA5U8rhqAxrDCzlu-R4yaDaGuq97PU0pCc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d7a2dc41af03b153314accb29519c7f9","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19479ebd-aac8-4d11-a7a2-52b95e309198"},"level":"info","message":"Attempting to finish experiment","requestID":"d7a2dc41af03b153314accb29519c7f9"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"076db630-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1570,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1570,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.771704,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b7e4982e-f18b-4a42-bec5-a7e51881e952","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"076db630-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/b7e4982e-f18b-4a42-bec5-a7e51881e952","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072638,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOH0.8VvU-a2wWsA5U8rhqAxrDCzlu-R4yaDaGuq97PU0pCc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"076db630-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:57:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/4e480778-3c34-4ecf-9964-c0cd5dda2e56?id=95d49a35-0f4d-4735-a3e2-19a015901fb1 HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.160","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"9666ccf6307ae818bd64a6cc878ae87d"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"95d49a35-0f4d-4735-a3e2-19a015901fb1\" in room \"http://localhost/rooms/4e480778-3c34-4ecf-9964-c0cd5dda2e56\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"95d49a35-0f4d-4735-a3e2-19a015901fb1\" from room \"http://localhost/rooms/4e480778-3c34-4ecf-9964-c0cd5dda2e56\", code: 1006, reason: "} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/b7e4982e-f18b-4a42-bec5-a7e51881e952' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/b7e4982e-f18b-4a42-bec5-a7e51881e952' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b7e4982e-f18b-4a42-bec5-a7e51881e952","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} gateway-1 | {"time_local":"16/Oct/2024:09:57:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/4e480778-3c34-4ecf-9964-c0cd5dda2e56?id=f63cf72e-11f4-43ae-8c51-35df757e7209 HTTP/1.1","status": "101","body_bytes_sent":"918","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":"7dfd56bcc37ca2d8d01f6de4b641419c"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"f63cf72e-11f4-43ae-8c51-35df757e7209\" in room \"http://localhost/rooms/4e480778-3c34-4ecf-9964-c0cd5dda2e56\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"f63cf72e-11f4-43ae-8c51-35df757e7209\" from room \"http://localhost/rooms/4e480778-3c34-4ecf-9964-c0cd5dda2e56\", code: 1005, reason: "} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/b7e4982e-f18b-4a42-bec5-a7e51881e952","device":"00b54b25-7892-4444-a5ff-641129143f7b","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":"7f7b9e30412820daa9c71d9d8a95c353","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"7f7b9e30412820daa9c71d9d8a95c353","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2f863585d3d39708a3412ef28f4ff6b8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4"},{"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/00b54b25-7892-4444-a5ff-641129143f7b"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/b7e4982e-f18b-4a42-bec5-a7e51881e952"}}},"level":"info","message":"received a callback","requestID":"7f7b9e30412820daa9c71d9d8a95c353"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"2f863585d3d39708a3412ef28f4ff6b8","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb7e4982e-f18b-4a42-bec5-a7e51881e952': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb7e4982e-f18b-4a42-bec5-a7e51881e952","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"b9b2a663-e50d-4dc2-828e-9aabab3acd83","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.2517064} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f954eb2b-8b70-4140-af84-dff52a0d8eca","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.2520046} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"076db630-8ba5-11ef-a62f-5f7f958aa687","responseTime":12,"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":["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/a07c6818-c749-4a90-8fdd-24c50bd14ec4"},{"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/00b54b25-7892-4444-a5ff-641129143f7b"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/b7e4982e-f18b-4a42-bec5-a7e51881e952"}}},"level":"info","message":"received a callback","requestID":"2f863585d3d39708a3412ef28f4ff6b8"} device-1 | {"data":{"peerconnection":"b7e4982e-f18b-4a42-bec5-a7e51881e952","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"076db630-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/b7e4982e-f18b-4a42-bec5-a7e51881e952 204 43ms","method":"DELETE","requestID":"076db630-8ba5-11ef-a62f-5f7f958aa687","responseTime":43,"status":204,"url":"/peerconnections/b7e4982e-f18b-4a42-bec5-a7e51881e952"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/00b54b25-7892-4444-a5ff-641129143f7b'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19479ebd-aac8-4d11-a7a2-52b95e309198"},"level":"info","message":"Successfully finished experiment","requestID":"d7a2dc41af03b153314accb29519c7f9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0776ddf0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1571,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa07c6818-c749-4a90-8fdd-24c50bd14ec4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b70d1b03-76f3-48ad-9ad3-54773c0d95e7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.2932353} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1571,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.391503,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0776ddf0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4","object_type":"device","rebac_allow":false,"scope_allow":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":"0776ddf0-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0776ddf0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4/signaling 200 11ms","method":"POST","requestID":"0776ddf0-8ba5-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/a07c6818-c749-4a90-8fdd-24c50bd14ec4/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F19479ebd-aac8-4d11-a7a2-52b95e309198': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F19479ebd-aac8-4d11-a7a2-52b95e309198","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"61d28148-3c9c-4268-b5c0-ecc6db947be6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.3017926} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"077900d0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4af35b44-c6c2-419e-b65a-f264aca58577","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.3022187} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"d7a2dc41af03b153314accb29519c7f9","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1572,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00b54b25-7892-4444-a5ff-641129143f7b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a0bcf863-0a49-43cf-a518-1034c81eb641","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.3069067} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1572,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.7974,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/00b54b25-7892-4444-a5ff-641129143f7b","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"077900d0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/00b54b25-7892-4444-a5ff-641129143f7b","object_type":"device","rebac_allow":false,"scope_allow":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":"077900d0-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"077900d0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/00b54b25-7892-4444-a5ff-641129143f7b/signaling 200 10ms","method":"POST","requestID":"077900d0-8ba5-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/00b54b25-7892-4444-a5ff-641129143f7b/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/19479ebd-aac8-4d11-a7a2-52b95e309198","requestID":"d7a2dc41af03b153314accb29519c7f9"} gateway-1 | {"time_local":"16/Oct/2024:09:57:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/19479ebd-aac8-4d11-a7a2-52b95e309198 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.152","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d7a2dc41af03b153314accb29519c7f9"} gateway-1 | {"time_local":"16/Oct/2024:09:57:18 +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.176","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"06c54220a66fe8eadb9b9f2ec3552903"} experiment-1 | {"level":"info","message":"DELETE /experiments/19479ebd-aac8-4d11-a7a2-52b95e309198 204 149ms","method":"DELETE","requestID":"d7a2dc41af03b153314accb29519c7f9","responseTime":149,"status":204,"url":"/experiments/19479ebd-aac8-4d11-a7a2-52b95e309198"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 116ms","method":"POST","requestID":"7f7b9e30412820daa9c71d9d8a95c353","responseTime":116,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.120","http_referrer":"","http_user_agent":"node-fetch","requestID":"7f7b9e30412820daa9c71d9d8a95c353"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 115ms","method":"POST","requestID":"2f863585d3d39708a3412ef28f4ff6b8","responseTime":115,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.120","http_referrer":"","http_user_agent":"node-fetch","requestID":"2f863585d3d39708a3412ef28f4ff6b8"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOH0.8VvU-a2wWsA5U8rhqAxrDCzlu-R4yaDaGuq97PU0pCc","level":"info","message":"auth send jwt","requestID":"81d927d906db05837cf2664504fa0246"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"81d927d906db05837cf2664504fa0246","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"81d927d906db05837cf2664504fa0246"} gateway-1 | {"time_local":"16/Oct/2024:09:57:18 +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.671","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"4f1a1d68cee9cc28defa55b9e477abad"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1573,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1573,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.961291,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"81d927d906db05837cf2664504fa0246","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072638,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOH0.8VvU-a2wWsA5U8rhqAxrDCzlu-R4yaDaGuq97PU0pCc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"81d927d906db05837cf2664504fa0246","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/a07c6818-c749-4a90-8fdd-24c50bd14ec4' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85f1447f-b0bf-468c-84eb-972949b67b2d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"3c41d033-4d0f-49d0-b818-e0b5755cb4ad","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.3925664} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"81d927d906db05837cf2664504fa0246","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"879d913c-22eb-4490-9c67-f84a3d197acd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.3975103} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"81d927d906db05837cf2664504fa0246","responseTime":3,"status":200,"url":"/relations/update"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/00b54b25-7892-4444-a5ff-641129143f7b' closed"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85f1447f-b0bf-468c-84eb-972949b67b2d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"25669b1b-4417-4b0f-9725-333b7b9a2f80","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.408179} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"77c8465f-ffb4-45df-a468-0355df04e102","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.4081662} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"81d927d906db05837cf2664504fa0246","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85f1447f-b0bf-468c-84eb-972949b67b2d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85f1447f-b0bf-468c-84eb-972949b67b2d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:18.408146573Z"}]},"request_id":"4f5014cf-1fea-4492-8774-0c82adaacfcf","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.4121006} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"81d927d906db05837cf2664504fa0246","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"81d927d906db05837cf2664504fa0246"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.050","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"81d927d906db05837cf2664504fa0246"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"81d927d906db05837cf2664504fa0246","responseTime":44,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOH0.8VvU-a2wWsA5U8rhqAxrDCzlu-R4yaDaGuq97PU0pCc","level":"info","message":"auth send jwt","requestID":"61b03e183bf9f6a0f2d162279d1f3f5c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"61b03e183bf9f6a0f2d162279d1f3f5c","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"61b03e183bf9f6a0f2d162279d1f3f5c"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1574,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1574,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.748144,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"61b03e183bf9f6a0f2d162279d1f3f5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072638,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOH0.8VvU-a2wWsA5U8rhqAxrDCzlu-R4yaDaGuq97PU0pCc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"61b03e183bf9f6a0f2d162279d1f3f5c","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffc18f746-de3d-4987-9d84-8ef8e13236c3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"930e9c6c-89d5-4c98-8d50-d3309a448b2a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.4435184} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"61b03e183bf9f6a0f2d162279d1f3f5c","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d9763d17-102a-4167-9b79-9eff79033a92","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.447367} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"61b03e183bf9f6a0f2d162279d1f3f5c","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffc18f746-de3d-4987-9d84-8ef8e13236c3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"b123b9cb-e307-449a-8e58-e8718c28b87c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.4577746} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f97f5bc3-8da5-4da7-80c9-f0f993674ca9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.4579034} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"61b03e183bf9f6a0f2d162279d1f3f5c","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffc18f746-de3d-4987-9d84-8ef8e13236c3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffc18f746-de3d-4987-9d84-8ef8e13236c3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:18.457721039Z"}]},"request_id":"9d059a7c-0827-4f54-b268-19f15d3f0c97","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.4614065} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"61b03e183bf9f6a0f2d162279d1f3f5c","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"61b03e183bf9f6a0f2d162279d1f3f5c"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"61b03e183bf9f6a0f2d162279d1f3f5c","responseTime":44,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"61b03e183bf9f6a0f2d162279d1f3f5c"} forwarding-1 | {"level":"info","message":"Participant \"123a839d-ad5e-4b65-8b4a-c731d4e59b19\" in room \"http://localhost/rooms/2edd121b-3824-483f-aefe-eaca36b39bd8\" did not answer hearbeat check, closing connection","requestID":"e402f070-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Participant \"e778ca24-1176-4e45-a8dc-1df47d1f36f9\" in room \"http://localhost/rooms/2edd121b-3824-483f-aefe-eaca36b39bd8\" did not answer hearbeat check, closing connection","requestID":"e4033e90-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOH0.8VvU-a2wWsA5U8rhqAxrDCzlu-R4yaDaGuq97PU0pCc","level":"info","message":"auth send jwt","requestID":"f2b24ab5cfdfe7011a821f4f3184dd6f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"f2b24ab5cfdfe7011a821f4f3184dd6f","responseTime":3,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOH0.8VvU-a2wWsA5U8rhqAxrDCzlu-R4yaDaGuq97PU0pCc","level":"info","message":"auth send jwt","requestID":"8983d32297956d883ae0da426201cb8e"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8983d32297956d883ae0da426201cb8e","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"f2b24ab5cfdfe7011a821f4f3184dd6f"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"8983d32297956d883ae0da426201cb8e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1575,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1576,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1575,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.928857,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f2b24ab5cfdfe7011a821f4f3184dd6f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072638,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOH0.8VvU-a2wWsA5U8rhqAxrDCzlu-R4yaDaGuq97PU0pCc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f2b24ab5cfdfe7011a821f4f3184dd6f","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1576,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.603196,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/85f1447f-b0bf-468c-84eb-972949b67b2d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"8983d32297956d883ae0da426201cb8e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/85f1447f-b0bf-468c-84eb-972949b67b2d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072638,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOH0.8VvU-a2wWsA5U8rhqAxrDCzlu-R4yaDaGuq97PU0pCc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"8983d32297956d883ae0da426201cb8e","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffc18f746-de3d-4987-9d84-8ef8e13236c3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffc18f746-de3d-4987-9d84-8ef8e13236c3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:18.457721039Z"}]},"request_id":"7d747d21-bb76-47c6-a82e-5542a05274fc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.9365177} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"f2b24ab5cfdfe7011a821f4f3184dd6f","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85f1447f-b0bf-468c-84eb-972949b67b2d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85f1447f-b0bf-468c-84eb-972949b67b2d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:18.408146573Z"}]},"request_id":"8c4dbd7a-6144-4de6-9538-0f26247ef63a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.9371152} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8983d32297956d883ae0da426201cb8e","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5aa1b175-4897-40b1-b29e-3c906b8d1a96","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.940473} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"f2b24ab5cfdfe7011a821f4f3184dd6f","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2b557d88-c0f4-4f96-8fae-a88d8aa8ff95","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.9418135} authorization-1 | {"level":"info","message":"POST /relations/update 200 2ms","method":"POST","requestID":"8983d32297956d883ae0da426201cb8e","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85f1447f-b0bf-468c-84eb-972949b67b2d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85f1447f-b0bf-468c-84eb-972949b67b2d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:18.408146573Z"}]},"request_id":"a366437d-412c-47f6-ae7e-26da79fff774","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.9481735} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"8983d32297956d883ae0da426201cb8e","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"8983d32297956d883ae0da426201cb8e"} gateway-1 | {"time_local":"16/Oct/2024:09:57:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/85f1447f-b0bf-468c-84eb-972949b67b2d HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.026","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"8983d32297956d883ae0da426201cb8e"} device-1 | {"level":"info","message":"PATCH /devices/85f1447f-b0bf-468c-84eb-972949b67b2d 200 20ms","method":"PATCH","requestID":"8983d32297956d883ae0da426201cb8e","responseTime":20,"status":200,"url":"/devices/85f1447f-b0bf-468c-84eb-972949b67b2d"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOH0.8VvU-a2wWsA5U8rhqAxrDCzlu-R4yaDaGuq97PU0pCc","level":"info","message":"auth send jwt","requestID":"cc61566144c6ecba42c96f46ab86bfa4"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"cc61566144c6ecba42c96f46ab86bfa4","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"cc61566144c6ecba42c96f46ab86bfa4"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1577,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1577,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.715416,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/85f1447f-b0bf-468c-84eb-972949b67b2d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"cc61566144c6ecba42c96f46ab86bfa4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/85f1447f-b0bf-468c-84eb-972949b67b2d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072638,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOH0.8VvU-a2wWsA5U8rhqAxrDCzlu-R4yaDaGuq97PU0pCc"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"cc61566144c6ecba42c96f46ab86bfa4","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffc18f746-de3d-4987-9d84-8ef8e13236c3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffc18f746-de3d-4987-9d84-8ef8e13236c3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:18.457721039Z"}]},"request_id":"4a1ae747-aa60-4428-a8a6-313731dba126","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072638.9607387} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"f2b24ab5cfdfe7011a821f4f3184dd6f","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"f2b24ab5cfdfe7011a821f4f3184dd6f"} gateway-1 | {"time_local":"16/Oct/2024:09:57:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/fc18f746-de3d-4987-9d84-8ef8e13236c3 HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.039","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"f2b24ab5cfdfe7011a821f4f3184dd6f"} device-1 | {"level":"info","message":"PATCH /devices/fc18f746-de3d-4987-9d84-8ef8e13236c3 200 35ms","method":"PATCH","requestID":"f2b24ab5cfdfe7011a821f4f3184dd6f","responseTime":35,"status":200,"url":"/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOH0.8VvU-a2wWsA5U8rhqAxrDCzlu-R4yaDaGuq97PU0pCc","level":"info","message":"auth send jwt","requestID":"ec52cf946f307076162e8edf7022068c"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"ec52cf946f307076162e8edf7022068c","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"ec52cf946f307076162e8edf7022068c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"cc61566144c6ecba42c96f46ab86bfa4"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1578,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:18Z"} gateway-1 | {"time_local":"16/Oct/2024:09:57:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/85f1447f-b0bf-468c-84eb-972949b67b2d/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.10","requestID":"cc61566144c6ecba42c96f46ab86bfa4"} device-1 | {"level":"info","message":"POST /devices/85f1447f-b0bf-468c-84eb-972949b67b2d/websocket 200 15ms","method":"POST","requestID":"cc61566144c6ecba42c96f46ab86bfa4","responseTime":15,"status":200,"url":"/devices/85f1447f-b0bf-468c-84eb-972949b67b2d/websocket"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1578,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.747743,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ec52cf946f307076162e8edf7022068c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072638,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOH0.8VvU-a2wWsA5U8rhqAxrDCzlu-R4yaDaGuq97PU0pCc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ec52cf946f307076162e8edf7022068c","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"device 'http://localhost/devices/85f1447f-b0bf-468c-84eb-972949b67b2d' connected"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"ec52cf946f307076162e8edf7022068c"} gateway-1 | {"time_local":"16/Oct/2024:09:57:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/fc18f746-de3d-4987-9d84-8ef8e13236c3/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.10","requestID":"ec52cf946f307076162e8edf7022068c"} device-1 | {"level":"info","message":"POST /devices/fc18f746-de3d-4987-9d84-8ef8e13236c3/websocket 200 17ms","method":"POST","requestID":"ec52cf946f307076162e8edf7022068c","responseTime":17,"status":200,"url":"/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOH0.8VvU-a2wWsA5U8rhqAxrDCzlu-R4yaDaGuq97PU0pCc","level":"info","message":"auth send jwt","requestID":"889cb5c554acea39bcdbcbecd06fca05"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"889cb5c554acea39bcdbcbecd06fca05","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"889cb5c554acea39bcdbcbecd06fca05"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1579,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:18Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1579,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.638356,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/85f1447f-b0bf-468c-84eb-972949b67b2d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"889cb5c554acea39bcdbcbecd06fca05","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/85f1447f-b0bf-468c-84eb-972949b67b2d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072638,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOH0.8VvU-a2wWsA5U8rhqAxrDCzlu-R4yaDaGuq97PU0pCc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"889cb5c554acea39bcdbcbecd06fca05","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85f1447f-b0bf-468c-84eb-972949b67b2d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85f1447f-b0bf-468c-84eb-972949b67b2d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:18.408146573Z"}]},"request_id":"9b16bbbd-a2fa-456b-98c9-b7ea4e008758","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.0034916} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"889cb5c554acea39bcdbcbecd06fca05","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"889cb5c554acea39bcdbcbecd06fca05"} gateway-1 | {"time_local":"16/Oct/2024:09:57:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/85f1447f-b0bf-468c-84eb-972949b67b2d? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.012","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"889cb5c554acea39bcdbcbecd06fca05"} device-1 | {"level":"info","message":"GET /devices/85f1447f-b0bf-468c-84eb-972949b67b2d? 200 9ms","method":"GET","requestID":"889cb5c554acea39bcdbcbecd06fca05","responseTime":9,"status":200,"url":"/devices/85f1447f-b0bf-468c-84eb-972949b67b2d?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOX0.L_zQDdmNX2c5G1vM1KZoHqr26JguVwC5jD5BOC-zoQw","level":"info","message":"auth send jwt","requestID":"9ad0eb24c69b17bbfa2421b2885705d1"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"9ad0eb24c69b17bbfa2421b2885705d1","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9ad0eb24c69b17bbfa2421b2885705d1"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1580,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1580,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.071931,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"9ad0eb24c69b17bbfa2421b2885705d1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072639,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOX0.L_zQDdmNX2c5G1vM1KZoHqr26JguVwC5jD5BOC-zoQw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9ad0eb24c69b17bbfa2421b2885705d1","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffc18f746-de3d-4987-9d84-8ef8e13236c3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffc18f746-de3d-4987-9d84-8ef8e13236c3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:18.457721039Z"}]},"request_id":"ad2c0898-3c2c-4655-ad07-db5b789704e3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.0182612} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"9ad0eb24c69b17bbfa2421b2885705d1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9ad0eb24c69b17bbfa2421b2885705d1"} gateway-1 | {"time_local":"16/Oct/2024:09:57:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/fc18f746-de3d-4987-9d84-8ef8e13236c3? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9ad0eb24c69b17bbfa2421b2885705d1"} device-1 | {"level":"info","message":"GET /devices/fc18f746-de3d-4987-9d84-8ef8e13236c3? 200 10ms","method":"GET","requestID":"9ad0eb24c69b17bbfa2421b2885705d1","responseTime":10,"status":200,"url":"/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOX0.L_zQDdmNX2c5G1vM1KZoHqr26JguVwC5jD5BOC-zoQw","level":"info","message":"auth send jwt","requestID":"dd4afa165e609f2e6e69c8131be1d64f"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"dd4afa165e609f2e6e69c8131be1d64f","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"dd4afa165e609f2e6e69c8131be1d64f"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1581,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1581,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.485048,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"dd4afa165e609f2e6e69c8131be1d64f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072639,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOX0.L_zQDdmNX2c5G1vM1KZoHqr26JguVwC5jD5BOC-zoQw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"dd4afa165e609f2e6e69c8131be1d64f","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd"},"level":"info","message":"Attempting to run experiment","requestID":"dd4afa165e609f2e6e69c8131be1d64f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd"},"level":"info","message":"Attempting to book experiment","requestID":"dd4afa165e609f2e6e69c8131be1d64f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd"},"level":"info","message":"Successfully booked experiment","requestID":"dd4afa165e609f2e6e69c8131be1d64f"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"07ed4670-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"07ed6d80-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1582,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1582,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.647301,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1583,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/85f1447f-b0bf-468c-84eb-972949b67b2d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"07ed4670-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/85f1447f-b0bf-468c-84eb-972949b67b2d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072639,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOX0.L_zQDdmNX2c5G1vM1KZoHqr26JguVwC5jD5BOC-zoQw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"07ed4670-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1583,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.036635,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"07ed6d80-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072639,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOX0.L_zQDdmNX2c5G1vM1KZoHqr26JguVwC5jD5BOC-zoQw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"07ed6d80-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85f1447f-b0bf-468c-84eb-972949b67b2d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85f1447f-b0bf-468c-84eb-972949b67b2d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:18.408146573Z"}]},"request_id":"7b69963c-f482-4857-83a8-dd22052fead2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.0704415} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"07ed4670-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffc18f746-de3d-4987-9d84-8ef8e13236c3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffc18f746-de3d-4987-9d84-8ef8e13236c3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:18.457721039Z"}]},"request_id":"95035b29-82bd-4aad-a011-c536f78b4a34","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.0709372} authorization-1 | {"level":"info","message":"POST /relations/query 200 1ms","method":"POST","requestID":"07ed6d80-8ba5-11ef-a62f-5f7f958aa687","responseTime":1,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"07ed4670-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/85f1447f-b0bf-468c-84eb-972949b67b2d? 200 11ms","method":"GET","requestID":"07ed4670-8ba5-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/85f1447f-b0bf-468c-84eb-972949b67b2d?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"07ed6d80-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/fc18f746-de3d-4987-9d84-8ef8e13236c3? 200 11ms","method":"GET","requestID":"07ed6d80-8ba5-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd"},"level":"info","message":"Setting up experiment","requestID":"dd4afa165e609f2e6e69c8131be1d64f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"dd4afa165e609f2e6e69c8131be1d64f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd"},"level":"info","message":"Successfully locked booking for experiment","requestID":"dd4afa165e609f2e6e69c8131be1d64f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"dd4afa165e609f2e6e69c8131be1d64f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"dd4afa165e609f2e6e69c8131be1d64f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd"},"level":"info","message":"Attempting to update booking for experiment","requestID":"dd4afa165e609f2e6e69c8131be1d64f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd"},"level":"info","message":"Successfully updated booking for experiment","requestID":"dd4afa165e609f2e6e69c8131be1d64f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd"},"level":"info","message":"Successfully set up experiment","requestID":"dd4afa165e609f2e6e69c8131be1d64f"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"07f6e360-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"07f70a70-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"07f75890-8ba5-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd"},"level":"info","message":"Successfully running experiment","requestID":"dd4afa165e609f2e6e69c8131be1d64f"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1584,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1584,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.297014,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/85f1447f-b0bf-468c-84eb-972949b67b2d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"07f6e360-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/85f1447f-b0bf-468c-84eb-972949b67b2d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072639,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOX0.L_zQDdmNX2c5G1vM1KZoHqr26JguVwC5jD5BOC-zoQw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"07f6e360-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1585,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1585,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.764291,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"07f70a70-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072639,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOX0.L_zQDdmNX2c5G1vM1KZoHqr26JguVwC5jD5BOC-zoQw"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"07f70a70-8ba5-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1586,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1586,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.186832,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85f1447f-b0bf-468c-84eb-972949b67b2d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d9a7b9b8-f1df-4477-987a-38c41f35ca58","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.1374946} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/85f1447f-b0bf-468c-84eb-972949b67b2d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"07f75890-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/85f1447f-b0bf-468c-84eb-972949b67b2d","object_type":"device","rebac_allow":false,"scope_allow":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":"07f75890-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85f1447f-b0bf-468c-84eb-972949b67b2d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85f1447f-b0bf-468c-84eb-972949b67b2d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:18.408146573Z"}]},"request_id":"74ca97a0-cf19-443e-855d-837e181d4bf6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.1403797} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"07f75890-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/85f1447f-b0bf-468c-84eb-972949b67b2d/signaling 200 16ms","method":"POST","requestID":"07f75890-8ba5-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/devices/85f1447f-b0bf-468c-84eb-972949b67b2d/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 9ms","method":"POST","requestID":"07f6e360-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffc18f746-de3d-4987-9d84-8ef8e13236c3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffc18f746-de3d-4987-9d84-8ef8e13236c3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:18.457721039Z"}]},"request_id":"065db9bf-494b-4ebe-b358-e0e884a64819","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.1439114} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"07fa17b0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"07f70a70-8ba5-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd9266276-b1c6-41b1-bf04-c7067c8c29fd#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd9266276-b1c6-41b1-bf04-c7067c8c29fd","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"ea9b08e2-4581-4186-89cf-6a1cb66616f3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.148846} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1c55ec55-dc83-4bfe-af02-b80aea1e1a3a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.1489909} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"07f6e360-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"dd4afa165e609f2e6e69c8131be1d64f","responseTime":17,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1587,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:19Z"} device-1 | {"level":"info","message":"GET /devices/85f1447f-b0bf-468c-84eb-972949b67b2d? 200 25ms","method":"GET","requestID":"07f6e360-8ba5-11ef-a62f-5f7f958aa687","responseTime":25,"status":200,"url":"/devices/85f1447f-b0bf-468c-84eb-972949b67b2d?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffc18f746-de3d-4987-9d84-8ef8e13236c3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dc798975-ecc7-4fdf-9f70-1cc1a590170a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.1518946} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"07f70a70-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/fc18f746-de3d-4987-9d84-8ef8e13236c3? 200 25ms","method":"GET","requestID":"07f70a70-8ba5-11ef-a62f-5f7f958aa687","responseTime":25,"status":200,"url":"/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3?"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1587,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.427704,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"07fa17b0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3","object_type":"device","rebac_allow":false,"scope_allow":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":"07fa17b0-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"07fa17b0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/fc18f746-de3d-4987-9d84-8ef8e13236c3/signaling 200 9ms","method":"POST","requestID":"07fa17b0-8ba5-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"07fb7740-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1588,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:19Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"dd4afa165e609f2e6e69c8131be1d64f"} experiment-1 | {"level":"info","message":"POST /experiments? 201 134ms","method":"POST","requestID":"dd4afa165e609f2e6e69c8131be1d64f","responseTime":134,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"16/Oct/2024:09:57:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1220","request_time":"0.138","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"dd4afa165e609f2e6e69c8131be1d64f"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85f1447f-b0bf-468c-84eb-972949b67b2d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"32815d0a-c110-4093-8ba2-9969c916be4b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.161562} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1588,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.691182,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/85f1447f-b0bf-468c-84eb-972949b67b2d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"07fb7740-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/85f1447f-b0bf-468c-84eb-972949b67b2d","object_type":"device","rebac_allow":false,"scope_allow":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":"07fb7740-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOX0.L_zQDdmNX2c5G1vM1KZoHqr26JguVwC5jD5BOC-zoQw","level":"info","message":"auth send jwt","requestID":"3be82e7c53d1287d788e96a73969a6dc"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3be82e7c53d1287d788e96a73969a6dc","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"07fb7740-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/85f1447f-b0bf-468c-84eb-972949b67b2d/signaling 200 10ms","method":"POST","requestID":"07fb7740-8ba5-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/85f1447f-b0bf-468c-84eb-972949b67b2d/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3be82e7c53d1287d788e96a73969a6dc"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"07fd24f0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1589,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1589,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.668706,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1590,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/85f1447f-b0bf-468c-84eb-972949b67b2d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3be82e7c53d1287d788e96a73969a6dc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/85f1447f-b0bf-468c-84eb-972949b67b2d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072639,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOX0.L_zQDdmNX2c5G1vM1KZoHqr26JguVwC5jD5BOC-zoQw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3be82e7c53d1287d788e96a73969a6dc","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffc18f746-de3d-4987-9d84-8ef8e13236c3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9957108d-8769-40c2-987c-5091390ec13c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.1712248} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1590,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.34771,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"07fd24f0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3","object_type":"device","rebac_allow":false,"scope_allow":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":"07fd24f0-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85f1447f-b0bf-468c-84eb-972949b67b2d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85f1447f-b0bf-468c-84eb-972949b67b2d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:18.408146573Z"}]},"request_id":"1ac44629-c5ff-4527-9600-197ffc60185d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.172813} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"3be82e7c53d1287d788e96a73969a6dc","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"07fd24f0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/fc18f746-de3d-4987-9d84-8ef8e13236c3/signaling 200 10ms","method":"POST","requestID":"07fd24f0-8ba5-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3be82e7c53d1287d788e96a73969a6dc"} gateway-1 | {"time_local":"16/Oct/2024:09:57:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/85f1447f-b0bf-468c-84eb-972949b67b2d? 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":"3be82e7c53d1287d788e96a73969a6dc"} device-1 | {"level":"info","message":"GET /devices/85f1447f-b0bf-468c-84eb-972949b67b2d? 200 12ms","method":"GET","requestID":"3be82e7c53d1287d788e96a73969a6dc","responseTime":12,"status":200,"url":"/devices/85f1447f-b0bf-468c-84eb-972949b67b2d?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"dd4afa165e609f2e6e69c8131be1d64f"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"07fef9b0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"07ff20c0-8ba5-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOX0.L_zQDdmNX2c5G1vM1KZoHqr26JguVwC5jD5BOC-zoQw","level":"info","message":"auth send jwt","requestID":"357cca81afa8737141e4384efaefefc3"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1591,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1592,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1591,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.873165,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"357cca81afa8737141e4384efaefefc3","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/85f1447f-b0bf-468c-84eb-972949b67b2d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"07fef9b0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/85f1447f-b0bf-468c-84eb-972949b67b2d","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072639,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOX0.L_zQDdmNX2c5G1vM1KZoHqr26JguVwC5jD5BOC-zoQw"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"357cca81afa8737141e4384efaefefc3"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"07fef9b0-8ba5-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1592,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.715991,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"07ff20c0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072639,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOX0.L_zQDdmNX2c5G1vM1KZoHqr26JguVwC5jD5BOC-zoQw"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"07ff20c0-8ba5-11ef-a62f-5f7f958aa687","responseTime":2,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1593,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1593,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.603207,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"357cca81afa8737141e4384efaefefc3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072639,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOX0.L_zQDdmNX2c5G1vM1KZoHqr26JguVwC5jD5BOC-zoQw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"357cca81afa8737141e4384efaefefc3","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85f1447f-b0bf-468c-84eb-972949b67b2d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85f1447f-b0bf-468c-84eb-972949b67b2d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:18.408146573Z"}]},"request_id":"3093fc38-2142-4895-9dae-64ece23e1420","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.1863756} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffc18f746-de3d-4987-9d84-8ef8e13236c3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffc18f746-de3d-4987-9d84-8ef8e13236c3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:18.457721039Z"}]},"request_id":"dcc0ffa2-fc62-445d-82cf-737f3dc13243","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.187261} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"07fef9b0-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"07ff20c0-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffc18f746-de3d-4987-9d84-8ef8e13236c3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffc18f746-de3d-4987-9d84-8ef8e13236c3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:18.457721039Z"}]},"request_id":"8529f4f3-7ced-408a-9ed6-1afaf632ee3c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.190491} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"357cca81afa8737141e4384efaefefc3","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"07fef9b0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/85f1447f-b0bf-468c-84eb-972949b67b2d? 200 14ms","method":"GET","requestID":"07fef9b0-8ba5-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/85f1447f-b0bf-468c-84eb-972949b67b2d?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"07ff20c0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/fc18f746-de3d-4987-9d84-8ef8e13236c3? 200 13ms","method":"GET","requestID":"07ff20c0-8ba5-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"357cca81afa8737141e4384efaefefc3"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd"},"level":"info","message":"Building connection plan","requestID":"dd4afa165e609f2e6e69c8131be1d64f"} 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":"b2b0792e-f293-4c59-9cb4-9787f4d09b39"},{"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":"3d1b7108-74d9-4bb1-97e0-b91321dd5a06"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"79c385ab-cc85-4130-96c0-1987d9aa8f10"}]},"level":"info","message":"Built pairwise service configurations","requestID":"dd4afa165e609f2e6e69c8131be1d64f"} gateway-1 | {"time_local":"16/Oct/2024:09:57:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/fc18f746-de3d-4987-9d84-8ef8e13236c3? 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":"357cca81afa8737141e4384efaefefc3"} device-1 | {"level":"info","message":"GET /devices/fc18f746-de3d-4987-9d84-8ef8e13236c3? 200 12ms","method":"GET","requestID":"357cca81afa8737141e4384efaefefc3","responseTime":12,"status":200,"url":"/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3?"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"08016ab0-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"08016ab0-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"08016ab0-8ba5-11ef-a042-213954f0282b","responseTime":1,"status":201,"url":"/rooms"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/c5759896-17e6-493d-8819-9112d20e319c?id=417e40a2-5259-45aa-9b77-cc32848d568d","ws://localhost/rooms/c5759896-17e6-493d-8819-9112d20e319c?id=eb0a5210-dee2-4950-ac82-831147b69733"]},"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/fc18f746-de3d-4987-9d84-8ef8e13236c3"},{"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/85f1447f-b0bf-468c-84eb-972949b67b2d"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"dd4afa165e609f2e6e69c8131be1d64f"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"0801dfe0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1594,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1594,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.54416,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0801dfe0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072639,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOX0.L_zQDdmNX2c5G1vM1KZoHqr26JguVwC5jD5BOC-zoQw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0801dfe0-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"6ec5018a-30b3-439b-b88d-6bf35381b4b6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.2100053} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"dd9cc000-5e89-4084-a83e-3c74e93ebe80","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.2101836} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"0801dfe0-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"0801dfe0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"0801dfe0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/0db2d88b-1dd1-4280-8cc1-36cefd0ddd83'","requestID":"0801dfe0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/0db2d88b-1dd1-4280-8cc1-36cefd0ddd83'","requestID":"0801dfe0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"0801dfe0-8ba5-11ef-a62f-5f7f958aa687"} 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":"0801dfe0-8ba5-11ef-a62f-5f7f958aa687","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":"0801dfe0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/0db2d88b-1dd1-4280-8cc1-36cefd0ddd83' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"0db2d88b-1dd1-4280-8cc1-36cefd0ddd83","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"0806c1e0-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"eb0a5210-dee2-4950-ac82-831147b69733\" in room \"http://localhost/rooms/c5759896-17e6-493d-8819-9112d20e319c\"","requestID":"0806c1e0-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"0806c1e0-8ba5-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f3e6a4bdca7013fc39c9abac0fdd1f1e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"0806e8f0-8ba5-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"f3e6a4bdca7013fc39c9abac0fdd1f1e","responseTime":1,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"417e40a2-5259-45aa-9b77-cc32848d568d\" in room \"http://localhost/rooms/c5759896-17e6-493d-8819-9112d20e319c\"","requestID":"0806e8f0-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"0806e8f0-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"417e40a2-5259-45aa-9b77-cc32848d568d\" in room \"http://localhost/rooms/c5759896-17e6-493d-8819-9112d20e319c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"417e40a2-5259-45aa-9b77-cc32848d568d\" in room \"http://localhost/rooms/c5759896-17e6-493d-8819-9112d20e319c\""} 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/fc18f746-de3d-4987-9d84-8ef8e13236c3"},{"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/85f1447f-b0bf-468c-84eb-972949b67b2d"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/0db2d88b-1dd1-4280-8cc1-36cefd0ddd83"}}},"level":"info","message":"received a callback","requestID":"f3e6a4bdca7013fc39c9abac0fdd1f1e"} device-1 | {"data":{"peerconnection":"0db2d88b-1dd1-4280-8cc1-36cefd0ddd83","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 11ms","method":"POST","requestID":"f3e6a4bdca7013fc39c9abac0fdd1f1e","responseTime":11,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.014","http_referrer":"","http_user_agent":"node-fetch","requestID":"f3e6a4bdca7013fc39c9abac0fdd1f1e"} device-1 | {"data":{"peerconnection":"0db2d88b-1dd1-4280-8cc1-36cefd0ddd83","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"dd4afa165e609f2e6e69c8131be1d64f"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"080b7cd0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1595,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:19Z"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/0db2d88b-1dd1-4280-8cc1-36cefd0ddd83' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"0db2d88b-1dd1-4280-8cc1-36cefd0ddd83","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85f1447f-b0bf-468c-84eb-972949b67b2d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"abc0c7d1-d18c-4068-8209-a568b6340d7f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.2652562} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1595,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.480163,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"45d11236e74d2d3727d3b88dd4d9853e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/85f1447f-b0bf-468c-84eb-972949b67b2d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"080b7cd0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/85f1447f-b0bf-468c-84eb-972949b67b2d","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 1ms","method":"GET","requestID":"45d11236e74d2d3727d3b88dd4d9853e","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"080b7cd0-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} 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/fc18f746-de3d-4987-9d84-8ef8e13236c3"},{"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/85f1447f-b0bf-468c-84eb-972949b67b2d"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/0db2d88b-1dd1-4280-8cc1-36cefd0ddd83"}}},"level":"info","message":"received a callback","requestID":"45d11236e74d2d3727d3b88dd4d9853e"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"080dedd0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"080b7cd0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/85f1447f-b0bf-468c-84eb-972949b67b2d/signaling 200 18ms","method":"POST","requestID":"080b7cd0-8ba5-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/85f1447f-b0bf-468c-84eb-972949b67b2d/signaling"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1596,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:19Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"080e8a10-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F0db2d88b-1dd1-4280-8cc1-36cefd0ddd83","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"26b98de2-939d-4e92-af83-07768d67decd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.2817817} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1596,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.701073,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1597,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/0db2d88b-1dd1-4280-8cc1-36cefd0ddd83","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"080dedd0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/0db2d88b-1dd1-4280-8cc1-36cefd0ddd83","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":"080dedd0-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffc18f746-de3d-4987-9d84-8ef8e13236c3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8aa2696c-9787-42a7-877e-3ae8e8f8887b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.2855587} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"080dedd0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1597,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.815505,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} device-1 | {"level":"info","message":"GET /peerconnections/0db2d88b-1dd1-4280-8cc1-36cefd0ddd83 200 9ms","method":"GET","requestID":"080dedd0-8ba5-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/peerconnections/0db2d88b-1dd1-4280-8cc1-36cefd0ddd83"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"080e8a10-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3","object_type":"device","rebac_allow":false,"scope_allow":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":"080e8a10-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"080e8a10-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/fc18f746-de3d-4987-9d84-8ef8e13236c3/signaling 200 9ms","method":"POST","requestID":"080e8a10-8ba5-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3/signaling"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 33ms","method":"POST","requestID":"45d11236e74d2d3727d3b88dd4d9853e","responseTime":33,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.036","http_referrer":"","http_user_agent":"node-fetch","requestID":"45d11236e74d2d3727d3b88dd4d9853e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"08119750-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1598,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffc18f746-de3d-4987-9d84-8ef8e13236c3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0c2cf35a-9fc9-4aaf-9d07-c484a55d651e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.3063872} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1598,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.773381,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"08119750-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3","object_type":"device","rebac_allow":false,"scope_allow":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":"08119750-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"08119750-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/fc18f746-de3d-4987-9d84-8ef8e13236c3/signaling 200 9ms","method":"POST","requestID":"08119750-8ba5-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"08136c10-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1599,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85f1447f-b0bf-468c-84eb-972949b67b2d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8be290e2-6191-4422-b5ca-160779ffaf32","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.3178022} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1599,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.006308,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/85f1447f-b0bf-468c-84eb-972949b67b2d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"08136c10-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/85f1447f-b0bf-468c-84eb-972949b67b2d","object_type":"device","rebac_allow":false,"scope_allow":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":"08136c10-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"08136c10-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/85f1447f-b0bf-468c-84eb-972949b67b2d/signaling 200 9ms","method":"POST","requestID":"08136c10-8ba5-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/85f1447f-b0bf-468c-84eb-972949b67b2d/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOX0.L_zQDdmNX2c5G1vM1KZoHqr26JguVwC5jD5BOC-zoQw","level":"info","message":"auth send jwt","requestID":"8f93a7a827ae1779c72f0424e8222b7c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8f93a7a827ae1779c72f0424e8222b7c","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd","requestID":"8f93a7a827ae1779c72f0424e8222b7c"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1600,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1600,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.152836,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"8f93a7a827ae1779c72f0424e8222b7c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072639,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOX0.L_zQDdmNX2c5G1vM1KZoHqr26JguVwC5jD5BOC-zoQw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8f93a7a827ae1779c72f0424e8222b7c","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd","requestID":"8f93a7a827ae1779c72f0424e8222b7c"} gateway-1 | {"time_local":"16/Oct/2024:09:57:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd HTTP/1.1","status": "200","body_bytes_sent":"1293","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8f93a7a827ae1779c72f0424e8222b7c"} experiment-1 | {"level":"info","message":"GET /experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd 200 14ms","method":"GET","requestID":"8f93a7a827ae1779c72f0424e8222b7c","responseTime":14,"status":200,"url":"/experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOX0.L_zQDdmNX2c5G1vM1KZoHqr26JguVwC5jD5BOC-zoQw","level":"info","message":"auth send jwt","requestID":"2e3f7a195cb986d1933ccc75ae74627e"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"2e3f7a195cb986d1933ccc75ae74627e","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd","requestID":"2e3f7a195cb986d1933ccc75ae74627e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1601,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1601,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.853598,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"2e3f7a195cb986d1933ccc75ae74627e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072639,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOX0.L_zQDdmNX2c5G1vM1KZoHqr26JguVwC5jD5BOC-zoQw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2e3f7a195cb986d1933ccc75ae74627e","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd"},"level":"info","message":"Attempting to finish experiment","requestID":"2e3f7a195cb986d1933ccc75ae74627e"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"081c1ea0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1602,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1602,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.710747,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/0db2d88b-1dd1-4280-8cc1-36cefd0ddd83","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"081c1ea0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/0db2d88b-1dd1-4280-8cc1-36cefd0ddd83","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072639,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOX0.L_zQDdmNX2c5G1vM1KZoHqr26JguVwC5jD5BOC-zoQw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"081c1ea0-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:57:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/c5759896-17e6-493d-8819-9112d20e319c?id=417e40a2-5259-45aa-9b77-cc32848d568d HTTP/1.1","status": "101","body_bytes_sent":"458","request_time":"0.156","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"6e4b649d1f6d49fce3cf5c81f2205423"} gateway-1 | {"time_local":"16/Oct/2024:09:57:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/c5759896-17e6-493d-8819-9112d20e319c?id=eb0a5210-dee2-4950-ac82-831147b69733 HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.156","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"7d8bf8ff837f94560fe9c66d76c47941"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"417e40a2-5259-45aa-9b77-cc32848d568d\" in room \"http://localhost/rooms/c5759896-17e6-493d-8819-9112d20e319c\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"417e40a2-5259-45aa-9b77-cc32848d568d\" from room \"http://localhost/rooms/c5759896-17e6-493d-8819-9112d20e319c\", code: 1006, reason: "} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"eb0a5210-dee2-4950-ac82-831147b69733\" in room \"http://localhost/rooms/c5759896-17e6-493d-8819-9112d20e319c\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"eb0a5210-dee2-4950-ac82-831147b69733\" from room \"http://localhost/rooms/c5759896-17e6-493d-8819-9112d20e319c\", code: 1006, reason: "} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/0db2d88b-1dd1-4280-8cc1-36cefd0ddd83' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/0db2d88b-1dd1-4280-8cc1-36cefd0ddd83' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"0db2d88b-1dd1-4280-8cc1-36cefd0ddd83","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"8d2bce51dfca72cea050492bee1cf5d7","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F0db2d88b-1dd1-4280-8cc1-36cefd0ddd83': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F0db2d88b-1dd1-4280-8cc1-36cefd0ddd83","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"6959bf28-1542-4dd0-a5f3-8da917d8b531","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.3903413} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"8d2bce51dfca72cea050492bee1cf5d7","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"99ee4ba59d1a90481b65f4cf080d2358","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6ff6cd06-d114-45ae-9ce5-d47197d89ef3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.3905432} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"99ee4ba59d1a90481b65f4cf080d2358","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":["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/fc18f746-de3d-4987-9d84-8ef8e13236c3"},{"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/85f1447f-b0bf-468c-84eb-972949b67b2d"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/0db2d88b-1dd1-4280-8cc1-36cefd0ddd83"}}},"level":"info","message":"received a callback","requestID":"8d2bce51dfca72cea050492bee1cf5d7"} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"081c1ea0-8ba5-11ef-a62f-5f7f958aa687","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":"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/fc18f746-de3d-4987-9d84-8ef8e13236c3"},{"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/85f1447f-b0bf-468c-84eb-972949b67b2d"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/0db2d88b-1dd1-4280-8cc1-36cefd0ddd83"}}},"level":"info","message":"received a callback","requestID":"99ee4ba59d1a90481b65f4cf080d2358"} device-1 | {"data":{"peerconnection":"0db2d88b-1dd1-4280-8cc1-36cefd0ddd83","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"081c1ea0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/0db2d88b-1dd1-4280-8cc1-36cefd0ddd83 204 40ms","method":"DELETE","requestID":"081c1ea0-8ba5-11ef-a62f-5f7f958aa687","responseTime":40,"status":204,"url":"/peerconnections/0db2d88b-1dd1-4280-8cc1-36cefd0ddd83"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd"},"level":"info","message":"Successfully finished experiment","requestID":"2e3f7a195cb986d1933ccc75ae74627e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"08256d70-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1603,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffc18f746-de3d-4987-9d84-8ef8e13236c3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"96c505a0-d306-4543-9054-4c89999f11bb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.4385355} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1603,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.161338,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"08256d70-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3","object_type":"device","rebac_allow":false,"scope_allow":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":"08256d70-8ba5-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"08256d70-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd9266276-b1c6-41b1-bf04-c7067c8c29fd': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd9266276-b1c6-41b1-bf04-c7067c8c29fd","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"2671b583-fc86-41b1-ad54-64d05f7ab082","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.4442768} device-1 | {"level":"info","message":"POST /devices/fc18f746-de3d-4987-9d84-8ef8e13236c3/signaling 200 13ms","method":"POST","requestID":"08256d70-8ba5-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3/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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e4f483bb-784e-46ae-b23a-850c7a1007c5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.4449558} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"2e3f7a195cb986d1933ccc75ae74627e","responseTime":17,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0827de70-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1604,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85f1447f-b0bf-468c-84eb-972949b67b2d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1c67153e-d3ec-43ed-905a-1d311307d0e4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.45415} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1604,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.581251,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/85f1447f-b0bf-468c-84eb-972949b67b2d","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0827de70-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/85f1447f-b0bf-468c-84eb-972949b67b2d","object_type":"device","rebac_allow":false,"scope_allow":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":"0827de70-8ba5-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0827de70-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/85f1447f-b0bf-468c-84eb-972949b67b2d/signaling 200 13ms","method":"POST","requestID":"0827de70-8ba5-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/85f1447f-b0bf-468c-84eb-972949b67b2d/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd","requestID":"2e3f7a195cb986d1933ccc75ae74627e"} gateway-1 | {"time_local":"16/Oct/2024:09:57:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd 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":"2e3f7a195cb986d1933ccc75ae74627e"} gateway-1 | {"time_local":"16/Oct/2024:09:57:19 +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.536","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"c7d40916ca66c9c7d716abb8545f8b6e"} experiment-1 | {"level":"info","message":"DELETE /experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd 204 149ms","method":"DELETE","requestID":"2e3f7a195cb986d1933ccc75ae74627e","responseTime":149,"status":204,"url":"/experiments/d9266276-b1c6-41b1-bf04-c7067c8c29fd"} gateway-1 | {"time_local":"16/Oct/2024:09:57:19 +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.521","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"cd4df47128a78ff4c01d2c3fdc8a7d37"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 116ms","method":"POST","requestID":"8d2bce51dfca72cea050492bee1cf5d7","responseTime":116,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.121","http_referrer":"","http_user_agent":"node-fetch","requestID":"8d2bce51dfca72cea050492bee1cf5d7"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 116ms","method":"POST","requestID":"99ee4ba59d1a90481b65f4cf080d2358","responseTime":116,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.122","http_referrer":"","http_user_agent":"node-fetch","requestID":"99ee4ba59d1a90481b65f4cf080d2358"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOX0.L_zQDdmNX2c5G1vM1KZoHqr26JguVwC5jD5BOC-zoQw","level":"info","message":"auth send jwt","requestID":"311f9e435d2680011d5857fc6dfd0be4"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"311f9e435d2680011d5857fc6dfd0be4","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"311f9e435d2680011d5857fc6dfd0be4"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/fc18f746-de3d-4987-9d84-8ef8e13236c3' closed"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1605,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1605,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.887554,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"311f9e435d2680011d5857fc6dfd0be4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072639,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOX0.L_zQDdmNX2c5G1vM1KZoHqr26JguVwC5jD5BOC-zoQw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"311f9e435d2680011d5857fc6dfd0be4","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/85f1447f-b0bf-468c-84eb-972949b67b2d' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fded92ad1-5a98-4a00-a2cb-684e529774ff","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"75d99377-073c-4db5-bdde-6a218e127991","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.5411} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"311f9e435d2680011d5857fc6dfd0be4","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"af29fdc3-8214-47cb-b1c1-24cdaf4d0982","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.5475512} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"311f9e435d2680011d5857fc6dfd0be4","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fded92ad1-5a98-4a00-a2cb-684e529774ff","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"cc0bd8e8-cd62-4a55-b190-dae0eff23fb3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.5584748} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"127da0b5-936b-4338-a2ba-98f6dd4fcb27","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.5587864} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"311f9e435d2680011d5857fc6dfd0be4","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fded92ad1-5a98-4a00-a2cb-684e529774ff","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fded92ad1-5a98-4a00-a2cb-684e529774ff","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:19.558435355Z"}]},"request_id":"29d7beeb-463d-4ae5-a7d2-4c1a0df79106","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.5636384} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"311f9e435d2680011d5857fc6dfd0be4","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"311f9e435d2680011d5857fc6dfd0be4"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.059","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"311f9e435d2680011d5857fc6dfd0be4"} device-1 | {"level":"info","message":"POST /devices? 201 52ms","method":"POST","requestID":"311f9e435d2680011d5857fc6dfd0be4","responseTime":52,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOX0.L_zQDdmNX2c5G1vM1KZoHqr26JguVwC5jD5BOC-zoQw","level":"info","message":"auth send jwt","requestID":"7c26f7d7ade70e9411209e5336c68096"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"7c26f7d7ade70e9411209e5336c68096","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"7c26f7d7ade70e9411209e5336c68096"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1606,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1606,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.998742,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:19Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"7c26f7d7ade70e9411209e5336c68096","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072639,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjYzOX0.L_zQDdmNX2c5G1vM1KZoHqr26JguVwC5jD5BOC-zoQw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7c26f7d7ade70e9411209e5336c68096","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e45875e-3bb2-4aed-a75d-5668fa3bc014","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"abc87415-00ff-4d7c-9e7d-6aaa462dfe79","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.5887492} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"7c26f7d7ade70e9411209e5336c68096","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5856246b-7957-4391-b3d2-527a24929ae0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.593497} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"7c26f7d7ade70e9411209e5336c68096","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e45875e-3bb2-4aed-a75d-5668fa3bc014","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"7a7613ce-04a6-4601-95de-661977f7b729","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.607421} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"af1d15bb-d9d9-4be5-8dcd-4a04a86d7262","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.6076393} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"7c26f7d7ade70e9411209e5336c68096","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e45875e-3bb2-4aed-a75d-5668fa3bc014","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e45875e-3bb2-4aed-a75d-5668fa3bc014","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:19.607381714Z"}]},"request_id":"1e237aa0-e5a0-4378-a6c0-2e8ae7d80800","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072639.612074} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7c26f7d7ade70e9411209e5336c68096","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"7c26f7d7ade70e9411209e5336c68096"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.047","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7c26f7d7ade70e9411209e5336c68096"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"7c26f7d7ade70e9411209e5336c68096","responseTime":43,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk","level":"info","message":"auth send jwt","requestID":"4d0e32e640a66e17b9c268f48de35ec5"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"4d0e32e640a66e17b9c268f48de35ec5","responseTime":4,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk","level":"info","message":"auth send jwt","requestID":"f63cc229f23dfe8c3b9736027a087d15"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"f63cc229f23dfe8c3b9736027a087d15","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"4d0e32e640a66e17b9c268f48de35ec5"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"f63cc229f23dfe8c3b9736027a087d15"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1607,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1607,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.715942,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1608,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"4d0e32e640a66e17b9c268f48de35ec5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072640,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4d0e32e640a66e17b9c268f48de35ec5","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1608,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.941372,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f63cc229f23dfe8c3b9736027a087d15","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072640,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f63cc229f23dfe8c3b9736027a087d15","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e45875e-3bb2-4aed-a75d-5668fa3bc014","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e45875e-3bb2-4aed-a75d-5668fa3bc014","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:19.607381714Z"}]},"request_id":"d7a06067-da5d-4cda-9604-58213a368ff4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.1030989} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"4d0e32e640a66e17b9c268f48de35ec5","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fded92ad1-5a98-4a00-a2cb-684e529774ff","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fded92ad1-5a98-4a00-a2cb-684e529774ff","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:19.558435355Z"}]},"request_id":"f94f6031-3ddb-42b4-a084-bad69c4a1bbe","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.1043983} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f63cc229f23dfe8c3b9736027a087d15","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ef5fe89f-965c-46f2-b52b-51b1f7b16215","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.1081748} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"4d0e32e640a66e17b9c268f48de35ec5","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6d36c69c-aa4d-4003-a2b1-371c58cbb494","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.1094322} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"f63cc229f23dfe8c3b9736027a087d15","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fded92ad1-5a98-4a00-a2cb-684e529774ff","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fded92ad1-5a98-4a00-a2cb-684e529774ff","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:19.558435355Z"}]},"request_id":"b1148b28-e026-4454-bdb9-bcc9001ce7ba","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.1149237} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f63cc229f23dfe8c3b9736027a087d15","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"f63cc229f23dfe8c3b9736027a087d15"} device-1 | {"level":"info","message":"PATCH /devices/ded92ad1-5a98-4a00-a2cb-684e529774ff 200 26ms","method":"PATCH","requestID":"f63cc229f23dfe8c3b9736027a087d15","responseTime":26,"status":200,"url":"/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff"} gateway-1 | {"time_local":"16/Oct/2024:09:57:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/ded92ad1-5a98-4a00-a2cb-684e529774ff HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.033","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"f63cc229f23dfe8c3b9736027a087d15"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk","level":"info","message":"auth send jwt","requestID":"0a14fb797fc4ecd98f9351f4283af30a"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"0a14fb797fc4ecd98f9351f4283af30a","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"0a14fb797fc4ecd98f9351f4283af30a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1609,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1609,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.66858,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0a14fb797fc4ecd98f9351f4283af30a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072640,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0a14fb797fc4ecd98f9351f4283af30a","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e45875e-3bb2-4aed-a75d-5668fa3bc014","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e45875e-3bb2-4aed-a75d-5668fa3bc014","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:19.607381714Z"}]},"request_id":"cd9cca8f-d78b-45c1-855b-135175198204","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.1242232} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"4d0e32e640a66e17b9c268f48de35ec5","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"4d0e32e640a66e17b9c268f48de35ec5"} device-1 | {"level":"info","message":"PATCH /devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014 200 40ms","method":"PATCH","requestID":"4d0e32e640a66e17b9c268f48de35ec5","responseTime":40,"status":200,"url":"/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014"} gateway-1 | {"time_local":"16/Oct/2024:09:57:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014 HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.045","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"4d0e32e640a66e17b9c268f48de35ec5"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk","level":"info","message":"auth send jwt","requestID":"3b160f8d42e2f58087f38ca76bc62bd7"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3b160f8d42e2f58087f38ca76bc62bd7","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"3b160f8d42e2f58087f38ca76bc62bd7"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1610,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1610,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.633598,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"3b160f8d42e2f58087f38ca76bc62bd7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072640,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3b160f8d42e2f58087f38ca76bc62bd7","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"0a14fb797fc4ecd98f9351f4283af30a"} device-1 | {"level":"info","message":"POST /devices/ded92ad1-5a98-4a00-a2cb-684e529774ff/websocket 200 19ms","method":"POST","requestID":"0a14fb797fc4ecd98f9351f4283af30a","responseTime":19,"status":200,"url":"/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:57:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/ded92ad1-5a98-4a00-a2cb-684e529774ff/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.10","requestID":"0a14fb797fc4ecd98f9351f4283af30a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"3b160f8d42e2f58087f38ca76bc62bd7"} gateway-1 | {"time_local":"16/Oct/2024:09:57:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014/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.10","requestID":"3b160f8d42e2f58087f38ca76bc62bd7"} device-1 | {"level":"info","message":"POST /devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014/websocket 200 15ms","method":"POST","requestID":"3b160f8d42e2f58087f38ca76bc62bd7","responseTime":15,"status":200,"url":"/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk","level":"info","message":"auth send jwt","requestID":"b58a83d7561fe9183446883199ea76a0"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b58a83d7561fe9183446883199ea76a0","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b58a83d7561fe9183446883199ea76a0"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1611,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1611,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.635759,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b58a83d7561fe9183446883199ea76a0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072640,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b58a83d7561fe9183446883199ea76a0","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fded92ad1-5a98-4a00-a2cb-684e529774ff","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fded92ad1-5a98-4a00-a2cb-684e529774ff","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:19.558435355Z"}]},"request_id":"9c45666d-135d-47ef-96af-ef91c93cf76e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.1790044} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b58a83d7561fe9183446883199ea76a0","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b58a83d7561fe9183446883199ea76a0"} gateway-1 | {"time_local":"16/Oct/2024:09:57:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/ded92ad1-5a98-4a00-a2cb-684e529774ff? 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":"b58a83d7561fe9183446883199ea76a0"} device-1 | {"level":"info","message":"GET /devices/ded92ad1-5a98-4a00-a2cb-684e529774ff? 200 13ms","method":"GET","requestID":"b58a83d7561fe9183446883199ea76a0","responseTime":13,"status":200,"url":"/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk","level":"info","message":"auth send jwt","requestID":"10e28453fc1c63924f187cecfa7e1f1a"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"10e28453fc1c63924f187cecfa7e1f1a","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"10e28453fc1c63924f187cecfa7e1f1a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1612,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1612,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.184061,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"10e28453fc1c63924f187cecfa7e1f1a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072640,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"10e28453fc1c63924f187cecfa7e1f1a","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e45875e-3bb2-4aed-a75d-5668fa3bc014","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e45875e-3bb2-4aed-a75d-5668fa3bc014","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:19.607381714Z"}]},"request_id":"0d75d007-f5a6-4fb1-bf5f-4d71026db77c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.1970992} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"10e28453fc1c63924f187cecfa7e1f1a","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"10e28453fc1c63924f187cecfa7e1f1a"} device-1 | {"level":"info","message":"GET /devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014? 200 14ms","method":"GET","requestID":"10e28453fc1c63924f187cecfa7e1f1a","responseTime":14,"status":200,"url":"/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014?"} gateway-1 | {"time_local":"16/Oct/2024:09:57:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014? 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":"10e28453fc1c63924f187cecfa7e1f1a"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk","level":"info","message":"auth send jwt","requestID":"c08a73ae422756801e9999ed2666b354"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c08a73ae422756801e9999ed2666b354","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"c08a73ae422756801e9999ed2666b354"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1613,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1613,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.848212,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"c08a73ae422756801e9999ed2666b354","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072640,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c08a73ae422756801e9999ed2666b354","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/75992112-b5f9-4529-9a38-fe28b09de98f"},"level":"info","message":"Attempting to run experiment","requestID":"c08a73ae422756801e9999ed2666b354"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/75992112-b5f9-4529-9a38-fe28b09de98f"},"level":"info","message":"Attempting to book experiment","requestID":"c08a73ae422756801e9999ed2666b354"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/75992112-b5f9-4529-9a38-fe28b09de98f"},"level":"info","message":"Successfully booked experiment","requestID":"c08a73ae422756801e9999ed2666b354"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"08a01bb0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"08a042c0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1614,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1614,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.3119,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1615,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"08a01bb0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072640,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"08a01bb0-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1615,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.796654,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"08a042c0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072640,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"08a042c0-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fded92ad1-5a98-4a00-a2cb-684e529774ff","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fded92ad1-5a98-4a00-a2cb-684e529774ff","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:19.558435355Z"}]},"request_id":"4a3111c2-4a31-4acf-b3bc-0a73b40842a0","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.243984} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"08a01bb0-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e45875e-3bb2-4aed-a75d-5668fa3bc014","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e45875e-3bb2-4aed-a75d-5668fa3bc014","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:19.607381714Z"}]},"request_id":"1ef82864-87db-4764-812b-a072745bd64a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.2445521} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"08a042c0-8ba5-11ef-a62f-5f7f958aa687","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"08a01bb0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/ded92ad1-5a98-4a00-a2cb-684e529774ff? 200 15ms","method":"GET","requestID":"08a01bb0-8ba5-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"08a042c0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014? 200 15ms","method":"GET","requestID":"08a042c0-8ba5-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/75992112-b5f9-4529-9a38-fe28b09de98f"},"level":"info","message":"Setting up experiment","requestID":"c08a73ae422756801e9999ed2666b354"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/75992112-b5f9-4529-9a38-fe28b09de98f"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"c08a73ae422756801e9999ed2666b354"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/75992112-b5f9-4529-9a38-fe28b09de98f"},"level":"info","message":"Successfully locked booking for experiment","requestID":"c08a73ae422756801e9999ed2666b354"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/75992112-b5f9-4529-9a38-fe28b09de98f"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"c08a73ae422756801e9999ed2666b354"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/75992112-b5f9-4529-9a38-fe28b09de98f"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"c08a73ae422756801e9999ed2666b354"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/75992112-b5f9-4529-9a38-fe28b09de98f"},"level":"info","message":"Attempting to update booking for experiment","requestID":"c08a73ae422756801e9999ed2666b354"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/75992112-b5f9-4529-9a38-fe28b09de98f"},"level":"info","message":"Successfully updated booking for experiment","requestID":"c08a73ae422756801e9999ed2666b354"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/75992112-b5f9-4529-9a38-fe28b09de98f"},"level":"info","message":"Successfully set up experiment","requestID":"c08a73ae422756801e9999ed2666b354"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"08aa06c0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"08aa7bf0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1616,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"08aaca10-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1616,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.3196,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"08aa06c0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072640,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"08aa06c0-8ba5-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1617,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1617,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.991867,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/75992112-b5f9-4529-9a38-fe28b09de98f"},"level":"info","message":"Successfully running experiment","requestID":"c08a73ae422756801e9999ed2666b354"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"08aa7bf0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072640,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"08aa7bf0-8ba5-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1618,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1618,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.484161,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fded92ad1-5a98-4a00-a2cb-684e529774ff","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cfedb700-8590-49ed-a484-99f42e6f87c7","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.3155828} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fded92ad1-5a98-4a00-a2cb-684e529774ff","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fded92ad1-5a98-4a00-a2cb-684e529774ff","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:19.558435355Z"}]},"request_id":"f9dc2dfa-b55a-461b-8ab8-00d859d26cf1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.317589} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"08aaca10-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff","object_type":"device","rebac_allow":false,"scope_allow":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":"08aaca10-8ba5-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"08aa06c0-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e45875e-3bb2-4aed-a75d-5668fa3bc014","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e45875e-3bb2-4aed-a75d-5668fa3bc014","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:19.607381714Z"}]},"request_id":"85e22abf-6cc3-48f2-8f21-06bf1c913dc6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.320902} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"08aa7bf0-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"08aaca10-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ded92ad1-5a98-4a00-a2cb-684e529774ff/signaling 200 23ms","method":"POST","requestID":"08aaca10-8ba5-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"08aa06c0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/ded92ad1-5a98-4a00-a2cb-684e529774ff? 200 29ms","method":"GET","requestID":"08aa06c0-8ba5-11ef-a62f-5f7f958aa687","responseTime":29,"status":200,"url":"/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"08aa7bf0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014? 200 27ms","method":"GET","requestID":"08aa7bf0-8ba5-11ef-a62f-5f7f958aa687","responseTime":27,"status":200,"url":"/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"08ae9aa0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"08aee8c0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1619,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1620,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1619,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.521867,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e45875e-3bb2-4aed-a75d-5668fa3bc014","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b635e87f-0994-44ec-bde7-d66e62584214","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.3367224} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"08ae9aa0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014","object_type":"device","rebac_allow":false,"scope_allow":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":"08ae9aa0-8ba5-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1620,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.818409,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fded92ad1-5a98-4a00-a2cb-684e529774ff","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"db180c87-b3bd-4e23-bfa8-41be48476c43","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.339078} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F75992112-b5f9-4529-9a38-fe28b09de98f#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F75992112-b5f9-4529-9a38-fe28b09de98f","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"bca4b61b-f36a-4621-995c-b61c50c21f34","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.339203} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"78c1cf8c-359d-4f88-91ea-c625b31e8dd5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.3395758} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"08aee8c0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff","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":"08ae9aa0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"08aee8c0-8ba5-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"POST /devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014/signaling 200 13ms","method":"POST","requestID":"08ae9aa0-8ba5-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 27ms","method":"POST","requestID":"c08a73ae422756801e9999ed2666b354","responseTime":27,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"08aee8c0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ded92ad1-5a98-4a00-a2cb-684e529774ff/signaling 200 15ms","method":"POST","requestID":"08aee8c0-8ba5-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"08b1a7e0-8ba5-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/75992112-b5f9-4529-9a38-fe28b09de98f","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"c08a73ae422756801e9999ed2666b354"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1621,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} gateway-1 | {"time_local":"16/Oct/2024:09:57:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1220","request_time":"0.151","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c08a73ae422756801e9999ed2666b354"} experiment-1 | {"level":"info","message":"POST /experiments? 201 149ms","method":"POST","requestID":"c08a73ae422756801e9999ed2666b354","responseTime":149,"status":201,"url":"/experiments?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e45875e-3bb2-4aed-a75d-5668fa3bc014","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"974c43e1-cec7-4885-8b0e-66effc3701c6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.3560498} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1621,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.850313,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"08b1a7e0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014","object_type":"device","rebac_allow":false,"scope_allow":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":"08b1a7e0-8ba5-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk","level":"info","message":"auth send jwt","requestID":"a576bb5f0167b167950fafe1e30f2672"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"a576bb5f0167b167950fafe1e30f2672","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a576bb5f0167b167950fafe1e30f2672"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"08b1a7e0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014/signaling 200 13ms","method":"POST","requestID":"08b1a7e0-8ba5-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014/signaling"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1622,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/75992112-b5f9-4529-9a38-fe28b09de98f"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"c08a73ae422756801e9999ed2666b354"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1622,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.302699,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"08b418e0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a576bb5f0167b167950fafe1e30f2672","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072640,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a576bb5f0167b167950fafe1e30f2672","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"08b43ff0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1623,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1623,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.039612,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1624,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"08b418e0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072640,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"08b418e0-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1624,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.874742,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"08b43ff0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072640,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"08b43ff0-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fded92ad1-5a98-4a00-a2cb-684e529774ff","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fded92ad1-5a98-4a00-a2cb-684e529774ff","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:19.558435355Z"}]},"request_id":"46202bf2-59f7-49da-9b72-9dc26c49c22c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.3725061} authorization-1 | {"level":"info","message":"POST /relations/query 200 9ms","method":"POST","requestID":"a576bb5f0167b167950fafe1e30f2672","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fded92ad1-5a98-4a00-a2cb-684e529774ff","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fded92ad1-5a98-4a00-a2cb-684e529774ff","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:19.558435355Z"}]},"request_id":"928f8137-68b3-488a-9901-f842b6528738","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.38171} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a576bb5f0167b167950fafe1e30f2672"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"08b418e0-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e45875e-3bb2-4aed-a75d-5668fa3bc014","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e45875e-3bb2-4aed-a75d-5668fa3bc014","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:19.607381714Z"}]},"request_id":"1d13596c-e8dc-48ba-9da5-f94f329f423f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.3829463} gateway-1 | {"time_local":"16/Oct/2024:09:57:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/ded92ad1-5a98-4a00-a2cb-684e529774ff? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.028","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a576bb5f0167b167950fafe1e30f2672"} device-1 | {"level":"info","message":"GET /devices/ded92ad1-5a98-4a00-a2cb-684e529774ff? 200 22ms","method":"GET","requestID":"a576bb5f0167b167950fafe1e30f2672","responseTime":22,"status":200,"url":"/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff?"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"08b43ff0-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk","level":"info","message":"auth send jwt","requestID":"133c51ee8d6ca4e806e811d017d488f5"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"08b418e0-8ba5-11ef-a62f-5f7f958aa687"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"133c51ee8d6ca4e806e811d017d488f5","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"GET /devices/ded92ad1-5a98-4a00-a2cb-684e529774ff? 200 23ms","method":"GET","requestID":"08b418e0-8ba5-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"08b43ff0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014? 200 23ms","method":"GET","requestID":"08b43ff0-8ba5-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/75992112-b5f9-4529-9a38-fe28b09de98f"},"level":"info","message":"Building connection plan","requestID":"c08a73ae422756801e9999ed2666b354"} 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":"f6a940de-5473-4e41-b420-6a5b9901629a"},{"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":"5ef9ef81-f195-44e5-9181-5c38de3d7a55"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"e3c15178-b85a-4e65-bbd0-b965247c0e08"}]},"level":"info","message":"Built pairwise service configurations","requestID":"c08a73ae422756801e9999ed2666b354"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"133c51ee8d6ca4e806e811d017d488f5"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"08b83790-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"08b83790-8ba5-11ef-a042-213954f0282b"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1625,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1625,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.949936,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} forwarding-1 | {"level":"info","message":"POST /rooms 201 2ms","method":"POST","requestID":"08b83790-8ba5-11ef-a042-213954f0282b","responseTime":2,"status":201,"url":"/rooms"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"133c51ee8d6ca4e806e811d017d488f5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072640,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"133c51ee8d6ca4e806e811d017d488f5","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/18b7f6f9-d2ea-40bf-8301-1edfb8385dce?id=2d7a9aee-b89e-4570-9406-aff656a805ba","ws://localhost/rooms/18b7f6f9-d2ea-40bf-8301-1edfb8385dce?id=e0abb9b0-b869-4d18-9d9e-a8bfc8d7b43c"]},"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/8e45875e-3bb2-4aed-a75d-5668fa3bc014"},{"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/ded92ad1-5a98-4a00-a2cb-684e529774ff"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"c08a73ae422756801e9999ed2666b354"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"08b921f0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e45875e-3bb2-4aed-a75d-5668fa3bc014","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e45875e-3bb2-4aed-a75d-5668fa3bc014","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:19.607381714Z"}]},"request_id":"d760b4e8-b942-4f14-9dea-45342a0a9cff","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.400956} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"133c51ee8d6ca4e806e811d017d488f5","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1626,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1626,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.859178,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"08b921f0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072640,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"08b921f0-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"133c51ee8d6ca4e806e811d017d488f5"} gateway-1 | {"time_local":"16/Oct/2024:09:57:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014? 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":"133c51ee8d6ca4e806e811d017d488f5"} device-1 | {"level":"info","message":"GET /devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014? 200 16ms","method":"GET","requestID":"133c51ee8d6ca4e806e811d017d488f5","responseTime":16,"status":200,"url":"/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"0d291020-2334-48de-abb2-1d35899d1218","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.4130669} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fbac6204-533c-43b6-9aee-bdecd808b709","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.4132211} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"08b921f0-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"08b921f0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"08b921f0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/2ff0e9a0-12a8-4d7c-a860-4cead5bc77ad'","requestID":"08b921f0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/2ff0e9a0-12a8-4d7c-a860-4cead5bc77ad'","requestID":"08b921f0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"08b921f0-8ba5-11ef-a62f-5f7f958aa687"} 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":"08b921f0-8ba5-11ef-a62f-5f7f958aa687","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":"08b921f0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/2ff0e9a0-12a8-4d7c-a860-4cead5bc77ad' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"2ff0e9a0-12a8-4d7c-a860-4cead5bc77ad","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"08bf3c70-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"2d7a9aee-b89e-4570-9406-aff656a805ba\" in room \"http://localhost/rooms/18b7f6f9-d2ea-40bf-8301-1edfb8385dce\"","requestID":"08bf3c70-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"08bf3c70-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"08bf6380-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"e0abb9b0-b869-4d18-9d9e-a8bfc8d7b43c\" in room \"http://localhost/rooms/18b7f6f9-d2ea-40bf-8301-1edfb8385dce\"","requestID":"08bf6380-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"08bf6380-8ba5-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"2d7a9aee-b89e-4570-9406-aff656a805ba\" in room \"http://localhost/rooms/18b7f6f9-d2ea-40bf-8301-1edfb8385dce\""} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"99a9c106b2eaaa2eea3872385522128c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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 \"2d7a9aee-b89e-4570-9406-aff656a805ba\" in room \"http://localhost/rooms/18b7f6f9-d2ea-40bf-8301-1edfb8385dce\""} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"99a9c106b2eaaa2eea3872385522128c","responseTime":1,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"2d7a9aee-b89e-4570-9406-aff656a805ba\" in room \"http://localhost/rooms/18b7f6f9-d2ea-40bf-8301-1edfb8385dce\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"2d7a9aee-b89e-4570-9406-aff656a805ba\" in room \"http://localhost/rooms/18b7f6f9-d2ea-40bf-8301-1edfb8385dce\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"2d7a9aee-b89e-4570-9406-aff656a805ba\" in room \"http://localhost/rooms/18b7f6f9-d2ea-40bf-8301-1edfb8385dce\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"2d7a9aee-b89e-4570-9406-aff656a805ba\" in room \"http://localhost/rooms/18b7f6f9-d2ea-40bf-8301-1edfb8385dce\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"2d7a9aee-b89e-4570-9406-aff656a805ba\" in room \"http://localhost/rooms/18b7f6f9-d2ea-40bf-8301-1edfb8385dce\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"2d7a9aee-b89e-4570-9406-aff656a805ba\" in room \"http://localhost/rooms/18b7f6f9-d2ea-40bf-8301-1edfb8385dce\""} 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/8e45875e-3bb2-4aed-a75d-5668fa3bc014"},{"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/ded92ad1-5a98-4a00-a2cb-684e529774ff"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/2ff0e9a0-12a8-4d7c-a860-4cead5bc77ad"}}},"level":"info","message":"received a callback","requestID":"99a9c106b2eaaa2eea3872385522128c"} device-1 | {"data":{"peerconnection":"2ff0e9a0-12a8-4d7c-a860-4cead5bc77ad","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 9ms","method":"POST","requestID":"99a9c106b2eaaa2eea3872385522128c","responseTime":9,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57:20 +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":"99a9c106b2eaaa2eea3872385522128c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/75992112-b5f9-4529-9a38-fe28b09de98f"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"c08a73ae422756801e9999ed2666b354"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"08c35b20-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"data":{"peerconnection":"2ff0e9a0-12a8-4d7c-a860-4cead5bc77ad","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1627,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fded92ad1-5a98-4a00-a2cb-684e529774ff","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"850e61fe-aaeb-445d-875c-bfe2184024d9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.4710608} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1627,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.611002,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"08c35b20-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff","object_type":"device","rebac_allow":false,"scope_allow":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":"08c35b20-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"08c35b20-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ded92ad1-5a98-4a00-a2cb-684e529774ff/signaling 200 15ms","method":"POST","requestID":"08c35b20-8ba5-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff/signaling"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/2ff0e9a0-12a8-4d7c-a860-4cead5bc77ad' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"2ff0e9a0-12a8-4d7c-a860-4cead5bc77ad","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"08c5f330-8ba5-11ef-a62f-5f7f958aa687"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b9383cfbdd31caf25c497a10fc2b9447","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"b9383cfbdd31caf25c497a10fc2b9447","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/8e45875e-3bb2-4aed-a75d-5668fa3bc014"},{"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/ded92ad1-5a98-4a00-a2cb-684e529774ff"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/2ff0e9a0-12a8-4d7c-a860-4cead5bc77ad"}}},"level":"info","message":"received a callback","requestID":"b9383cfbdd31caf25c497a10fc2b9447"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1628,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e45875e-3bb2-4aed-a75d-5668fa3bc014","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2a1033f0-b55b-4ba2-83ae-b88bd6dd3d1b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.488163} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1628,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.704504,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"08c5f330-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014","object_type":"device","rebac_allow":false,"scope_allow":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":"08c5f330-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"08c704a0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1629,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F2ff0e9a0-12a8-4d7c-a860-4cead5bc77ad","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9d3559ea-a19c-481a-91a9-95259c7f3d19","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.4949162} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"08c5f330-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1629,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.443725,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} device-1 | {"level":"info","message":"POST /devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014/signaling 200 12ms","method":"POST","requestID":"08c5f330-8ba5-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014/signaling"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/2ff0e9a0-12a8-4d7c-a860-4cead5bc77ad","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"08c704a0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/2ff0e9a0-12a8-4d7c-a860-4cead5bc77ad","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":"08c704a0-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"08c704a0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/2ff0e9a0-12a8-4d7c-a860-4cead5bc77ad 200 8ms","method":"GET","requestID":"08c704a0-8ba5-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/peerconnections/2ff0e9a0-12a8-4d7c-a860-4cead5bc77ad"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 25ms","method":"POST","requestID":"b9383cfbdd31caf25c497a10fc2b9447","responseTime":25,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57:20 +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":"b9383cfbdd31caf25c497a10fc2b9447"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"08ca38f0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1630,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e45875e-3bb2-4aed-a75d-5668fa3bc014","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"143a9c6e-e9ca-4951-880b-9615c510a8f3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.5155315} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1630,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.862436,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"08ca38f0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014","object_type":"device","rebac_allow":false,"scope_allow":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":"08ca38f0-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"08ca38f0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014/signaling 200 8ms","method":"POST","requestID":"08ca38f0-8ba5-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"08cbbf90-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1631,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fded92ad1-5a98-4a00-a2cb-684e529774ff","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ed0f1a5b-0b8f-4ebe-942f-106d7aac3ded","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.5249023} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1631,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.048277,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"08cbbf90-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff","object_type":"device","rebac_allow":false,"scope_allow":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":"08cbbf90-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"08cbbf90-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ded92ad1-5a98-4a00-a2cb-684e529774ff/signaling 200 7ms","method":"POST","requestID":"08cbbf90-8ba5-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk","level":"info","message":"auth send jwt","requestID":"758b49f27ad86acbc0f2b7dfa3e12e6e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"758b49f27ad86acbc0f2b7dfa3e12e6e","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/75992112-b5f9-4529-9a38-fe28b09de98f","requestID":"758b49f27ad86acbc0f2b7dfa3e12e6e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1632,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1632,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.91846,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/75992112-b5f9-4529-9a38-fe28b09de98f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"758b49f27ad86acbc0f2b7dfa3e12e6e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/75992112-b5f9-4529-9a38-fe28b09de98f","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072640,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"758b49f27ad86acbc0f2b7dfa3e12e6e","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/75992112-b5f9-4529-9a38-fe28b09de98f","requestID":"758b49f27ad86acbc0f2b7dfa3e12e6e"} gateway-1 | {"time_local":"16/Oct/2024:09:57:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/75992112-b5f9-4529-9a38-fe28b09de98f HTTP/1.1","status": "200","body_bytes_sent":"1293","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"758b49f27ad86acbc0f2b7dfa3e12e6e"} experiment-1 | {"level":"info","message":"GET /experiments/75992112-b5f9-4529-9a38-fe28b09de98f 200 11ms","method":"GET","requestID":"758b49f27ad86acbc0f2b7dfa3e12e6e","responseTime":11,"status":200,"url":"/experiments/75992112-b5f9-4529-9a38-fe28b09de98f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk","level":"info","message":"auth send jwt","requestID":"9184bdca5c6bfeea9bfb10cd641da520"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"9184bdca5c6bfeea9bfb10cd641da520","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/75992112-b5f9-4529-9a38-fe28b09de98f","requestID":"9184bdca5c6bfeea9bfb10cd641da520"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1633,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1633,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.862584,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/75992112-b5f9-4529-9a38-fe28b09de98f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"9184bdca5c6bfeea9bfb10cd641da520","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/75992112-b5f9-4529-9a38-fe28b09de98f","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072640,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9184bdca5c6bfeea9bfb10cd641da520","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/75992112-b5f9-4529-9a38-fe28b09de98f"},"level":"info","message":"Attempting to finish experiment","requestID":"9184bdca5c6bfeea9bfb10cd641da520"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"08d47220-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1634,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1634,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.955838,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/2ff0e9a0-12a8-4d7c-a860-4cead5bc77ad","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"08d47220-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/2ff0e9a0-12a8-4d7c-a860-4cead5bc77ad","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072640,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"08d47220-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"16/Oct/2024:09:57:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/18b7f6f9-d2ea-40bf-8301-1edfb8385dce?id=2d7a9aee-b89e-4570-9406-aff656a805ba HTTP/1.1","status": "101","body_bytes_sent":"916","request_time":"0.154","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"6682f32871a037db8f1831801dd113fa"} gateway-1 | {"time_local":"16/Oct/2024:09:57:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/18b7f6f9-d2ea-40bf-8301-1edfb8385dce?id=e0abb9b0-b869-4d18-9d9e-a8bfc8d7b43c HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.155","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"b8dacdc3e2475fe5f0ead38a42b13639"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"2d7a9aee-b89e-4570-9406-aff656a805ba\" in room \"http://localhost/rooms/18b7f6f9-d2ea-40bf-8301-1edfb8385dce\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"2d7a9aee-b89e-4570-9406-aff656a805ba\" from room \"http://localhost/rooms/18b7f6f9-d2ea-40bf-8301-1edfb8385dce\", code: 1006, reason: "} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"e0abb9b0-b869-4d18-9d9e-a8bfc8d7b43c\" in room \"http://localhost/rooms/18b7f6f9-d2ea-40bf-8301-1edfb8385dce\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"e0abb9b0-b869-4d18-9d9e-a8bfc8d7b43c\" from room \"http://localhost/rooms/18b7f6f9-d2ea-40bf-8301-1edfb8385dce\", code: 1006, reason: "} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/2ff0e9a0-12a8-4d7c-a860-4cead5bc77ad' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/2ff0e9a0-12a8-4d7c-a860-4cead5bc77ad' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"2ff0e9a0-12a8-4d7c-a860-4cead5bc77ad","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F2ff0e9a0-12a8-4d7c-a860-4cead5bc77ad': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F2ff0e9a0-12a8-4d7c-a860-4cead5bc77ad","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"a13bf12d-6ef8-4f5f-9767-2d741d16c373","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.5975935} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9b3ad379ee2df885ccd914e0d1528fa8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"9b3ad379ee2df885ccd914e0d1528fa8","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6539f5df-39e9-4000-955b-7b69d077f82a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.5979464} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"315059d87eba1eecccc930351f62bac2","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"08d47220-8ba5-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"315059d87eba1eecccc930351f62bac2","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":["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/8e45875e-3bb2-4aed-a75d-5668fa3bc014"},{"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/ded92ad1-5a98-4a00-a2cb-684e529774ff"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/2ff0e9a0-12a8-4d7c-a860-4cead5bc77ad"}}},"level":"info","message":"received a callback","requestID":"9b3ad379ee2df885ccd914e0d1528fa8"} 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":"closed","url":"http://localhost/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014"},{"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/ded92ad1-5a98-4a00-a2cb-684e529774ff"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/2ff0e9a0-12a8-4d7c-a860-4cead5bc77ad"}}},"level":"info","message":"received a callback","requestID":"315059d87eba1eecccc930351f62bac2"} device-1 | {"data":{"peerconnection":"2ff0e9a0-12a8-4d7c-a860-4cead5bc77ad","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"08d47220-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/2ff0e9a0-12a8-4d7c-a860-4cead5bc77ad 204 40ms","method":"DELETE","requestID":"08d47220-8ba5-11ef-a62f-5f7f958aa687","responseTime":40,"status":204,"url":"/peerconnections/2ff0e9a0-12a8-4d7c-a860-4cead5bc77ad"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/75992112-b5f9-4529-9a38-fe28b09de98f"},"level":"info","message":"Successfully finished experiment","requestID":"9184bdca5c6bfeea9bfb10cd641da520"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"08dd72d0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1635,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e45875e-3bb2-4aed-a75d-5668fa3bc014","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fd29198f-3e28-4732-b319-617061b71108","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.643239} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1635,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.222508,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"08dd72d0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014","object_type":"device","rebac_allow":false,"scope_allow":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":"08dd72d0-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"08dd72d0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014/signaling 200 11ms","method":"POST","requestID":"08dd72d0-8ba5-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/8e45875e-3bb2-4aed-a75d-5668fa3bc014/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F75992112-b5f9-4529-9a38-fe28b09de98f': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F75992112-b5f9-4529-9a38-fe28b09de98f","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"7ea741e8-6bb4-475d-8670-2534bd3509e4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.6498282} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"08df6ea0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2681aa7f-2820-491f-bed9-b0cc5d27c9ef","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.6502306} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"9184bdca5c6bfeea9bfb10cd641da520","responseTime":18,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1636,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fded92ad1-5a98-4a00-a2cb-684e529774ff","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6e2e329b-44fc-42ac-a53c-3530786f52c3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.6545556} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1636,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.498651,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"08df6ea0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff","object_type":"device","rebac_allow":false,"scope_allow":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":"08df6ea0-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"08df6ea0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/ded92ad1-5a98-4a00-a2cb-684e529774ff/signaling 200 9ms","method":"POST","requestID":"08df6ea0-8ba5-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/ded92ad1-5a98-4a00-a2cb-684e529774ff/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/75992112-b5f9-4529-9a38-fe28b09de98f","requestID":"9184bdca5c6bfeea9bfb10cd641da520"} gateway-1 | {"time_local":"16/Oct/2024:09:57:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/75992112-b5f9-4529-9a38-fe28b09de98f 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":"9184bdca5c6bfeea9bfb10cd641da520"} experiment-1 | {"level":"info","message":"DELETE /experiments/75992112-b5f9-4529-9a38-fe28b09de98f 204 147ms","method":"DELETE","requestID":"9184bdca5c6bfeea9bfb10cd641da520","responseTime":147,"status":204,"url":"/experiments/75992112-b5f9-4529-9a38-fe28b09de98f"} gateway-1 | {"time_local":"16/Oct/2024:09:57:20 +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.563","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"fc9b4a4af41662e910775905a70d5626"} gateway-1 | {"time_local":"16/Oct/2024:09:57:20 +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.572","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.10","requestID":"0b3d34cfb89a145bd0da48d254365e32"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 115ms","method":"POST","requestID":"9b3ad379ee2df885ccd914e0d1528fa8","responseTime":115,"status":200,"url":"/callbacks/experiment"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 115ms","method":"POST","requestID":"315059d87eba1eecccc930351f62bac2","responseTime":115,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57:20 +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":"315059d87eba1eecccc930351f62bac2"} gateway-1 | {"time_local":"16/Oct/2024:09:57:20 +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":"9b3ad379ee2df885ccd914e0d1528fa8"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk","level":"info","message":"auth send jwt","requestID":"5b78d7bbd699338f045c95fcd1d271e2"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"5b78d7bbd699338f045c95fcd1d271e2","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/ded92ad1-5a98-4a00-a2cb-684e529774ff' closed"} device-1 | {"level":"info","message":"postDevices called","requestID":"5b78d7bbd699338f045c95fcd1d271e2"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1637,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1637,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.174657,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"5b78d7bbd699338f045c95fcd1d271e2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072640,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5b78d7bbd699338f045c95fcd1d271e2","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/8e45875e-3bb2-4aed-a75d-5668fa3bc014' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0fe7aafb-f643-4661-ab26-00232a40e35a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"7d984cbe-c152-45e1-a235-360ab122e119","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.741369} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5b78d7bbd699338f045c95fcd1d271e2","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c2864e1d-89db-4fb3-92b7-fbb9ac331fec","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.747304} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"5b78d7bbd699338f045c95fcd1d271e2","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0fe7aafb-f643-4661-ab26-00232a40e35a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"88e31792-4f94-4d3e-8f50-27746355353f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.758553} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c7a3239b-cd9f-4c69-b076-762bc9e088da","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.7586563} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"5b78d7bbd699338f045c95fcd1d271e2","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0fe7aafb-f643-4661-ab26-00232a40e35a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0fe7aafb-f643-4661-ab26-00232a40e35a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:20.758495186Z"}]},"request_id":"f64831f1-5d27-426b-b951-1d365c682f4b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.7643487} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5b78d7bbd699338f045c95fcd1d271e2","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"5b78d7bbd699338f045c95fcd1d271e2"} gateway-1 | {"time_local":"16/Oct/2024:09:57:20 +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":"5b78d7bbd699338f045c95fcd1d271e2"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"5b78d7bbd699338f045c95fcd1d271e2","responseTime":45,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk","level":"info","message":"auth send jwt","requestID":"653a8cc2d99fb77a430d7d4261a07865"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"653a8cc2d99fb77a430d7d4261a07865","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"653a8cc2d99fb77a430d7d4261a07865"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1638,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1638,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.813612,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:20Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"653a8cc2d99fb77a430d7d4261a07865","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072640,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0MH0.6NbO1qdpw67kEhvMmonJ_o6t6wMOI0OerTztvtgZCGk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"653a8cc2d99fb77a430d7d4261a07865","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F12af625f-9f5c-4733-b964-549b672aa5b7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"9feb346e-b5dc-4a00-9d4f-9eceef1e9d67","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.7884486} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"653a8cc2d99fb77a430d7d4261a07865","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"331c5bb5-0c3a-43d7-8418-ceb24946d471","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.7937636} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"653a8cc2d99fb77a430d7d4261a07865","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F12af625f-9f5c-4733-b964-549b672aa5b7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"823ecfd6-0a5a-45d9-9a8b-8527c1154b2f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.8086462} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f2dc4db7-806c-408b-949b-9dd04cf4819e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.8088372} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"653a8cc2d99fb77a430d7d4261a07865","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F12af625f-9f5c-4733-b964-549b672aa5b7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F12af625f-9f5c-4733-b964-549b672aa5b7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:20.808591882Z"}]},"request_id":"6ef924d2-d444-4c62-9ddb-801494dff78b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072640.8132958} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"653a8cc2d99fb77a430d7d4261a07865","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"653a8cc2d99fb77a430d7d4261a07865"} gateway-1 | {"time_local":"16/Oct/2024:09:57:20 +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":"653a8cc2d99fb77a430d7d4261a07865"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"653a8cc2d99fb77a430d7d4261a07865","responseTime":43,"status":201,"url":"/devices?"} forwarding-1 | {"level":"info","message":"Participant \"13dc995c-747c-4491-a752-6ad052621a7c\" in room \"http://localhost/rooms/c051b74f-8b53-4a76-8dfc-76f6c8ea3da4\" did not answer hearbeat check, closing connection","requestID":"e5aa37d0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Participant \"751d37ad-b0ec-4452-9519-91e6c40158db\" in room \"http://localhost/rooms/c051b74f-8b53-4a76-8dfc-76f6c8ea3da4\" did not answer hearbeat check, closing connection","requestID":"e5aa85f0-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6a0c96b81e1661fac7aabe5d49d79b3e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"6a0c96b81e1661fac7aabe5d49d79b3e","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:57:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/12af625f-9f5c-4733-b964-549b672aa5b7/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":"6a0c96b81e1661fac7aabe5d49d79b3e"} device-1 | {"level":"info","message":"OPTIONS /devices/12af625f-9f5c-4733-b964-549b672aa5b7/websocket 200 1ms","method":"OPTIONS","requestID":"6a0c96b81e1661fac7aabe5d49d79b3e","responseTime":1,"status":200,"url":"/devices/12af625f-9f5c-4733-b964-549b672aa5b7/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0Mn0.k8zDlVDRHSsKIDIeA9hZ_f2Myt0lRYKTmBlrrkmNPKc","level":"info","message":"auth send jwt","requestID":"9ab87a9e88137dad55624a03529dd322"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"9ab87a9e88137dad55624a03529dd322","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"9ab87a9e88137dad55624a03529dd322"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"45ae5ba884944e2bed9d7df669e79c7a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"45ae5ba884944e2bed9d7df669e79c7a","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:57:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/0fe7aafb-f643-4661-ab26-00232a40e35a/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","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":"45ae5ba884944e2bed9d7df669e79c7a"} device-1 | {"level":"info","message":"OPTIONS /devices/0fe7aafb-f643-4661-ab26-00232a40e35a/websocket 200 1ms","method":"OPTIONS","requestID":"45ae5ba884944e2bed9d7df669e79c7a","responseTime":1,"status":200,"url":"/devices/0fe7aafb-f643-4661-ab26-00232a40e35a/websocket"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1639,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:22Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1639,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.571129,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:22Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/12af625f-9f5c-4733-b964-549b672aa5b7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"9ab87a9e88137dad55624a03529dd322","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/12af625f-9f5c-4733-b964-549b672aa5b7","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072642,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0Mn0.k8zDlVDRHSsKIDIeA9hZ_f2Myt0lRYKTmBlrrkmNPKc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9ab87a9e88137dad55624a03529dd322","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0Mn0.k8zDlVDRHSsKIDIeA9hZ_f2Myt0lRYKTmBlrrkmNPKc","level":"info","message":"auth send jwt","requestID":"af47104f79a8efcf7d6b91ddfe2bcfa8"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"af47104f79a8efcf7d6b91ddfe2bcfa8","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"af47104f79a8efcf7d6b91ddfe2bcfa8"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1640,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:22Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1640,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.757894,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:22Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/0fe7aafb-f643-4661-ab26-00232a40e35a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"af47104f79a8efcf7d6b91ddfe2bcfa8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/0fe7aafb-f643-4661-ab26-00232a40e35a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072642,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0Mn0.k8zDlVDRHSsKIDIeA9hZ_f2Myt0lRYKTmBlrrkmNPKc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"af47104f79a8efcf7d6b91ddfe2bcfa8","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"9ab87a9e88137dad55624a03529dd322"} device-1 | {"level":"info","message":"POST /devices/12af625f-9f5c-4733-b964-549b672aa5b7/websocket 200 21ms","method":"POST","requestID":"9ab87a9e88137dad55624a03529dd322","responseTime":21,"status":200,"url":"/devices/12af625f-9f5c-4733-b964-549b672aa5b7/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:57:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/12af625f-9f5c-4733-b964-549b672aa5b7/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":"9ab87a9e88137dad55624a03529dd322"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"af47104f79a8efcf7d6b91ddfe2bcfa8"} device-1 | {"level":"info","message":"POST /devices/0fe7aafb-f643-4661-ab26-00232a40e35a/websocket 200 24ms","method":"POST","requestID":"af47104f79a8efcf7d6b91ddfe2bcfa8","responseTime":24,"status":200,"url":"/devices/0fe7aafb-f643-4661-ab26-00232a40e35a/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:57:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/0fe7aafb-f643-4661-ab26-00232a40e35a/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":"af47104f79a8efcf7d6b91ddfe2bcfa8"} device-1 | {"level":"info","message":"device 'http://localhost/devices/12af625f-9f5c-4733-b964-549b672aa5b7' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/0fe7aafb-f643-4661-ab26-00232a40e35a' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b2efdd1da3eb51a5b8d1036d081bb050","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"b2efdd1da3eb51a5b8d1036d081bb050","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:57:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/12af625f-9f5c-4733-b964-549b672aa5b7? 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":"b2efdd1da3eb51a5b8d1036d081bb050"} device-1 | {"level":"info","message":"OPTIONS /devices/12af625f-9f5c-4733-b964-549b672aa5b7? 200 1ms","method":"OPTIONS","requestID":"b2efdd1da3eb51a5b8d1036d081bb050","responseTime":1,"status":200,"url":"/devices/12af625f-9f5c-4733-b964-549b672aa5b7?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"fd15de29cd24275b2a9d8bfc13bbb89e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"fd15de29cd24275b2a9d8bfc13bbb89e","responseTime":0,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:57:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/0fe7aafb-f643-4661-ab26-00232a40e35a? 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":"fd15de29cd24275b2a9d8bfc13bbb89e"} device-1 | {"level":"info","message":"OPTIONS /devices/0fe7aafb-f643-4661-ab26-00232a40e35a? 200 1ms","method":"OPTIONS","requestID":"fd15de29cd24275b2a9d8bfc13bbb89e","responseTime":1,"status":200,"url":"/devices/0fe7aafb-f643-4661-ab26-00232a40e35a?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0Mn0.k8zDlVDRHSsKIDIeA9hZ_f2Myt0lRYKTmBlrrkmNPKc","level":"info","message":"auth send jwt","requestID":"160003febd3aa9ef23efd2bb328ce219"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"160003febd3aa9ef23efd2bb328ce219","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"160003febd3aa9ef23efd2bb328ce219"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1641,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:22Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1641,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.100842,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:22Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0Mn0.k8zDlVDRHSsKIDIeA9hZ_f2Myt0lRYKTmBlrrkmNPKc","level":"info","message":"auth send jwt","requestID":"ba5bf5151615260f0beb19336b610660"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"ba5bf5151615260f0beb19336b610660","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/12af625f-9f5c-4733-b964-549b672aa5b7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"160003febd3aa9ef23efd2bb328ce219","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/12af625f-9f5c-4733-b964-549b672aa5b7","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072642,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0Mn0.k8zDlVDRHSsKIDIeA9hZ_f2Myt0lRYKTmBlrrkmNPKc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"160003febd3aa9ef23efd2bb328ce219","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"ba5bf5151615260f0beb19336b610660"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1642,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:22Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1642,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.975385,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:22Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/0fe7aafb-f643-4661-ab26-00232a40e35a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ba5bf5151615260f0beb19336b610660","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/0fe7aafb-f643-4661-ab26-00232a40e35a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072642,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0Mn0.k8zDlVDRHSsKIDIeA9hZ_f2Myt0lRYKTmBlrrkmNPKc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ba5bf5151615260f0beb19336b610660","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F12af625f-9f5c-4733-b964-549b672aa5b7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F12af625f-9f5c-4733-b964-549b672aa5b7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:20.808591882Z"}]},"request_id":"f8c9becd-35c2-4a56-9d9d-395b2580e3df","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072642.897693} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"160003febd3aa9ef23efd2bb328ce219","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0fe7aafb-f643-4661-ab26-00232a40e35a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0fe7aafb-f643-4661-ab26-00232a40e35a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:20.758495186Z"}]},"request_id":"3d854308-e70d-4c2c-972d-875b9fdb388c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072642.900912} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ba5bf5151615260f0beb19336b610660","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a2ecd28d-1f6d-42dc-a26b-dc39109939fc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072642.9030335} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"160003febd3aa9ef23efd2bb328ce219","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7f5e6872-6772-45cc-ab48-d90f7df5128d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072642.907641} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"ba5bf5151615260f0beb19336b610660","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F12af625f-9f5c-4733-b964-549b672aa5b7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F12af625f-9f5c-4733-b964-549b672aa5b7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:20.808591882Z"}]},"request_id":"6cfeb337-743e-468e-b7ec-5ee431e9646c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072642.9186327} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"160003febd3aa9ef23efd2bb328ce219","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"160003febd3aa9ef23efd2bb328ce219"} device-1 | {"level":"info","message":"PATCH /devices/12af625f-9f5c-4733-b964-549b672aa5b7? 200 35ms","method":"PATCH","requestID":"160003febd3aa9ef23efd2bb328ce219","responseTime":35,"status":200,"url":"/devices/12af625f-9f5c-4733-b964-549b672aa5b7?"} gateway-1 | {"time_local":"16/Oct/2024:09:57:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/12af625f-9f5c-4733-b964-549b672aa5b7? HTTP/1.1","status": "200","body_bytes_sent":"998","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":"160003febd3aa9ef23efd2bb328ce219"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0fe7aafb-f643-4661-ab26-00232a40e35a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0fe7aafb-f643-4661-ab26-00232a40e35a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:20.758495186Z"}]},"request_id":"7db9d54a-0786-41db-8f49-383b051625ed","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072642.929} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"ba5bf5151615260f0beb19336b610660","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"ba5bf5151615260f0beb19336b610660"} device-1 | {"level":"info","message":"PATCH /devices/0fe7aafb-f643-4661-ab26-00232a40e35a? 200 41ms","method":"PATCH","requestID":"ba5bf5151615260f0beb19336b610660","responseTime":41,"status":200,"url":"/devices/0fe7aafb-f643-4661-ab26-00232a40e35a?"} gateway-1 | {"time_local":"16/Oct/2024:09:57:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/0fe7aafb-f643-4661-ab26-00232a40e35a? 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":"ba5bf5151615260f0beb19336b610660"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0Mn0.k8zDlVDRHSsKIDIeA9hZ_f2Myt0lRYKTmBlrrkmNPKc","level":"info","message":"auth send jwt","requestID":"45a77712ab8df42016b0ae6aec82ad72"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"45a77712ab8df42016b0ae6aec82ad72","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"45a77712ab8df42016b0ae6aec82ad72"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1643,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:22Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1643,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.045818,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:22Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0fe7aafb-f643-4661-ab26-00232a40e35a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"45a77712ab8df42016b0ae6aec82ad72","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/0fe7aafb-f643-4661-ab26-00232a40e35a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072642,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0Mn0.k8zDlVDRHSsKIDIeA9hZ_f2Myt0lRYKTmBlrrkmNPKc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"45a77712ab8df42016b0ae6aec82ad72","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0fe7aafb-f643-4661-ab26-00232a40e35a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0fe7aafb-f643-4661-ab26-00232a40e35a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:20.758495186Z"}]},"request_id":"123f9ac7-bd6c-4bea-bc8c-687dae9217ac","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072642.949254} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"45a77712ab8df42016b0ae6aec82ad72","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"45a77712ab8df42016b0ae6aec82ad72"} gateway-1 | {"time_local":"16/Oct/2024:09:57:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/0fe7aafb-f643-4661-ab26-00232a40e35a? 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":"45a77712ab8df42016b0ae6aec82ad72"} device-1 | {"level":"info","message":"GET /devices/0fe7aafb-f643-4661-ab26-00232a40e35a? 200 11ms","method":"GET","requestID":"45a77712ab8df42016b0ae6aec82ad72","responseTime":11,"status":200,"url":"/devices/0fe7aafb-f643-4661-ab26-00232a40e35a?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0Mn0.k8zDlVDRHSsKIDIeA9hZ_f2Myt0lRYKTmBlrrkmNPKc","level":"info","message":"auth send jwt","requestID":"b43c41ffeffcb47dffb348fd371a1d0f"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"b43c41ffeffcb47dffb348fd371a1d0f","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b43c41ffeffcb47dffb348fd371a1d0f"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1644,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:22Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1644,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.078082,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:22Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/12af625f-9f5c-4733-b964-549b672aa5b7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b43c41ffeffcb47dffb348fd371a1d0f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/12af625f-9f5c-4733-b964-549b672aa5b7","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072642,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0Mn0.k8zDlVDRHSsKIDIeA9hZ_f2Myt0lRYKTmBlrrkmNPKc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b43c41ffeffcb47dffb348fd371a1d0f","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F12af625f-9f5c-4733-b964-549b672aa5b7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F12af625f-9f5c-4733-b964-549b672aa5b7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:20.808591882Z"}]},"request_id":"a64599c3-cb36-4462-aa87-ee9b3a5ad3ca","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072642.967682} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b43c41ffeffcb47dffb348fd371a1d0f","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b43c41ffeffcb47dffb348fd371a1d0f"} gateway-1 | {"time_local":"16/Oct/2024:09:57:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/12af625f-9f5c-4733-b964-549b672aa5b7? 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":"b43c41ffeffcb47dffb348fd371a1d0f"} device-1 | {"level":"info","message":"GET /devices/12af625f-9f5c-4733-b964-549b672aa5b7? 200 12ms","method":"GET","requestID":"b43c41ffeffcb47dffb348fd371a1d0f","responseTime":12,"status":200,"url":"/devices/12af625f-9f5c-4733-b964-549b672aa5b7?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0Mn0.k8zDlVDRHSsKIDIeA9hZ_f2Myt0lRYKTmBlrrkmNPKc","level":"info","message":"auth send jwt","requestID":"9b387e449bec15fbf2d2c607342febaf"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"9b387e449bec15fbf2d2c607342febaf","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"9b387e449bec15fbf2d2c607342febaf"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1645,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:22Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1645,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.752531,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:22Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"9b387e449bec15fbf2d2c607342febaf","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072642,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0Mn0.k8zDlVDRHSsKIDIeA9hZ_f2Myt0lRYKTmBlrrkmNPKc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9b387e449bec15fbf2d2c607342febaf","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12"},"level":"info","message":"Attempting to run experiment","requestID":"9b387e449bec15fbf2d2c607342febaf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12"},"level":"info","message":"Attempting to book experiment","requestID":"9b387e449bec15fbf2d2c607342febaf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12"},"level":"info","message":"Successfully booked experiment","requestID":"9b387e449bec15fbf2d2c607342febaf"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0a478a20-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0a47d840-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1646,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1646,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.60138,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1647,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0fe7aafb-f643-4661-ab26-00232a40e35a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0a478a20-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/0fe7aafb-f643-4661-ab26-00232a40e35a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072642,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0Mn0.k8zDlVDRHSsKIDIeA9hZ_f2Myt0lRYKTmBlrrkmNPKc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0a478a20-8ba5-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1647,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.601741,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/12af625f-9f5c-4733-b964-549b672aa5b7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0a47d840-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/12af625f-9f5c-4733-b964-549b672aa5b7","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072642,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0Mn0.k8zDlVDRHSsKIDIeA9hZ_f2Myt0lRYKTmBlrrkmNPKc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0a47d840-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0fe7aafb-f643-4661-ab26-00232a40e35a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0fe7aafb-f643-4661-ab26-00232a40e35a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:20.758495186Z"}]},"request_id":"e69c44d3-97c8-4145-af7f-37aaf0b3a052","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.0187564} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0a478a20-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F12af625f-9f5c-4733-b964-549b672aa5b7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F12af625f-9f5c-4733-b964-549b672aa5b7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:20.808591882Z"}]},"request_id":"c396b17a-870a-49ff-beb0-dfa8c5eba33e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.0194616} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0a47d840-8ba5-11ef-a62f-5f7f958aa687","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0a478a20-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/0fe7aafb-f643-4661-ab26-00232a40e35a? 200 14ms","method":"GET","requestID":"0a478a20-8ba5-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/0fe7aafb-f643-4661-ab26-00232a40e35a?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0a47d840-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/12af625f-9f5c-4733-b964-549b672aa5b7? 200 13ms","method":"GET","requestID":"0a47d840-8ba5-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/12af625f-9f5c-4733-b964-549b672aa5b7?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12"},"level":"info","message":"Setting up experiment","requestID":"9b387e449bec15fbf2d2c607342febaf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"9b387e449bec15fbf2d2c607342febaf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12"},"level":"info","message":"Successfully locked booking for experiment","requestID":"9b387e449bec15fbf2d2c607342febaf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"9b387e449bec15fbf2d2c607342febaf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"9b387e449bec15fbf2d2c607342febaf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12"},"level":"info","message":"Attempting to update booking for experiment","requestID":"9b387e449bec15fbf2d2c607342febaf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12"},"level":"info","message":"Successfully updated booking for experiment","requestID":"9b387e449bec15fbf2d2c607342febaf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12"},"level":"info","message":"Successfully set up experiment","requestID":"9b387e449bec15fbf2d2c607342febaf"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0a508ad0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0a50b1e0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0a50d8f0-8ba5-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12"},"level":"info","message":"Successfully running experiment","requestID":"9b387e449bec15fbf2d2c607342febaf"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1648,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1648,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.718124,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1649,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0fe7aafb-f643-4661-ab26-00232a40e35a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0a508ad0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/0fe7aafb-f643-4661-ab26-00232a40e35a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072642,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0Mn0.k8zDlVDRHSsKIDIeA9hZ_f2Myt0lRYKTmBlrrkmNPKc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0a508ad0-8ba5-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1649,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.545801,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/12af625f-9f5c-4733-b964-549b672aa5b7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0a50b1e0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/12af625f-9f5c-4733-b964-549b672aa5b7","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072642,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0Mn0.k8zDlVDRHSsKIDIeA9hZ_f2Myt0lRYKTmBlrrkmNPKc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0a50b1e0-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0fe7aafb-f643-4661-ab26-00232a40e35a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0fe7aafb-f643-4661-ab26-00232a40e35a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:20.758495186Z"}]},"request_id":"70cb34a9-4600-4e5f-801b-7f429f424231","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.0784242} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0a508ad0-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F12af625f-9f5c-4733-b964-549b672aa5b7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F12af625f-9f5c-4733-b964-549b672aa5b7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:20.808591882Z"}]},"request_id":"11ebf348-628c-45a3-8388-1692e982b030","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.0793624} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0a50b1e0-8ba5-11ef-a62f-5f7f958aa687","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:57622","level":"info","msg":"Received request.","req_id":1650,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0fe7aafb-f643-4661-ab26-00232a40e35a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"57b9e571-f45a-4072-9da5-5b9d61b56a24","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.082145} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0a508ad0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:57622","level":"info","msg":"Sent response.","req_id":1650,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.518768,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:23Z"} device-1 | {"level":"info","message":"GET /devices/0fe7aafb-f643-4661-ab26-00232a40e35a? 200 14ms","method":"GET","requestID":"0a508ad0-8ba5-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/0fe7aafb-f643-4661-ab26-00232a40e35a?"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0fe7aafb-f643-4661-ab26-00232a40e35a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0a50d8f0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0fe7aafb-f643-4661-ab26-00232a40e35a","object_type":"device","rebac_allow":false,"scope_allow":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":"0a50d8f0-8ba5-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0a50b1e0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/12af625f-9f5c-4733-b964-549b672aa5b7? 200 14ms","method":"GET","requestID":"0a50b1e0-8ba5-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/12af625f-9f5c-4733-b964-549b672aa5b7?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0a5322e0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0a50d8f0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/0fe7aafb-f643-4661-ab26-00232a40e35a/signaling 200 18ms","method":"POST","requestID":"0a50d8f0-8ba5-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/0fe7aafb-f643-4661-ab26-00232a40e35a/signaling"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1651,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:23Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0a53e630-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0fe7aafb-f643-4661-ab26-00232a40e35a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"025c21cd-907c-4955-b2be-b54a9e21ec43","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.0918622} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1651,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.734471,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0fe7aafb-f643-4661-ab26-00232a40e35a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0a5322e0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0fe7aafb-f643-4661-ab26-00232a40e35a","object_type":"device","rebac_allow":false,"scope_allow":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":"0a5322e0-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F951ba75f-bb8d-49f8-9bdf-6e8142f79c12#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F951ba75f-bb8d-49f8-9bdf-6e8142f79c12","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"8ca1b5d8-8303-457a-ad13-ab397b5c2863","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.093432} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e019c495-7886-415c-9ea4-19601715ffb8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.093651} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0a5322e0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/0fe7aafb-f643-4661-ab26-00232a40e35a/signaling 200 10ms","method":"POST","requestID":"0a5322e0-8ba5-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/0fe7aafb-f643-4661-ab26-00232a40e35a/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"9b387e449bec15fbf2d2c607342febaf","responseTime":22,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F12af625f-9f5c-4733-b964-549b672aa5b7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3c9fd50a-52e1-4c84-9661-fd8fea994512","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.097365} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1652,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1652,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.508333,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:23Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0a551eb0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/12af625f-9f5c-4733-b964-549b672aa5b7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0a53e630-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/12af625f-9f5c-4733-b964-549b672aa5b7","object_type":"device","rebac_allow":false,"scope_allow":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":"0a53e630-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1653,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:23Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0a53e630-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/12af625f-9f5c-4733-b964-549b672aa5b7/signaling 200 12ms","method":"POST","requestID":"0a53e630-8ba5-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/12af625f-9f5c-4733-b964-549b672aa5b7/signaling"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F12af625f-9f5c-4733-b964-549b672aa5b7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dabfd080-3632-4ae8-a33f-f9099e347e92","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.104389} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1653,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.567662,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:23Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"9b387e449bec15fbf2d2c607342febaf"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/12af625f-9f5c-4733-b964-549b672aa5b7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0a551eb0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/12af625f-9f5c-4733-b964-549b672aa5b7","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 128ms","method":"POST","requestID":"9b387e449bec15fbf2d2c607342febaf","responseTime":128,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"16/Oct/2024:09:57:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"808","request_time":"0.132","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9b387e449bec15fbf2d2c607342febaf"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0a551eb0-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0a551eb0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/12af625f-9f5c-4733-b964-549b672aa5b7/signaling 200 10ms","method":"POST","requestID":"0a551eb0-8ba5-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/12af625f-9f5c-4733-b964-549b672aa5b7/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0M30.brbvW1mBKF81nGSCCZKCZ27YgYWzQo63brx1etJLS00","level":"info","message":"auth send jwt","requestID":"8ebf440fe78b3623ced337d3d7a24272"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"9b387e449bec15fbf2d2c607342febaf"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8ebf440fe78b3623ced337d3d7a24272","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8ebf440fe78b3623ced337d3d7a24272"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0a571a80-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0a571a81-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1654,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1655,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1654,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.858683,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1655,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.557775,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"client_addr":"127.0.0.1:57622","level":"info","msg":"Received request.","req_id":1656,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0fe7aafb-f643-4661-ab26-00232a40e35a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"8ebf440fe78b3623ced337d3d7a24272","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/0fe7aafb-f643-4661-ab26-00232a40e35a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072643,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0M30.brbvW1mBKF81nGSCCZKCZ27YgYWzQo63brx1etJLS00"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"8ebf440fe78b3623ced337d3d7a24272","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0fe7aafb-f643-4661-ab26-00232a40e35a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0a571a80-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/0fe7aafb-f643-4661-ab26-00232a40e35a","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072642,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0Mn0.k8zDlVDRHSsKIDIeA9hZ_f2Myt0lRYKTmBlrrkmNPKc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0a571a80-8ba5-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57622","level":"info","msg":"Sent response.","req_id":1656,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.568047,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/12af625f-9f5c-4733-b964-549b672aa5b7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0a571a81-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/12af625f-9f5c-4733-b964-549b672aa5b7","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072642,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0Mn0.k8zDlVDRHSsKIDIeA9hZ_f2Myt0lRYKTmBlrrkmNPKc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0a571a81-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0fe7aafb-f643-4661-ab26-00232a40e35a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0fe7aafb-f643-4661-ab26-00232a40e35a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:20.758495186Z"}]},"request_id":"a6b655be-730b-4fdc-a333-ecbee5c551dd","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.1187584} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0fe7aafb-f643-4661-ab26-00232a40e35a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0fe7aafb-f643-4661-ab26-00232a40e35a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:20.758495186Z"}]},"request_id":"c977d3bc-d1b8-4d1d-9f4b-8bb584f4b47e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.1193497} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8ebf440fe78b3623ced337d3d7a24272","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F12af625f-9f5c-4733-b964-549b672aa5b7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F12af625f-9f5c-4733-b964-549b672aa5b7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:20.808591882Z"}]},"request_id":"909bffd8-c4d2-4464-ba60-4afb802073b4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.1201854} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0a571a80-8ba5-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0a571a81-8ba5-11ef-a62f-5f7f958aa687","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8ebf440fe78b3623ced337d3d7a24272"} gateway-1 | {"time_local":"16/Oct/2024:09:57:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/0fe7aafb-f643-4661-ab26-00232a40e35a? 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":"8ebf440fe78b3623ced337d3d7a24272"} device-1 | {"level":"info","message":"GET /devices/0fe7aafb-f643-4661-ab26-00232a40e35a? 200 13ms","method":"GET","requestID":"8ebf440fe78b3623ced337d3d7a24272","responseTime":13,"status":200,"url":"/devices/0fe7aafb-f643-4661-ab26-00232a40e35a?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0a571a80-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/0fe7aafb-f643-4661-ab26-00232a40e35a? 200 13ms","method":"GET","requestID":"0a571a80-8ba5-11ef-a62f-5f7f958aa687","responseTime":13,"status":200,"url":"/devices/0fe7aafb-f643-4661-ab26-00232a40e35a?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0a571a81-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/12af625f-9f5c-4733-b964-549b672aa5b7? 200 14ms","method":"GET","requestID":"0a571a81-8ba5-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/12af625f-9f5c-4733-b964-549b672aa5b7?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12"},"level":"info","message":"Building connection plan","requestID":"9b387e449bec15fbf2d2c607342febaf"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"593a747e-60a7-44dd-b5a9-0aa2fcd36bb7"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"597de148-4397-4aa3-8b8c-7264cd50c4ce"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"815b502b-4ad2-47d5-911f-13444fdb152d"}]},"level":"info","message":"Built pairwise service configurations","requestID":"9b387e449bec15fbf2d2c607342febaf"} 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/0fe7aafb-f643-4661-ab26-00232a40e35a"},{"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/12af625f-9f5c-4733-b964-549b672aa5b7"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"9b387e449bec15fbf2d2c607342febaf"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"0a598b80-8ba5-11ef-a62f-5f7f958aa687"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0M30.brbvW1mBKF81nGSCCZKCZ27YgYWzQo63brx1etJLS00","level":"info","message":"auth send jwt","requestID":"5ef041228299e0a0f9ef494891e8c208"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"5ef041228299e0a0f9ef494891e8c208","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5ef041228299e0a0f9ef494891e8c208"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1657,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1657,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.934903,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1658,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0a598b80-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072642,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0Mn0.k8zDlVDRHSsKIDIeA9hZ_f2Myt0lRYKTmBlrrkmNPKc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0a598b80-8ba5-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1658,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.743254,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/12af625f-9f5c-4733-b964-549b672aa5b7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"5ef041228299e0a0f9ef494891e8c208","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/12af625f-9f5c-4733-b964-549b672aa5b7","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072643,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0M30.brbvW1mBKF81nGSCCZKCZ27YgYWzQo63brx1etJLS00"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5ef041228299e0a0f9ef494891e8c208","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F12af625f-9f5c-4733-b964-549b672aa5b7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F12af625f-9f5c-4733-b964-549b672aa5b7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:20.808591882Z"}]},"request_id":"36856f02-9bdc-4689-986a-552a1d67de7c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.1357484} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"5ef041228299e0a0f9ef494891e8c208","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"0f16e742-6380-4ad0-a945-f0c93a5c1b4a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.139652} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9638d9e4-d573-4ce6-bace-9fc796b510fc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.1398897} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5ef041228299e0a0f9ef494891e8c208"} gateway-1 | {"time_local":"16/Oct/2024:09:57:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/12af625f-9f5c-4733-b964-549b672aa5b7? 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":"5ef041228299e0a0f9ef494891e8c208"} device-1 | {"level":"info","message":"GET /devices/12af625f-9f5c-4733-b964-549b672aa5b7? 200 12ms","method":"GET","requestID":"5ef041228299e0a0f9ef494891e8c208","responseTime":12,"status":200,"url":"/devices/12af625f-9f5c-4733-b964-549b672aa5b7?"} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"0a598b80-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"0a598b80-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"0a598b80-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/d9017407-012c-47ec-bcd4-6b35e44fa050'","requestID":"0a598b80-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/d9017407-012c-47ec-bcd4-6b35e44fa050'","requestID":"0a598b80-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"0a598b80-8ba5-11ef-a62f-5f7f958aa687"} 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":"0a598b80-8ba5-11ef-a62f-5f7f958aa687","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":"0a598b80-8ba5-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"9b387e449bec15fbf2d2c607342febaf"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0a612ca0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1659,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0fe7aafb-f643-4661-ab26-00232a40e35a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"023f6d45-3db1-474f-9482-eddce05b8f64","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.182503} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1659,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.230487,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0fe7aafb-f643-4661-ab26-00232a40e35a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0a612ca0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0fe7aafb-f643-4661-ab26-00232a40e35a","object_type":"device","rebac_allow":false,"scope_allow":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":"0a612ca0-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0a612ca0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/0fe7aafb-f643-4661-ab26-00232a40e35a/signaling 200 8ms","method":"POST","requestID":"0a612ca0-8ba5-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/0fe7aafb-f643-4661-ab26-00232a40e35a/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0a628c30-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1660,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F12af625f-9f5c-4733-b964-549b672aa5b7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c4028616-844b-426b-85d2-b2b79ec68f77","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.1907835} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1660,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.030763,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/12af625f-9f5c-4733-b964-549b672aa5b7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0a628c30-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/12af625f-9f5c-4733-b964-549b672aa5b7","object_type":"device","rebac_allow":false,"scope_allow":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":"0a628c30-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0a628c30-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/12af625f-9f5c-4733-b964-549b672aa5b7/signaling 200 8ms","method":"POST","requestID":"0a628c30-8ba5-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/12af625f-9f5c-4733-b964-549b672aa5b7/signaling"} device-1 | {"device":"12af625f-9f5c-4733-b964-549b672aa5b7","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"12af625f-9f5c-4733-b964-549b672aa5b7","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"device":"0fe7aafb-f643-4661-ab26-00232a40e35a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"0fe7aafb-f643-4661-ab26-00232a40e35a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 8809031859534207144 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:AxHX\r\na=ice-pwd:XfejPJPmda/r3dYkTsO0IXN7\r\na=ice-options:trickle\r\na=fingerprint:sha-256 48:5C:F6:37:79:8E:1E:33:98:A1:62:35:68:5C:D6:48:35:13:4D:26:AF:1C:41:C0:30:B5:E8:54:4B:8E:D8: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":"12af625f-9f5c-4733-b964-549b672aa5b7","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 6674891198177040380 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:wPJd\r\na=ice-pwd:pjeajMS+60/9YKmAA6kdHBZB\r\na=ice-options:trickle\r\na=fingerprint:sha-256 1C:18:7E:AD:AC:DC:B7:74:AD:6C:B7:B3:DB:5C:DF:CB:C4:CE:B8:BE:9A:55:BA:A2:55:4A:10:16:82:4E:17:81\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"0fe7aafb-f643-4661-ab26-00232a40e35a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:3835845143 1 udp 2113937151 84d588af-7ea2-4d62-9074-2fb3a58d1235.local 56898 typ host generation 0 ufrag wPJd network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"0fe7aafb-f643-4661-ab26-00232a40e35a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2005531396 1 udp 1677729535 141.24.211.56 56898 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag wPJd network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"0fe7aafb-f643-4661-ab26-00232a40e35a","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/0fe7aafb-f643-4661-ab26-00232a40e35a'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/0fe7aafb-f643-4661-ab26-00232a40e35a'"} device-1 | {"content":{"candidate":"candidate:3220657067 1 udp 2113937151 ad64d176-31ea-43e9-b679-61e46d93bc72.local 50986 typ host generation 0 ufrag AxHX network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"12af625f-9f5c-4733-b964-549b672aa5b7","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1004157396 1 udp 1677729535 141.24.211.56 50986 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag AxHX network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"12af625f-9f5c-4733-b964-549b672aa5b7","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/12af625f-9f5c-4733-b964-549b672aa5b7'"} device-1 | {"device":"12af625f-9f5c-4733-b964-549b672aa5b7","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"0fe7aafb-f643-4661-ab26-00232a40e35a","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/d9017407-012c-47ec-bcd4-6b35e44fa050' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d9017407-012c-47ec-bcd4-6b35e44fa050","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"12af625f-9f5c-4733-b964-549b672aa5b7","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"0fe7aafb-f643-4661-ab26-00232a40e35a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c6180d7403791e164ac2057499a59f62","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"c6180d7403791e164ac2057499a59f62","responseTime":0,"status":200,"url":"/auth"} device-1 | {"device":"12af625f-9f5c-4733-b964-549b672aa5b7","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":[],"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/0fe7aafb-f643-4661-ab26-00232a40e35a"},{"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/12af625f-9f5c-4733-b964-549b672aa5b7"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/d9017407-012c-47ec-bcd4-6b35e44fa050"}}},"level":"info","message":"received a callback","requestID":"c6180d7403791e164ac2057499a59f62"} device-1 | {"device":"0fe7aafb-f643-4661-ab26-00232a40e35a","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":"c6180d7403791e164ac2057499a59f62","responseTime":5,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.007","http_referrer":"","http_user_agent":"node-fetch","requestID":"c6180d7403791e164ac2057499a59f62"} device-1 | {"device":"0fe7aafb-f643-4661-ab26-00232a40e35a","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"d9017407-012c-47ec-bcd4-6b35e44fa050","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"d9017407-012c-47ec-bcd4-6b35e44fa050","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/d9017407-012c-47ec-bcd4-6b35e44fa050' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d9017407-012c-47ec-bcd4-6b35e44fa050","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d03d0302d7964d39ade187f45134338e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"d03d0302d7964d39ade187f45134338e","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/0fe7aafb-f643-4661-ab26-00232a40e35a"},{"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/12af625f-9f5c-4733-b964-549b672aa5b7"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/d9017407-012c-47ec-bcd4-6b35e44fa050"}}},"level":"info","message":"received a callback","requestID":"d03d0302d7964d39ade187f45134338e"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"0a6e24f0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1661,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd9017407-012c-47ec-bcd4-6b35e44fa050","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5ad26012-7a24-4049-8cfb-9826dc743f6b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.2668889} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1661,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.129059,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/d9017407-012c-47ec-bcd4-6b35e44fa050","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0a6e24f0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/d9017407-012c-47ec-bcd4-6b35e44fa050","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":"0a6e24f0-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"0a6e24f0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/d9017407-012c-47ec-bcd4-6b35e44fa050 200 6ms","method":"GET","requestID":"0a6e24f0-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/peerconnections/d9017407-012c-47ec-bcd4-6b35e44fa050"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 30ms","method":"POST","requestID":"d03d0302d7964d39ade187f45134338e","responseTime":30,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.032","http_referrer":"","http_user_agent":"node-fetch","requestID":"d03d0302d7964d39ade187f45134338e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0a721c90-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1662,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0fe7aafb-f643-4661-ab26-00232a40e35a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"79af1aab-902f-489d-8284-499ad054f312","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.294191} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1662,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.772052,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0fe7aafb-f643-4661-ab26-00232a40e35a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0a721c90-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0fe7aafb-f643-4661-ab26-00232a40e35a","object_type":"device","rebac_allow":false,"scope_allow":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":"0a721c90-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0a721c90-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/0fe7aafb-f643-4661-ab26-00232a40e35a/signaling 200 8ms","method":"POST","requestID":"0a721c90-8ba5-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/0fe7aafb-f643-4661-ab26-00232a40e35a/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0a73a330-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1663,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F12af625f-9f5c-4733-b964-549b672aa5b7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1cf84339-8fac-4754-ace2-e958e0fcb061","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.3031957} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1663,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.069027,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/12af625f-9f5c-4733-b964-549b672aa5b7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0a73a330-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/12af625f-9f5c-4733-b964-549b672aa5b7","object_type":"device","rebac_allow":false,"scope_allow":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":"0a73a330-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0a73a330-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/12af625f-9f5c-4733-b964-549b672aa5b7/signaling 200 7ms","method":"POST","requestID":"0a73a330-8ba5-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/devices/12af625f-9f5c-4733-b964-549b672aa5b7/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0M30.brbvW1mBKF81nGSCCZKCZ27YgYWzQo63brx1etJLS00","level":"info","message":"auth send jwt","requestID":"b5913454f01c9b8c8c9dcf8d11cac873"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b5913454f01c9b8c8c9dcf8d11cac873","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12","requestID":"b5913454f01c9b8c8c9dcf8d11cac873"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1664,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1664,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.670194,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b5913454f01c9b8c8c9dcf8d11cac873","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072643,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0M30.brbvW1mBKF81nGSCCZKCZ27YgYWzQo63brx1etJLS00"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b5913454f01c9b8c8c9dcf8d11cac873","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12","requestID":"b5913454f01c9b8c8c9dcf8d11cac873"} gateway-1 | {"time_local":"16/Oct/2024:09:57:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12 HTTP/1.1","status": "200","body_bytes_sent":"881","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b5913454f01c9b8c8c9dcf8d11cac873"} experiment-1 | {"level":"info","message":"GET /experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12 200 8ms","method":"GET","requestID":"b5913454f01c9b8c8c9dcf8d11cac873","responseTime":8,"status":200,"url":"/experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0M30.brbvW1mBKF81nGSCCZKCZ27YgYWzQo63brx1etJLS00","level":"info","message":"auth send jwt","requestID":"b2959b272787280a81fb5cb8e754aafa"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"b2959b272787280a81fb5cb8e754aafa","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12","requestID":"b2959b272787280a81fb5cb8e754aafa"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1665,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1665,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.683319,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b2959b272787280a81fb5cb8e754aafa","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072643,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0M30.brbvW1mBKF81nGSCCZKCZ27YgYWzQo63brx1etJLS00"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b2959b272787280a81fb5cb8e754aafa","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12"},"level":"info","message":"Attempting to finish experiment","requestID":"b2959b272787280a81fb5cb8e754aafa"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"0a7cf200-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1666,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1666,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.685943,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/d9017407-012c-47ec-bcd4-6b35e44fa050","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0a7cf200-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/d9017407-012c-47ec-bcd4-6b35e44fa050","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072643,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0M30.brbvW1mBKF81nGSCCZKCZ27YgYWzQo63brx1etJLS00"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0a7cf200-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/d9017407-012c-47ec-bcd4-6b35e44fa050","device":"12af625f-9f5c-4733-b964-549b672aa5b7","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/d9017407-012c-47ec-bcd4-6b35e44fa050","device":"0fe7aafb-f643-4661-ab26-00232a40e35a","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/d9017407-012c-47ec-bcd4-6b35e44fa050' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/d9017407-012c-47ec-bcd4-6b35e44fa050' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d9017407-012c-47ec-bcd4-6b35e44fa050","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd9017407-012c-47ec-bcd4-6b35e44fa050': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd9017407-012c-47ec-bcd4-6b35e44fa050","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"7d5560af-7f61-4e0a-b7d6-89f9a5b0b179","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.374932} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"706778eb-1587-4a8f-8e8c-d31b058591f6","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.3751206} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"dd7261b871c7aca779bd0a727422e003","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"dd7261b871c7aca779bd0a727422e003","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"0a7cf200-8ba5-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"610dc71a58789b4af6c2a51f053804d5","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/0fe7aafb-f643-4661-ab26-00232a40e35a"},{"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/12af625f-9f5c-4733-b964-549b672aa5b7"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/d9017407-012c-47ec-bcd4-6b35e44fa050"}}},"level":"info","message":"received a callback","requestID":"dd7261b871c7aca779bd0a727422e003"} authentication-1 | {"level":"info","message":"GET /auth 200 0ms","method":"GET","requestID":"610dc71a58789b4af6c2a51f053804d5","responseTime":0,"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/0fe7aafb-f643-4661-ab26-00232a40e35a"},{"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/12af625f-9f5c-4733-b964-549b672aa5b7"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/d9017407-012c-47ec-bcd4-6b35e44fa050"}}},"level":"info","message":"received a callback","requestID":"610dc71a58789b4af6c2a51f053804d5"} device-1 | {"data":{"peerconnection":"d9017407-012c-47ec-bcd4-6b35e44fa050","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"0a7cf200-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/d9017407-012c-47ec-bcd4-6b35e44fa050 204 34ms","method":"DELETE","requestID":"0a7cf200-8ba5-11ef-a62f-5f7f958aa687","responseTime":34,"status":204,"url":"/peerconnections/d9017407-012c-47ec-bcd4-6b35e44fa050"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12"},"level":"info","message":"Successfully finished experiment","requestID":"b2959b272787280a81fb5cb8e754aafa"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0a84e140-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1667,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0fe7aafb-f643-4661-ab26-00232a40e35a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3abcebd2-ac93-428f-b4a2-5d6fee0ba5f2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.4187825} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1667,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.344963,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0fe7aafb-f643-4661-ab26-00232a40e35a","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0a84e140-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0fe7aafb-f643-4661-ab26-00232a40e35a","object_type":"device","rebac_allow":false,"scope_allow":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":"0a84e140-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0a84e140-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/0fe7aafb-f643-4661-ab26-00232a40e35a/signaling 200 10ms","method":"POST","requestID":"0a84e140-8ba5-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/0fe7aafb-f643-4661-ab26-00232a40e35a/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0a86b600-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1668,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F951ba75f-bb8d-49f8-9bdf-6e8142f79c12': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F951ba75f-bb8d-49f8-9bdf-6e8142f79c12","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"0050c9f2-1077-4b32-b71c-379a8aaf2979","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.428119} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F12af625f-9f5c-4733-b964-549b672aa5b7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"37cea976-bfb7-41c8-9c91-f0cb9119f534","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.4286978} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3f5bf0a6-8183-4673-b597-ba0bf02b506d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.4291728} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1668,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.180277,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/12af625f-9f5c-4733-b964-549b672aa5b7","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0a86b600-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/12af625f-9f5c-4733-b964-549b672aa5b7","object_type":"device","rebac_allow":false,"scope_allow":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":"0a86b600-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"b2959b272787280a81fb5cb8e754aafa","responseTime":21,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0a86b600-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/12af625f-9f5c-4733-b964-549b672aa5b7/signaling 200 9ms","method":"POST","requestID":"0a86b600-8ba5-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/12af625f-9f5c-4733-b964-549b672aa5b7/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12","requestID":"b2959b272787280a81fb5cb8e754aafa"} gateway-1 | {"time_local":"16/Oct/2024:09:57:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.148","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b2959b272787280a81fb5cb8e754aafa"} experiment-1 | {"level":"info","message":"DELETE /experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12 204 148ms","method":"DELETE","requestID":"b2959b272787280a81fb5cb8e754aafa","responseTime":148,"status":204,"url":"/experiments/951ba75f-bb8d-49f8-9bdf-6e8142f79c12"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 126ms","method":"POST","requestID":"dd7261b871c7aca779bd0a727422e003","responseTime":126,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.129","http_referrer":"","http_user_agent":"node-fetch","requestID":"dd7261b871c7aca779bd0a727422e003"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 126ms","method":"POST","requestID":"610dc71a58789b4af6c2a51f053804d5","responseTime":126,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.130","http_referrer":"","http_user_agent":"node-fetch","requestID":"610dc71a58789b4af6c2a51f053804d5"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0M30.brbvW1mBKF81nGSCCZKCZ27YgYWzQo63brx1etJLS00","level":"info","message":"auth send jwt","requestID":"a39f9a70942ac83dd5cb079d47a08513"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a39f9a70942ac83dd5cb079d47a08513","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"a39f9a70942ac83dd5cb079d47a08513"} gateway-1 | {"time_local":"16/Oct/2024:09:57:23 +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.663","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"618ac1018f5132eacda1a89e5156b073"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1669,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:23Z"} gateway-1 | {"time_local":"16/Oct/2024:09:57:23 +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.652","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"2795ce66e8d8d54ff0236c9a4cb3f122"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1669,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.078432,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"a39f9a70942ac83dd5cb079d47a08513","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072643,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0M30.brbvW1mBKF81nGSCCZKCZ27YgYWzQo63brx1etJLS00"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"a39f9a70942ac83dd5cb079d47a08513","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/0fe7aafb-f643-4661-ab26-00232a40e35a' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/12af625f-9f5c-4733-b964-549b672aa5b7' 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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3bb8172-ce9e-4059-a119-c86ed4c6c53f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"8f63da22-51b3-4e1d-bcfe-9ee82e8b5aeb","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.5279276} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"a39f9a70942ac83dd5cb079d47a08513","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cb1ede88-bfad-469d-97ad-5af903f4559d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.5323575} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"a39f9a70942ac83dd5cb079d47a08513","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3bb8172-ce9e-4059-a119-c86ed4c6c53f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"9399d939-6a45-4e07-80c9-004a64d82176","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.5430956} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"491bc2f3-15af-424e-8aba-bccb698646d5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.5432875} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"a39f9a70942ac83dd5cb079d47a08513","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3bb8172-ce9e-4059-a119-c86ed4c6c53f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3bb8172-ce9e-4059-a119-c86ed4c6c53f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:23.543048299Z"}]},"request_id":"dbec7b76-a09a-4ea9-964f-ae0018253f4c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.5470626} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"a39f9a70942ac83dd5cb079d47a08513","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"a39f9a70942ac83dd5cb079d47a08513"} device-1 | {"level":"info","message":"POST /devices? 201 41ms","method":"POST","requestID":"a39f9a70942ac83dd5cb079d47a08513","responseTime":41,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:57:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"434","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a39f9a70942ac83dd5cb079d47a08513"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0M30.brbvW1mBKF81nGSCCZKCZ27YgYWzQo63brx1etJLS00","level":"info","message":"auth send jwt","requestID":"913e1d52c073c56bf59e78dfacd2f0ac"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"913e1d52c073c56bf59e78dfacd2f0ac","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"913e1d52c073c56bf59e78dfacd2f0ac"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1670,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1670,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.096442,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:23Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"913e1d52c073c56bf59e78dfacd2f0ac","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072643,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0M30.brbvW1mBKF81nGSCCZKCZ27YgYWzQo63brx1etJLS00"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"913e1d52c073c56bf59e78dfacd2f0ac","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23f8f617-214f-4687-850b-412b573fe4b4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"8562b45b-5fd4-41cc-a16c-5607b03a91c8","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.5718925} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"913e1d52c073c56bf59e78dfacd2f0ac","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5213b463-8162-42e2-9321-0de74684b1bf","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.5752192} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"913e1d52c073c56bf59e78dfacd2f0ac","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23f8f617-214f-4687-850b-412b573fe4b4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"9029e941-fa8b-45ff-8ec5-9eebfffce451","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.5893435} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8d4260cc-14a2-4cc0-9439-b629512e6d56","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.5894246} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"913e1d52c073c56bf59e78dfacd2f0ac","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23f8f617-214f-4687-850b-412b573fe4b4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23f8f617-214f-4687-850b-412b573fe4b4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:23.589302714Z"}]},"request_id":"ddee79f6-20da-4e24-91b0-831da224fcf4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072643.592517} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"913e1d52c073c56bf59e78dfacd2f0ac","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"913e1d52c073c56bf59e78dfacd2f0ac"} device-1 | {"level":"info","message":"POST /devices? 201 40ms","method":"POST","requestID":"913e1d52c073c56bf59e78dfacd2f0ac","responseTime":40,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.044","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"913e1d52c073c56bf59e78dfacd2f0ac"} forwarding-1 | {"level":"info","message":"Participant \"feaa96a2-2d30-4c04-993a-28ef692124ef\" in room \"http://localhost/rooms/2dbca2f3-7163-4526-8c63-4fe5b1acff1e\" did not answer hearbeat check, closing connection","requestID":"e7574b90-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Participant \"b21673cf-13db-4a75-8fed-1404fa55ab25\" in room \"http://localhost/rooms/2dbca2f3-7163-4526-8c63-4fe5b1acff1e\" did not answer hearbeat check, closing connection","requestID":"e757c0c0-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6dbef385d916b45ecf236371bb4c649b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"6dbef385d916b45ecf236371bb4c649b","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:57:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/23f8f617-214f-4687-850b-412b573fe4b4/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":"6dbef385d916b45ecf236371bb4c649b"} device-1 | {"level":"info","message":"OPTIONS /devices/23f8f617-214f-4687-850b-412b573fe4b4/websocket 200 1ms","method":"OPTIONS","requestID":"6dbef385d916b45ecf236371bb4c649b","responseTime":1,"status":200,"url":"/devices/23f8f617-214f-4687-850b-412b573fe4b4/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0NX0.wxozpTmdUhFM-Q3wr5781DkfflxxgqXSqwVXZ_TZ8sc","level":"info","message":"auth send jwt","requestID":"6c0ec27e67041126c67fe35cb5935a3e"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"6c0ec27e67041126c67fe35cb5935a3e","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"6c0ec27e67041126c67fe35cb5935a3e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1671,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:25Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1671,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.14074,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:25Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"6c0ec27e67041126c67fe35cb5935a3e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072645,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0NX0.wxozpTmdUhFM-Q3wr5781DkfflxxgqXSqwVXZ_TZ8sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"6c0ec27e67041126c67fe35cb5935a3e","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"6c0ec27e67041126c67fe35cb5935a3e"} device-1 | {"level":"info","message":"POST /devices/23f8f617-214f-4687-850b-412b573fe4b4/websocket 200 27ms","method":"POST","requestID":"6c0ec27e67041126c67fe35cb5935a3e","responseTime":27,"status":200,"url":"/devices/23f8f617-214f-4687-850b-412b573fe4b4/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:57:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/23f8f617-214f-4687-850b-412b573fe4b4/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":"6c0ec27e67041126c67fe35cb5935a3e"} device-1 | {"level":"info","message":"device 'http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"634312a07f826beaa7ee2700d430e897","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"634312a07f826beaa7ee2700d430e897","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:57:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/23f8f617-214f-4687-850b-412b573fe4b4? 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":"634312a07f826beaa7ee2700d430e897"} device-1 | {"level":"info","message":"OPTIONS /devices/23f8f617-214f-4687-850b-412b573fe4b4? 200 1ms","method":"OPTIONS","requestID":"634312a07f826beaa7ee2700d430e897","responseTime":1,"status":200,"url":"/devices/23f8f617-214f-4687-850b-412b573fe4b4?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0NX0.wxozpTmdUhFM-Q3wr5781DkfflxxgqXSqwVXZ_TZ8sc","level":"info","message":"auth send jwt","requestID":"b53701fdec2235a4e50ae9a64753a972"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b53701fdec2235a4e50ae9a64753a972","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"b53701fdec2235a4e50ae9a64753a972"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1672,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:25Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1672,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.266488,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:25Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"b53701fdec2235a4e50ae9a64753a972","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072645,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0NX0.wxozpTmdUhFM-Q3wr5781DkfflxxgqXSqwVXZ_TZ8sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b53701fdec2235a4e50ae9a64753a972","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23f8f617-214f-4687-850b-412b573fe4b4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23f8f617-214f-4687-850b-412b573fe4b4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:23.589302714Z"}]},"request_id":"9f4ce10f-d24d-4429-a811-6b4960dff29b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072645.710665} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"b53701fdec2235a4e50ae9a64753a972","responseTime":8,"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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0f1a083e-98dd-480b-ad00-22dbafa606b9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072645.720579} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"b53701fdec2235a4e50ae9a64753a972","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23f8f617-214f-4687-850b-412b573fe4b4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23f8f617-214f-4687-850b-412b573fe4b4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:23.589302714Z"}]},"request_id":"094d1c12-bd5f-4ba2-b5ba-69a0cbffbf83","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072645.730143} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b53701fdec2235a4e50ae9a64753a972","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"b53701fdec2235a4e50ae9a64753a972"} gateway-1 | {"time_local":"16/Oct/2024:09:57:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/23f8f617-214f-4687-850b-412b573fe4b4? 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":"b53701fdec2235a4e50ae9a64753a972"} device-1 | {"level":"info","message":"PATCH /devices/23f8f617-214f-4687-850b-412b573fe4b4? 200 40ms","method":"PATCH","requestID":"b53701fdec2235a4e50ae9a64753a972","responseTime":40,"status":200,"url":"/devices/23f8f617-214f-4687-850b-412b573fe4b4?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0NX0.wxozpTmdUhFM-Q3wr5781DkfflxxgqXSqwVXZ_TZ8sc","level":"info","message":"auth send jwt","requestID":"43542d6b09952f8cc162fa7abdc663cb"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"43542d6b09952f8cc162fa7abdc663cb","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"43542d6b09952f8cc162fa7abdc663cb"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1673,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:25Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1673,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.410436,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"43542d6b09952f8cc162fa7abdc663cb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072645,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0NX0.wxozpTmdUhFM-Q3wr5781DkfflxxgqXSqwVXZ_TZ8sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"43542d6b09952f8cc162fa7abdc663cb","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23f8f617-214f-4687-850b-412b573fe4b4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23f8f617-214f-4687-850b-412b573fe4b4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:23.589302714Z"}]},"request_id":"5e8986c7-8c52-457f-858c-1ad21d77524f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072645.7613697} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"43542d6b09952f8cc162fa7abdc663cb","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"43542d6b09952f8cc162fa7abdc663cb"} gateway-1 | {"time_local":"16/Oct/2024:09:57:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/23f8f617-214f-4687-850b-412b573fe4b4? 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":"43542d6b09952f8cc162fa7abdc663cb"} device-1 | {"level":"info","message":"GET /devices/23f8f617-214f-4687-850b-412b573fe4b4? 200 19ms","method":"GET","requestID":"43542d6b09952f8cc162fa7abdc663cb","responseTime":19,"status":200,"url":"/devices/23f8f617-214f-4687-850b-412b573fe4b4?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0NX0.wxozpTmdUhFM-Q3wr5781DkfflxxgqXSqwVXZ_TZ8sc","level":"info","message":"auth send jwt","requestID":"6f6266fdcc4eaf20583f16fcd7841d06"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"6f6266fdcc4eaf20583f16fcd7841d06","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"6f6266fdcc4eaf20583f16fcd7841d06"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1674,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:25Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1674,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.34682,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:25Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"6f6266fdcc4eaf20583f16fcd7841d06","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072645,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0NX0.wxozpTmdUhFM-Q3wr5781DkfflxxgqXSqwVXZ_TZ8sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6f6266fdcc4eaf20583f16fcd7841d06","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5504ca4d-7b89-406a-82a9-db84406e5235"},"level":"info","message":"Attempting to run experiment","requestID":"6f6266fdcc4eaf20583f16fcd7841d06"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5504ca4d-7b89-406a-82a9-db84406e5235"},"level":"info","message":"Attempting to book experiment","requestID":"6f6266fdcc4eaf20583f16fcd7841d06"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5504ca4d-7b89-406a-82a9-db84406e5235"},"level":"info","message":"Successfully booked experiment","requestID":"6f6266fdcc4eaf20583f16fcd7841d06"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0bf428b0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0bf476d0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1675,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:25Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1676,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:25Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1675,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.489134,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b3bb8172-ce9e-4059-a119-c86ed4c6c53f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0bf428b0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b3bb8172-ce9e-4059-a119-c86ed4c6c53f","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072645,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0NX0.wxozpTmdUhFM-Q3wr5781DkfflxxgqXSqwVXZ_TZ8sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0bf428b0-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1676,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.036849,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0bf476d0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072645,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0NX0.wxozpTmdUhFM-Q3wr5781DkfflxxgqXSqwVXZ_TZ8sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0bf476d0-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3bb8172-ce9e-4059-a119-c86ed4c6c53f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb3bb8172-ce9e-4059-a119-c86ed4c6c53f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:23.543048299Z"}]},"request_id":"df5532dd-096e-4ab5-8ed4-89c81af013d9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072645.8325257} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"0bf428b0-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23f8f617-214f-4687-850b-412b573fe4b4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23f8f617-214f-4687-850b-412b573fe4b4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:23.589302714Z"}]},"request_id":"9ba8131d-d962-4525-a19e-dc773f4855e2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072645.8341062} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"0bf476d0-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0bf428b0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/b3bb8172-ce9e-4059-a119-c86ed4c6c53f? 200 25ms","method":"GET","requestID":"0bf428b0-8ba5-11ef-a62f-5f7f958aa687","responseTime":25,"status":200,"url":"/devices/b3bb8172-ce9e-4059-a119-c86ed4c6c53f?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0bf476d0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/23f8f617-214f-4687-850b-412b573fe4b4? 200 25ms","method":"GET","requestID":"0bf476d0-8ba5-11ef-a62f-5f7f958aa687","responseTime":25,"status":200,"url":"/devices/23f8f617-214f-4687-850b-412b573fe4b4?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5504ca4d-7b89-406a-82a9-db84406e5235"},"level":"info","message":"Setting up experiment","requestID":"6f6266fdcc4eaf20583f16fcd7841d06"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5504ca4d-7b89-406a-82a9-db84406e5235"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"6f6266fdcc4eaf20583f16fcd7841d06"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5504ca4d-7b89-406a-82a9-db84406e5235"},"level":"info","message":"Successfully locked booking for experiment","requestID":"6f6266fdcc4eaf20583f16fcd7841d06"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5504ca4d-7b89-406a-82a9-db84406e5235"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"6f6266fdcc4eaf20583f16fcd7841d06"} device-1 | {"level":"info","message":"postDevicesByDeviceId called","requestID":"0bfa4330-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1677,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:25Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1677,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.051823,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:25Z"} authorization-1 | {"action":"instantiate","level":"info","message":"opa_check","object":"device:http://localhost/devices/b3bb8172-ce9e-4059-a119-c86ed4c6c53f","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0bfa4330-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/b3bb8172-ce9e-4059-a119-c86ed4c6c53f","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072645,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0NX0.wxozpTmdUhFM-Q3wr5781DkfflxxgqXSqwVXZ_TZ8sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0bfa4330-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F800ce5e5-ee96-4323-83e4-55c99c5b1567","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"709e0751-630a-48bf-a556-2338dbfd625c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072645.8970518} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d0b1cac2-0524-406e-9340-1357b577c00c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072645.8973422} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"0bfa4330-8ba5-11ef-a62f-5f7f958aa687","responseTime":16,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"registering changed-callback for device 'http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567' to 'http://localhost/callbacks/experiment'","requestID":"0bfa4330-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceId succeeded","requestID":"0bfa4330-8ba5-11ef-a62f-5f7f958aa687"} authentication-1 | {"level":"info","message":"POST /token 201 26ms","method":"POST","requestID":"0c014810-8ba5-11ef-8ae7-5f0e4b2a94fa","responseTime":26,"status":201,"url":"/token"} device-1 | {"level":"info","message":"POST /devices/b3bb8172-ce9e-4059-a119-c86ed4c6c53f?changedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 79ms","method":"POST","requestID":"0bfa4330-8ba5-11ef-a62f-5f7f958aa687","responseTime":79,"status":201,"url":"/devices/b3bb8172-ce9e-4059-a119-c86ed4c6c53f?changedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5504ca4d-7b89-406a-82a9-db84406e5235"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"6f6266fdcc4eaf20583f16fcd7841d06"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5504ca4d-7b89-406a-82a9-db84406e5235"},"level":"info","message":"Attempting to update booking for experiment","requestID":"6f6266fdcc4eaf20583f16fcd7841d06"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5504ca4d-7b89-406a-82a9-db84406e5235"},"level":"info","message":"Successfully updated booking for experiment","requestID":"6f6266fdcc4eaf20583f16fcd7841d06"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5504ca4d-7b89-406a-82a9-db84406e5235"},"level":"info","message":"Successfully set up experiment","requestID":"6f6266fdcc4eaf20583f16fcd7841d06"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0c0e4060-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0c0e6770-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0c0e8e80-8ba5-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5504ca4d-7b89-406a-82a9-db84406e5235"},"level":"info","message":"Successfully running experiment","requestID":"6f6266fdcc4eaf20583f16fcd7841d06"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1678,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:25Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1678,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.926163,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:25Z"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Received request.","req_id":1679,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0c0e4060-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072645,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0NX0.wxozpTmdUhFM-Q3wr5781DkfflxxgqXSqwVXZ_TZ8sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"0c0e4060-8ba5-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:51900","level":"info","msg":"Sent response.","req_id":1679,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.849839,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:25Z"} authorization-1 | {"client_addr":"127.0.0.1:57622","level":"info","msg":"Received request.","req_id":1680,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:25Z"} authorization-1 | {"client_addr":"127.0.0.1:57622","level":"info","msg":"Sent response.","req_id":1680,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.665746,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0c0e6770-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072645,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0NX0.wxozpTmdUhFM-Q3wr5781DkfflxxgqXSqwVXZ_TZ8sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"0c0e6770-8ba5-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F800ce5e5-ee96-4323-83e4-55c99c5b1567","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"db4606a7-418d-492c-aa0f-047ac2db4f3d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072645.998569} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0c0e8e80-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567","object_type":"device","rebac_allow":false,"scope_allow":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":"0c0e8e80-8ba5-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"data":{"error":"MissingEntityError","message":"Could not find websocket connection for device 800ce5e5-ee96-4323-83e4-55c99c5b1567","method":"POST","stack":"MissingEntityError: Could not find websocket connection for device 800ce5e5-ee96-4323-83e4-55c99c5b1567\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/800ce5e5-ee96-4323-83e4-55c99c5b1567/signaling"},"level":"error","message":"An error occurred during the handling of a request","requestID":"0c0e8e80-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/800ce5e5-ee96-4323-83e4-55c99c5b1567/signaling 404 17ms","method":"POST","requestID":"0c0e8e80-8ba5-11ef-a62f-5f7f958aa687","responseTime":17,"status":404,"url":"/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567/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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F800ce5e5-ee96-4323-83e4-55c99c5b1567","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F800ce5e5-ee96-4323-83e4-55c99c5b1567","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:25.896996058Z"}]},"request_id":"8df2df8a-9a7d-4ad5-8ff5-9480f93b081f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072646.0077834} experiment-1 | {"data":{"response":{"body":{"error":"MissingEntityError","message":"Could not find websocket connection for device 800ce5e5-ee96-4323-83e4-55c99c5b1567"},"status":404}},"level":"error","message":"Could not send status-update message","requestID":"6f6266fdcc4eaf20583f16fcd7841d06"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"0c0e4060-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23f8f617-214f-4687-850b-412b573fe4b4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23f8f617-214f-4687-850b-412b573fe4b4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:23.589302714Z"}]},"request_id":"b8c40c6d-2ddb-436f-826c-332ed8741ac5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072646.0097303} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"0c0e6770-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0c119bc0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0c0e6770-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1681,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:26Z"} device-1 | {"level":"info","message":"GET /devices/23f8f617-214f-4687-850b-412b573fe4b4? 200 27ms","method":"GET","requestID":"0c0e6770-8ba5-11ef-a62f-5f7f958aa687","responseTime":27,"status":200,"url":"/devices/23f8f617-214f-4687-850b-412b573fe4b4?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5504ca4d-7b89-406a-82a9-db84406e5235#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5504ca4d-7b89-406a-82a9-db84406e5235","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"0600f9e7-46b5-4dca-87e3-aa5a2feb9677","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072646.0186217} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0c0e4060-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"64f1ee6e-2cbb-4728-aea3-366552cd0951","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072646.0188985} device-1 | {"level":"info","message":"GET /devices/800ce5e5-ee96-4323-83e4-55c99c5b1567? 200 30ms","method":"GET","requestID":"0c0e4060-8ba5-11ef-a62f-5f7f958aa687","responseTime":30,"status":200,"url":"/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567?"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23f8f617-214f-4687-850b-412b573fe4b4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8481b4de-e6d3-440e-9d17-dc8f565eabac","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072646.0193706} authorization-1 | {"level":"info","message":"POST /relations/update 200 27ms","method":"POST","requestID":"6f6266fdcc4eaf20583f16fcd7841d06","responseTime":27,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1681,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.913488,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:26Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0c119bc0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4","object_type":"device","rebac_allow":false,"scope_allow":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":"0c119bc0-8ba5-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0c119bc0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/23f8f617-214f-4687-850b-412b573fe4b4/signaling 200 18ms","method":"POST","requestID":"0c119bc0-8ba5-11ef-a62f-5f7f958aa687","responseTime":18,"status":200,"url":"/devices/23f8f617-214f-4687-850b-412b573fe4b4/signaling"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/5504ca4d-7b89-406a-82a9-db84406e5235","user":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"6f6266fdcc4eaf20583f16fcd7841d06"} experiment-1 | {"level":"info","message":"POST /experiments? 201 259ms","method":"POST","requestID":"6f6266fdcc4eaf20583f16fcd7841d06","responseTime":259,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"16/Oct/2024:09:57:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1108","request_time":"0.265","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6f6266fdcc4eaf20583f16fcd7841d06"} forwarding-1 | {"level":"info","message":"Participant \"0ad3fd0c-e3ab-4aa8-b62f-8a2e68e93eaf\" in room \"http://localhost/rooms/667347e0-c108-4bf5-8aeb-c72ac65b7328\" did not answer hearbeat check, closing connection","requestID":"e904d480-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Participant \"9d8e3707-243f-4422-b3de-b63c566cd972\" in room \"http://localhost/rooms/667347e0-c108-4bf5-8aeb-c72ac65b7328\" did not answer hearbeat check, closing connection","requestID":"e90549b0-8ba4-11ef-a042-213954f0282b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"bec408504953da39ea28dae7d2b6a22e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"bec408504953da39ea28dae7d2b6a22e","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"OPTIONS /devices/800ce5e5-ee96-4323-83e4-55c99c5b1567/websocket 200 1ms","method":"OPTIONS","requestID":"bec408504953da39ea28dae7d2b6a22e","responseTime":1,"status":200,"url":"/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567/websocket"} gateway-1 | {"time_local":"16/Oct/2024:09:57:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/800ce5e5-ee96-4323-83e4-55c99c5b1567/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":"bec408504953da39ea28dae7d2b6a22e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IjVEaGNmU1RSQ3l6bUhNWXh5cW9DRi02ZGNvdFNZVDI3VDZRbWFmejBKd29QU0xFMmVLd2FOaVd6RUljRDREMzRVc3NmX3BUcVZFaXY0U0Q3STY2eXB3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0OH0.lAqg3Zn8QdGPBECYIxA3WlKZoog69GtV48YpGAJqCfc","level":"info","message":"auth send jwt","requestID":"16fbb35c1bacef7566c4c92583c318cc"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"16fbb35c1bacef7566c4c92583c318cc","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"16fbb35c1bacef7566c4c92583c318cc"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1682,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1682,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.215568,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:28Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"16fbb35c1bacef7566c4c92583c318cc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567","object_type":"device","payload":{"admin":true,"edgeToken":"5DhcfSTRCyzmHMYxyqoCF-6dcotSYT27T6Qmafz0JwoPSLE2eKwaNiWzEIcD4D34Ussf_pTqVEiv4SD7I66ypw","iat":1729072648,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IjVEaGNmU1RSQ3l6bUhNWXh5cW9DRi02ZGNvdFNZVDI3VDZRbWFmejBKd29QU0xFMmVLd2FOaVd6RUljRDREMzRVc3NmX3BUcVZFaXY0U0Q3STY2eXB3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0OH0.lAqg3Zn8QdGPBECYIxA3WlKZoog69GtV48YpGAJqCfc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"16fbb35c1bacef7566c4c92583c318cc","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"16fbb35c1bacef7566c4c92583c318cc"} gateway-1 | {"time_local":"16/Oct/2024:09:57:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/800ce5e5-ee96-4323-83e4-55c99c5b1567/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":"16fbb35c1bacef7566c4c92583c318cc"} device-1 | {"level":"info","message":"POST /devices/800ce5e5-ee96-4323-83e4-55c99c5b1567/websocket 200 21ms","method":"POST","requestID":"16fbb35c1bacef7566c4c92583c318cc","responseTime":21,"status":200,"url":"/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567/websocket"} device-1 | {"level":"info","message":"Sending changed-callback for device 'http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"device 'http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"cfed60a9f2ea04968156b71a92233081","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"cfed60a9f2ea04968156b71a92233081","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/800ce5e5-ee96-4323-83e4-55c99c5b1567"},"eventType":"device-changed"}},"level":"info","message":"received a callback","requestID":"cfed60a9f2ea04968156b71a92233081"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a7697498bb04dd1498cf0a065e54965a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"a7697498bb04dd1498cf0a065e54965a","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"16/Oct/2024:09:57:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/800ce5e5-ee96-4323-83e4-55c99c5b1567? 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":"a7697498bb04dd1498cf0a065e54965a"} device-1 | {"level":"info","message":"OPTIONS /devices/800ce5e5-ee96-4323-83e4-55c99c5b1567? 200 1ms","method":"OPTIONS","requestID":"a7697498bb04dd1498cf0a065e54965a","responseTime":1,"status":200,"url":"/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567?"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 22ms","method":"POST","requestID":"cfed60a9f2ea04968156b71a92233081","responseTime":22,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.026","http_referrer":"","http_user_agent":"node-fetch","requestID":"cfed60a9f2ea04968156b71a92233081"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IjVEaGNmU1RSQ3l6bUhNWXh5cW9DRi02ZGNvdFNZVDI3VDZRbWFmejBKd29QU0xFMmVLd2FOaVd6RUljRDREMzRVc3NmX3BUcVZFaXY0U0Q3STY2eXB3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0OH0.lAqg3Zn8QdGPBECYIxA3WlKZoog69GtV48YpGAJqCfc","level":"info","message":"auth send jwt","requestID":"7551c8ef101428de72f4779e94ae9a9d"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"7551c8ef101428de72f4779e94ae9a9d","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"7551c8ef101428de72f4779e94ae9a9d"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1683,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1683,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.277247,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:28Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"7551c8ef101428de72f4779e94ae9a9d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567","object_type":"device","payload":{"admin":true,"edgeToken":"5DhcfSTRCyzmHMYxyqoCF-6dcotSYT27T6Qmafz0JwoPSLE2eKwaNiWzEIcD4D34Ussf_pTqVEiv4SD7I66ypw","iat":1729072648,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IjVEaGNmU1RSQ3l6bUhNWXh5cW9DRi02ZGNvdFNZVDI3VDZRbWFmejBKd29QU0xFMmVLd2FOaVd6RUljRDREMzRVc3NmX3BUcVZFaXY0U0Q3STY2eXB3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0OH0.lAqg3Zn8QdGPBECYIxA3WlKZoog69GtV48YpGAJqCfc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7551c8ef101428de72f4779e94ae9a9d","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F800ce5e5-ee96-4323-83e4-55c99c5b1567","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F800ce5e5-ee96-4323-83e4-55c99c5b1567","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:25.896996058Z"}]},"request_id":"cc9a915d-6b26-4e8b-b5c2-585bf0058355","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072648.1420052} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"7551c8ef101428de72f4779e94ae9a9d","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:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d5f3b49a-8763-4f56-b186-690a267631e3","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072648.1513293} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"7551c8ef101428de72f4779e94ae9a9d","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F800ce5e5-ee96-4323-83e4-55c99c5b1567","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F800ce5e5-ee96-4323-83e4-55c99c5b1567","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:25.896996058Z"}]},"request_id":"7dc0b1c9-6d88-4c1c-8739-dee7251eb7b5","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072648.1632805} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"7551c8ef101428de72f4779e94ae9a9d","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"Sending changed-callback for device 'http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567' to 'http://localhost/callbacks/experiment'","requestID":"7551c8ef101428de72f4779e94ae9a9d"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"7551c8ef101428de72f4779e94ae9a9d"} gateway-1 | {"time_local":"16/Oct/2024:09:57:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/800ce5e5-ee96-4323-83e4-55c99c5b1567? 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":"7551c8ef101428de72f4779e94ae9a9d"} device-1 | {"level":"info","message":"PATCH /devices/800ce5e5-ee96-4323-83e4-55c99c5b1567? 200 40ms","method":"PATCH","requestID":"7551c8ef101428de72f4779e94ae9a9d","responseTime":40,"status":200,"url":"/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c378cb88485272e919cb18eed42e1fff","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"c378cb88485272e919cb18eed42e1fff","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/800ce5e5-ee96-4323-83e4-55c99c5b1567"},"eventType":"device-changed"}},"level":"info","message":"received a callback","requestID":"c378cb88485272e919cb18eed42e1fff"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 9ms","method":"POST","requestID":"c378cb88485272e919cb18eed42e1fff","responseTime":9,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.013","http_referrer":"","http_user_agent":"node-fetch","requestID":"c378cb88485272e919cb18eed42e1fff"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0OH0.yqqvIAAFbRPCuJY61kS5b2dUjjFvOUFR2A1og045nYw","level":"info","message":"auth send jwt","requestID":"ddc30b0395bac586b5eaa59209018ed1"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"ddc30b0395bac586b5eaa59209018ed1","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ddc30b0395bac586b5eaa59209018ed1"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1684,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1684,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.440533,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"ddc30b0395bac586b5eaa59209018ed1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072648,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0OH0.yqqvIAAFbRPCuJY61kS5b2dUjjFvOUFR2A1og045nYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ddc30b0395bac586b5eaa59209018ed1","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F800ce5e5-ee96-4323-83e4-55c99c5b1567","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F800ce5e5-ee96-4323-83e4-55c99c5b1567","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:25.896996058Z"}]},"request_id":"d263d9ee-3a27-4c9c-a190-28b23225453d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072648.1946833} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ddc30b0395bac586b5eaa59209018ed1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ddc30b0395bac586b5eaa59209018ed1"} gateway-1 | {"time_local":"16/Oct/2024:09:57:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/800ce5e5-ee96-4323-83e4-55c99c5b1567? 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":"ddc30b0395bac586b5eaa59209018ed1"} device-1 | {"level":"info","message":"GET /devices/800ce5e5-ee96-4323-83e4-55c99c5b1567? 200 17ms","method":"GET","requestID":"ddc30b0395bac586b5eaa59209018ed1","responseTime":17,"status":200,"url":"/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0OH0.yqqvIAAFbRPCuJY61kS5b2dUjjFvOUFR2A1og045nYw","level":"info","message":"auth send jwt","requestID":"8170549c7454a4cdbecf761ce84cfe3a"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"8170549c7454a4cdbecf761ce84cfe3a","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8170549c7454a4cdbecf761ce84cfe3a"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1685,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1685,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.361588,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"8170549c7454a4cdbecf761ce84cfe3a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072648,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0OH0.yqqvIAAFbRPCuJY61kS5b2dUjjFvOUFR2A1og045nYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"8170549c7454a4cdbecf761ce84cfe3a","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23f8f617-214f-4687-850b-412b573fe4b4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23f8f617-214f-4687-850b-412b573fe4b4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:23.589302714Z"}]},"request_id":"6e9ad2bb-e1a5-40a9-9dec-4553f1ff5abc","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072648.218449} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"8170549c7454a4cdbecf761ce84cfe3a","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8170549c7454a4cdbecf761ce84cfe3a"} gateway-1 | {"time_local":"16/Oct/2024:09:57:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/23f8f617-214f-4687-850b-412b573fe4b4? 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":"8170549c7454a4cdbecf761ce84cfe3a"} device-1 | {"level":"info","message":"GET /devices/23f8f617-214f-4687-850b-412b573fe4b4? 200 17ms","method":"GET","requestID":"8170549c7454a4cdbecf761ce84cfe3a","responseTime":17,"status":200,"url":"/devices/23f8f617-214f-4687-850b-412b573fe4b4?"} forwarding-1 | {"level":"info","message":"Participant \"d7331036-405e-42d8-b0ae-b2e129bb29c5\" in room \"http://localhost/rooms/b17f2d4e-473f-44c8-a462-c576d5a7e07e\" did not answer hearbeat check, closing connection","requestID":"e9b2c7c0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Participant \"974dd4d0-53ae-4927-98fd-5cdb0bed76b3\" in room \"http://localhost/rooms/b17f2d4e-473f-44c8-a462-c576d5a7e07e\" did not answer hearbeat check, closing connection","requestID":"e9b2eed0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Participant \"f43315a7-7671-4ebd-9a40-f8400d508672\" in room \"http://localhost/rooms/8ce38637-ed01-4d3c-9424-ff19059173a9\" did not answer hearbeat check, closing connection","requestID":"ea68aa40-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"Participant \"c1736887-4a84-45a9-9437-4272970a6ad3\" in room \"http://localhost/rooms/8ce38637-ed01-4d3c-9424-ff19059173a9\" did not answer hearbeat check, closing connection","requestID":"ea68d150-8ba4-11ef-a042-213954f0282b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0f0e8810-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0f0ed630-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1686,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1686,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.934377,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0f0e8810-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072645,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0NX0.wxozpTmdUhFM-Q3wr5781DkfflxxgqXSqwVXZ_TZ8sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"0f0e8810-8ba5-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57628","level":"info","msg":"Received request.","req_id":1687,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"client_addr":"127.0.0.1:57628","level":"info","msg":"Sent response.","req_id":1687,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.373707,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0f0ed630-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072645,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0NX0.wxozpTmdUhFM-Q3wr5781DkfflxxgqXSqwVXZ_TZ8sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"0f0ed630-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F800ce5e5-ee96-4323-83e4-55c99c5b1567","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F800ce5e5-ee96-4323-83e4-55c99c5b1567","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:25.896996058Z"}]},"request_id":"4b0bacb8-052e-49e1-9716-d2d4da9699d9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072651.0396545} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"0f0e8810-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0f0e8810-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23f8f617-214f-4687-850b-412b573fe4b4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23f8f617-214f-4687-850b-412b573fe4b4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:23.589302714Z"}]},"request_id":"01c1713f-a1da-4588-940b-c75a0f6d1c4a","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072651.045519} device-1 | {"level":"info","message":"GET /devices/800ce5e5-ee96-4323-83e4-55c99c5b1567? 200 20ms","method":"GET","requestID":"0f0e8810-8ba5-11ef-a62f-5f7f958aa687","responseTime":20,"status":200,"url":"/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567?"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"0f0ed630-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0f0ed630-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/23f8f617-214f-4687-850b-412b573fe4b4? 200 24ms","method":"GET","requestID":"0f0ed630-8ba5-11ef-a62f-5f7f958aa687","responseTime":24,"status":200,"url":"/devices/23f8f617-214f-4687-850b-412b573fe4b4?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0f12f4e0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1688,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F800ce5e5-ee96-4323-83e4-55c99c5b1567","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"56e685cc-41c5-4d7e-80f9-f60485829c79","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072651.0623543} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1688,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.642761,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0f12f4e0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567","object_type":"device","rebac_allow":false,"scope_allow":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":"0f12f4e0-8ba5-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0f12f4e0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/800ce5e5-ee96-4323-83e4-55c99c5b1567/signaling 200 15ms","method":"POST","requestID":"0f12f4e0-8ba5-11ef-a62f-5f7f958aa687","responseTime":15,"status":200,"url":"/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0f15b400-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1689,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23f8f617-214f-4687-850b-412b573fe4b4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1aec9d32-458d-48ff-9859-52da4208e823","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072651.0792801} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1689,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.978941,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0f15b400-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4","object_type":"device","rebac_allow":false,"scope_allow":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":"0f15b400-8ba5-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0f15b400-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/23f8f617-214f-4687-850b-412b573fe4b4/signaling 200 14ms","method":"POST","requestID":"0f15b400-8ba5-11ef-a62f-5f7f958aa687","responseTime":14,"status":200,"url":"/devices/23f8f617-214f-4687-850b-412b573fe4b4/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5504ca4d-7b89-406a-82a9-db84406e5235"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"6f6266fdcc4eaf20583f16fcd7841d06"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0f187320-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0f18c140-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1690,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1690,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.144592,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"client_addr":"127.0.0.1:57628","level":"info","msg":"Received request.","req_id":1691,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0f187320-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072645,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0NX0.wxozpTmdUhFM-Q3wr5781DkfflxxgqXSqwVXZ_TZ8sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0f187320-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57628","level":"info","msg":"Sent response.","req_id":1691,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.259547,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0f18c140-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072645,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0NX0.wxozpTmdUhFM-Q3wr5781DkfflxxgqXSqwVXZ_TZ8sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0f18c140-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F800ce5e5-ee96-4323-83e4-55c99c5b1567","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F800ce5e5-ee96-4323-83e4-55c99c5b1567","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:25.896996058Z"}]},"request_id":"7a79aec5-904a-49e4-83df-00db1c38bc98","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072651.1031115} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"0f187320-8ba5-11ef-a62f-5f7f958aa687","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:55646","raw_request":{"continuation_token":"","page_size":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23f8f617-214f-4687-850b-412b573fe4b4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23f8f617-214f-4687-850b-412b573fe4b4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"},"timestamp":"2024-10-16T09:57:23.589302714Z"}]},"request_id":"d52fbb3f-a258-4cea-9a8b-e2495793c028","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072651.1064515} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"0f18c140-8ba5-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0f187320-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/800ce5e5-ee96-4323-83e4-55c99c5b1567? 200 23ms","method":"GET","requestID":"0f187320-8ba5-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0f18c140-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /devices/23f8f617-214f-4687-850b-412b573fe4b4? 200 23ms","method":"GET","requestID":"0f18c140-8ba5-11ef-a62f-5f7f958aa687","responseTime":23,"status":200,"url":"/devices/23f8f617-214f-4687-850b-412b573fe4b4?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5504ca4d-7b89-406a-82a9-db84406e5235"},"level":"info","message":"Building connection plan","requestID":"6f6266fdcc4eaf20583f16fcd7841d06"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"444a27f9-5083-4dc7-baeb-ace4c2694e3d"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"debc24e3-9798-47b5-be72-aa4d9b2b5602"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"1acb70a4-0a2e-4bdd-8d28-3afd7df520ab"}]},"level":"info","message":"Built pairwise service configurations","requestID":"6f6266fdcc4eaf20583f16fcd7841d06"} 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/800ce5e5-ee96-4323-83e4-55c99c5b1567"},{"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/23f8f617-214f-4687-850b-412b573fe4b4"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"6f6266fdcc4eaf20583f16fcd7841d06"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"0f1cb8e0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1692,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1692,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.428008,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0f1cb8e0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072645,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY0NX0.wxozpTmdUhFM-Q3wr5781DkfflxxgqXSqwVXZ_TZ8sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0f1cb8e0-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7'. 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]}},"raw_response":{},"request_id":"14aaaa30-24c8-423b-9f8c-b705d5172962","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072651.138131} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6af0e453-5eed-43cb-a032-9dde9bb6e276","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072651.1385438} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"0f1cb8e0-8ba5-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"0f1cb8e0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"0f1cb8e0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/460ea8aa-dfeb-4e1d-a115-a6f32388b117'","requestID":"0f1cb8e0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/460ea8aa-dfeb-4e1d-a115-a6f32388b117'","requestID":"0f1cb8e0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"0f1cb8e0-8ba5-11ef-a62f-5f7f958aa687"} 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":"0f1cb8e0-8ba5-11ef-a62f-5f7f958aa687","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":"0f1cb8e0-8ba5-11ef-a62f-5f7f958aa687"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5504ca4d-7b89-406a-82a9-db84406e5235"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"6f6266fdcc4eaf20583f16fcd7841d06"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0f280380-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1693,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F800ce5e5-ee96-4323-83e4-55c99c5b1567","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"84e9d66c-92ae-4430-83db-5bff6435cdb1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072651.1973078} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1693,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.501811,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0f280380-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567","object_type":"device","rebac_allow":false,"scope_allow":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":"0f280380-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"device":"23f8f617-214f-4687-850b-412b573fe4b4","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"23f8f617-214f-4687-850b-412b573fe4b4","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"device":"800ce5e5-ee96-4323-83e4-55c99c5b1567","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"800ce5e5-ee96-4323-83e4-55c99c5b1567","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0f280380-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/800ce5e5-ee96-4323-83e4-55c99c5b1567/signaling 200 12ms","method":"POST","requestID":"0f280380-8ba5-11ef-a62f-5f7f958aa687","responseTime":12,"status":200,"url":"/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0f2a2660-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1694,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23f8f617-214f-4687-850b-412b573fe4b4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d704b7d5-1f4d-44cc-9851-31f754de5ea4","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072651.2103748} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1694,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.414495,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0f2a2660-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4","object_type":"device","rebac_allow":false,"scope_allow":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":"0f2a2660-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"content":{"sdp":"v=0\r\no=- 6830984062196004445 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:MY1E\r\na=ice-pwd:SGEs4aps52Ws92FlWF4Axynx\r\na=ice-options:trickle\r\na=fingerprint:sha-256 AC:06:BD:FE:19:7E:42:02:CF:AD:A2:B7:2C:32:11:E1:14:41:31:B0:8B:9F:DB:6F:96:9E:36:22:9F:BC:4A:32\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"23f8f617-214f-4687-850b-412b573fe4b4","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0f2a2660-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/23f8f617-214f-4687-850b-412b573fe4b4/signaling 200 10ms","method":"POST","requestID":"0f2a2660-8ba5-11ef-a62f-5f7f958aa687","responseTime":10,"status":200,"url":"/devices/23f8f617-214f-4687-850b-412b573fe4b4/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 1777791322276849884 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:KJ95\r\na=ice-pwd:hfujMj4VpjmQfg6wKyWzHIiY\r\na=ice-options:trickle\r\na=fingerprint:sha-256 96:68:BE:5D:CC:77:DE:20:F2:39:7F:F8:74:3E:ED:29:BE:4F:72:33:62:F2:57:93:28:F3:90:4F:E3:A0:1A:D0\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"800ce5e5-ee96-4323-83e4-55c99c5b1567","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:4276675485 1 udp 2113937151 d02b28bb-d797-4488-a704-1109f57ea75f.local 59202 typ host generation 0 ufrag KJ95 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"800ce5e5-ee96-4323-83e4-55c99c5b1567","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1841513102 1 udp 1677729535 141.24.211.56 59202 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag KJ95 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"800ce5e5-ee96-4323-83e4-55c99c5b1567","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/800ce5e5-ee96-4323-83e4-55c99c5b1567'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567'"} device-1 | {"content":{"candidate":"candidate:1776230926 1 udp 2113937151 f079afeb-b14d-485b-8e3e-e50e6d4534aa.local 58717 typ host generation 0 ufrag MY1E network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"23f8f617-214f-4687-850b-412b573fe4b4","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3992078449 1 udp 1677729535 141.24.211.56 58717 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag MY1E network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"23f8f617-214f-4687-850b-412b573fe4b4","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/23f8f617-214f-4687-850b-412b573fe4b4'"} device-1 | {"device":"23f8f617-214f-4687-850b-412b573fe4b4","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/460ea8aa-dfeb-4e1d-a115-a6f32388b117' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"460ea8aa-dfeb-4e1d-a115-a6f32388b117","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"800ce5e5-ee96-4323-83e4-55c99c5b1567","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"800ce5e5-ee96-4323-83e4-55c99c5b1567","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"99c55b6404c8b07adbf701ce3e20089e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"99c55b6404c8b07adbf701ce3e20089e","responseTime":0,"status":200,"url":"/auth"} device-1 | {"device":"23f8f617-214f-4687-850b-412b573fe4b4","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/800ce5e5-ee96-4323-83e4-55c99c5b1567"},{"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/23f8f617-214f-4687-850b-412b573fe4b4"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/460ea8aa-dfeb-4e1d-a115-a6f32388b117"}}},"level":"info","message":"received a callback","requestID":"99c55b6404c8b07adbf701ce3e20089e"} device-1 | {"device":"23f8f617-214f-4687-850b-412b573fe4b4","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"800ce5e5-ee96-4323-83e4-55c99c5b1567","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":"99c55b6404c8b07adbf701ce3e20089e","responseTime":5,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.007","http_referrer":"","http_user_agent":"node-fetch","requestID":"99c55b6404c8b07adbf701ce3e20089e"} device-1 | {"device":"800ce5e5-ee96-4323-83e4-55c99c5b1567","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"460ea8aa-dfeb-4e1d-a115-a6f32388b117","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"460ea8aa-dfeb-4e1d-a115-a6f32388b117","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/460ea8aa-dfeb-4e1d-a115-a6f32388b117' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"460ea8aa-dfeb-4e1d-a115-a6f32388b117","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e59aff8c430cb9c69dd6441f95832e23","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"e59aff8c430cb9c69dd6441f95832e23","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/800ce5e5-ee96-4323-83e4-55c99c5b1567"},{"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/23f8f617-214f-4687-850b-412b573fe4b4"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/460ea8aa-dfeb-4e1d-a115-a6f32388b117"}}},"level":"info","message":"received a callback","requestID":"e59aff8c430cb9c69dd6441f95832e23"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"0f34d4c0-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1695,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F460ea8aa-dfeb-4e1d-a115-a6f32388b117","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5a2f05c3-4750-45b2-845a-0bb64a33dca2","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072651.2805834} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1695,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.240963,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/460ea8aa-dfeb-4e1d-a115-a6f32388b117","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0f34d4c0-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/460ea8aa-dfeb-4e1d-a115-a6f32388b117","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":"0f34d4c0-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"0f34d4c0-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"GET /peerconnections/460ea8aa-dfeb-4e1d-a115-a6f32388b117 200 8ms","method":"GET","requestID":"0f34d4c0-8ba5-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/peerconnections/460ea8aa-dfeb-4e1d-a115-a6f32388b117"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 31ms","method":"POST","requestID":"e59aff8c430cb9c69dd6441f95832e23","responseTime":31,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.034","http_referrer":"","http_user_agent":"node-fetch","requestID":"e59aff8c430cb9c69dd6441f95832e23"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0f391a80-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1696,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F800ce5e5-ee96-4323-83e4-55c99c5b1567","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"64508cc3-4d85-41c5-8abc-8ee303d701c1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072651.3088512} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1696,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.995379,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0f391a80-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567","object_type":"device","rebac_allow":false,"scope_allow":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":"0f391a80-8ba5-11ef-a62f-5f7f958aa687","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0f391a80-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/800ce5e5-ee96-4323-83e4-55c99c5b1567/signaling 200 9ms","method":"POST","requestID":"0f391a80-8ba5-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0f3aa120-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1697,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23f8f617-214f-4687-850b-412b573fe4b4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0b9ca94d-0d04-4d7c-ab6c-5f2a8ce4e410","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072651.3194392} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1697,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.6816,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0f3aa120-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4","object_type":"device","rebac_allow":false,"scope_allow":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":"0f3aa120-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0f3aa120-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/23f8f617-214f-4687-850b-412b573fe4b4/signaling 200 8ms","method":"POST","requestID":"0f3aa120-8ba5-11ef-a62f-5f7f958aa687","responseTime":8,"status":200,"url":"/devices/23f8f617-214f-4687-850b-412b573fe4b4/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY1MX0.R31D_5bvb1GJinzt13aK4AATREi9mITWKjbzJ9f7bPk","level":"info","message":"auth send jwt","requestID":"80e30fe044e6b1c59f111e470874417e"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"80e30fe044e6b1c59f111e470874417e","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/5504ca4d-7b89-406a-82a9-db84406e5235","requestID":"80e30fe044e6b1c59f111e470874417e"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1698,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1698,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.684398,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/5504ca4d-7b89-406a-82a9-db84406e5235","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"80e30fe044e6b1c59f111e470874417e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/5504ca4d-7b89-406a-82a9-db84406e5235","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072651,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY1MX0.R31D_5bvb1GJinzt13aK4AATREi9mITWKjbzJ9f7bPk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"80e30fe044e6b1c59f111e470874417e","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/5504ca4d-7b89-406a-82a9-db84406e5235","requestID":"80e30fe044e6b1c59f111e470874417e"} experiment-1 | {"level":"info","message":"GET /experiments/5504ca4d-7b89-406a-82a9-db84406e5235 200 12ms","method":"GET","requestID":"80e30fe044e6b1c59f111e470874417e","responseTime":12,"status":200,"url":"/experiments/5504ca4d-7b89-406a-82a9-db84406e5235"} gateway-1 | {"time_local":"16/Oct/2024:09:57:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/5504ca4d-7b89-406a-82a9-db84406e5235 HTTP/1.1","status": "200","body_bytes_sent":"1181","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"80e30fe044e6b1c59f111e470874417e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY1MX0.R31D_5bvb1GJinzt13aK4AATREi9mITWKjbzJ9f7bPk","level":"info","message":"auth send jwt","requestID":"f0b19996b4a92b07e01889dae4b7cfb7"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"f0b19996b4a92b07e01889dae4b7cfb7","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/5504ca4d-7b89-406a-82a9-db84406e5235","requestID":"f0b19996b4a92b07e01889dae4b7cfb7"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1699,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1699,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.668592,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/5504ca4d-7b89-406a-82a9-db84406e5235","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"f0b19996b4a92b07e01889dae4b7cfb7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"experiment:http://localhost/experiments/5504ca4d-7b89-406a-82a9-db84406e5235","object_type":"experiment","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072651,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY1MX0.R31D_5bvb1GJinzt13aK4AATREi9mITWKjbzJ9f7bPk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f0b19996b4a92b07e01889dae4b7cfb7","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5504ca4d-7b89-406a-82a9-db84406e5235"},"level":"info","message":"Attempting to finish experiment","requestID":"f0b19996b4a92b07e01889dae4b7cfb7"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"0f448c30-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1700,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1700,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.926259,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/460ea8aa-dfeb-4e1d-a115-a6f32388b117","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0f448c30-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"peerconnection:http://localhost/peerconnections/460ea8aa-dfeb-4e1d-a115-a6f32388b117","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072651,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY1MX0.R31D_5bvb1GJinzt13aK4AATREi9mITWKjbzJ9f7bPk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0f448c30-8ba5-11ef-a62f-5f7f958aa687","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/460ea8aa-dfeb-4e1d-a115-a6f32388b117","device":"23f8f617-214f-4687-850b-412b573fe4b4","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/460ea8aa-dfeb-4e1d-a115-a6f32388b117","device":"800ce5e5-ee96-4323-83e4-55c99c5b1567","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/460ea8aa-dfeb-4e1d-a115-a6f32388b117' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/460ea8aa-dfeb-4e1d-a115-a6f32388b117' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"460ea8aa-dfeb-4e1d-a115-a6f32388b117","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F460ea8aa-dfeb-4e1d-a115-a6f32388b117': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F460ea8aa-dfeb-4e1d-a115-a6f32388b117","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"960de8bb-c582-4086-bb81-c948aab5645c","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072651.3950813} 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/800ce5e5-ee96-4323-83e4-55c99c5b1567"},{"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/23f8f617-214f-4687-850b-412b573fe4b4"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/460ea8aa-dfeb-4e1d-a115-a6f32388b117"}}},"level":"info","message":"received a callback","requestID":"cbb6df003bfbbc6126946aa2e5db3114"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"64fc4bbb-13c1-4586-93a9-ae5ce4e7fcd9","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072651.3956828} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"cbb6df003bfbbc6126946aa2e5db3114","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"cbb6df003bfbbc6126946aa2e5db3114","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c4d4c75e62339b7a319139f7d24b4009","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"c4d4c75e62339b7a319139f7d24b4009","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"0f448c30-8ba5-11ef-a62f-5f7f958aa687","responseTime":9,"status":200,"url":"/relations/update"} 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/800ce5e5-ee96-4323-83e4-55c99c5b1567"},{"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/23f8f617-214f-4687-850b-412b573fe4b4"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/460ea8aa-dfeb-4e1d-a115-a6f32388b117"}}},"level":"info","message":"received a callback","requestID":"c4d4c75e62339b7a319139f7d24b4009"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"0f448c30-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /peerconnections/460ea8aa-dfeb-4e1d-a115-a6f32388b117 204 34ms","method":"DELETE","requestID":"0f448c30-8ba5-11ef-a62f-5f7f958aa687","responseTime":34,"status":204,"url":"/peerconnections/460ea8aa-dfeb-4e1d-a115-a6f32388b117"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4'"} device-1 | {"level":"info","message":"deleteDevicesByDeviceId called","requestID":"0f4a0a70-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1701,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1701,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.685804,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"device:http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0f4a0a70-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7","object":"device:http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567","object_type":"device","payload":{"admin":true,"edgeToken":"IC7ccMVaZR5u-DjOcV0t1x9KyRA1taShWvx9tzbtjRE3fegmepoWv9SZ68VHbTJE4L2ksjQifBE_Ht8F9vQP-w","iat":1729072651,"sub":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7","subject_alt":"http://localhost/users/e06740c2-b643-40da-be82-ec17ce2cd3e7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2UwNjc0MGMyLWI2NDMtNDBkYS1iZTgyLWVjMTdjZTJjZDNlNyIsImVkZ2VUb2tlbiI6IklDN2NjTVZhWlI1dS1Eak9jVjB0MXg5S3lSQTF0YVNoV3Z4OXR6YnRqUkUzZmVnbWVwb1d2OVNaNjhWSGJUSkU0TDJrc2pRaWZCRV9IdDhGOXZRUC13IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyOTA3MjY1MX0.R31D_5bvb1GJinzt13aK4AATREi9mITWKjbzJ9f7bPk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0f4a0a70-8ba5-11ef-a62f-5f7f958aa687","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'device:http%3A%2F%2Flocalhost%2Fdevices%2F800ce5e5-ee96-4323-83e4-55c99c5b1567': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F800ce5e5-ee96-4323-83e4-55c99c5b1567","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"7ed736b6-2451-4e6b-9ef3-582ef509611f","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072651.4258425} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6530bce7-b46d-4660-8c57-3afadae9907b","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072651.4260206} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"0f4a0a70-8ba5-11ef-a62f-5f7f958aa687","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"deleteDevicesByDeviceId succeeded","requestID":"0f4a0a70-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"DELETE /devices/800ce5e5-ee96-4323-83e4-55c99c5b1567 204 22ms","method":"DELETE","requestID":"0f4a0a70-8ba5-11ef-a62f-5f7f958aa687","responseTime":22,"status":204,"url":"/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5504ca4d-7b89-406a-82a9-db84406e5235"},"level":"info","message":"Successfully finished experiment","requestID":"f0b19996b4a92b07e01889dae4b7cfb7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0f50c130-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1702,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F800ce5e5-ee96-4323-83e4-55c99c5b1567","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"63c25b5d-71b1-49a9-9aef-c4c9107f05d1","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072651.4668634} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1702,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.30052,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0f50c130-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567","object_type":"device","rebac_allow":false,"scope_allow":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":"0f50c130-8ba5-11ef-a62f-5f7f958aa687","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/800ce5e5-ee96-4323-83e4-55c99c5b1567/signaling"},"level":"error","message":"An error occurred during the handling of a request","requestID":"0f50c130-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/800ce5e5-ee96-4323-83e4-55c99c5b1567/signaling 404 13ms","method":"POST","requestID":"0f50c130-8ba5-11ef-a62f-5f7f958aa687","responseTime":13,"status":404,"url":"/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567/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":"f0b19996b4a92b07e01889dae4b7cfb7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0f530b20-8ba5-11ef-a62f-5f7f958aa687"} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Received request.","req_id":1703,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","contextual_tuples":null,"store_id":"01JAABZY3VBAPRVYTR755XC266","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23f8f617-214f-4687-850b-412b573fe4b4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f7c52404-eb21-42af-9094-28bb480cdf0e","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072651.4803722} authorization-1 | {"authorization_model_id":"01JAABZY566G349X2C87N79RK4","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%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5504ca4d-7b89-406a-82a9-db84406e5235': 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:55646","raw_request":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5504ca4d-7b89-406a-82a9-db84406e5235","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe06740c2-b643-40da-be82-ec17ce2cd3e7"}]},"store_id":"01JAABZY3VBAPRVYTR755XC266","writes":null},"raw_response":{},"request_id":"47028dcf-4277-4531-8aff-5594d3a6833d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072651.480729} authorization-1 | {"client_addr":"127.0.0.1:37336","level":"info","msg":"Sent response.","req_id":1703,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.155143,"resp_status":200,"subsystem":"opa","time":"2024-10-16T09:57:31Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:55646","raw_request":{"id":"01JAABZY566G349X2C87N79RK4","store_id":"01JAABZY3VBAPRVYTR755XC266"},"raw_response":{"authorization_model":{"id":"01JAABZY566G349X2C87N79RK4","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"80465f79-cb77-494b-8498-b5c334f1849d","store_id":"01JAABZY3VBAPRVYTR755XC266","subsystem":"openfga","timestamp":1729072651.481136} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4","openfga":{"authorization_model_id":"01JAABZY566G349X2C87N79RK4","store":"01JAABZY3VBAPRVYTR755XC266"},"requestID":"0f530b20-8ba5-11ef-a62f-5f7f958aa687","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4","object_type":"device","rebac_allow":false,"scope_allow":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":"0f530b20-8ba5-11ef-a62f-5f7f958aa687","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/update 200 26ms","method":"POST","requestID":"f0b19996b4a92b07e01889dae4b7cfb7","responseTime":26,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0f530b20-8ba5-11ef-a62f-5f7f958aa687"} device-1 | {"level":"info","message":"POST /devices/23f8f617-214f-4687-850b-412b573fe4b4/signaling 200 11ms","method":"POST","requestID":"0f530b20-8ba5-11ef-a62f-5f7f958aa687","responseTime":11,"status":200,"url":"/devices/23f8f617-214f-4687-850b-412b573fe4b4/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/5504ca4d-7b89-406a-82a9-db84406e5235","requestID":"f0b19996b4a92b07e01889dae4b7cfb7"} gateway-1 | {"time_local":"16/Oct/2024:09:57:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/5504ca4d-7b89-406a-82a9-db84406e5235 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":"f0b19996b4a92b07e01889dae4b7cfb7"} experiment-1 | {"level":"info","message":"DELETE /experiments/5504ca4d-7b89-406a-82a9-db84406e5235 204 176ms","method":"DELETE","requestID":"f0b19996b4a92b07e01889dae4b7cfb7","responseTime":176,"status":204,"url":"/experiments/5504ca4d-7b89-406a-82a9-db84406e5235"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 148ms","method":"POST","requestID":"cbb6df003bfbbc6126946aa2e5db3114","responseTime":148,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.151","http_referrer":"","http_user_agent":"node-fetch","requestID":"cbb6df003bfbbc6126946aa2e5db3114"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 147ms","method":"POST","requestID":"c4d4c75e62339b7a319139f7d24b4009","responseTime":147,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57: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.150","http_referrer":"","http_user_agent":"node-fetch","requestID":"c4d4c75e62339b7a319139f7d24b4009"} gateway-1 | {"time_local":"16/Oct/2024:09:57:31 +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.473","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"92d6e0c9154f5d577b084e1e4bce122b"} gateway-1 | {"time_local":"16/Oct/2024:09:57:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3079","request_time":"5.902","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"14ed8935031a3d910490046607e2a075"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/23f8f617-214f-4687-850b-412b573fe4b4' closed"} device-1 | {"level":"info","message":"Sending changed-callback for device 'http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/800ce5e5-ee96-4323-83e4-55c99c5b1567' closed"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"3afb7f18db4525996253a8c6da0fafc3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"3afb7f18db4525996253a8c6da0fafc3","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/800ce5e5-ee96-4323-83e4-55c99c5b1567"},"eventType":"device-changed"}},"level":"info","message":"received a callback","requestID":"3afb7f18db4525996253a8c6da0fafc3"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 410 2ms","method":"POST","requestID":"3afb7f18db4525996253a8c6da0fafc3","responseTime":2,"status":410,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"16/Oct/2024:09:57:31 +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.005","http_referrer":"","http_user_agent":"node-fetch","requestID":"3afb7f18db4525996253a8c6da0fafc3"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"fdcd5e4b-9437-4dda-8542-63ed339f8b8a\" in room \"http://localhost/rooms/6b58e7e9-b3a8-4211-92cf-63704239df3e\"","requestID":"ff141ba0-8ba4-11ef-a042-213954f0282b"} forwarding-1 | {"level":"info","message":"sending hearbeat to participant \"96677710-c35e-4e9d-8f50-7f40d045538c\" in room \"http://localhost/rooms/6b58e7e9-b3a8-4211-92cf-63704239df3e\"","requestID":"ff1442b0-8ba4-11ef-a042-213954f0282b"} device-1 exited with code 0 federation-1 exited with code 0 authorization-1 exited with code 0 experiment-1 exited with code 0 authentication-1 exited with code 0 forwarding-1 exited with code 0 gateway-1 exited with code 0